Messages in this thread | | | Subject | Re: [PATCH for-next 4/5] erofs: clean up decompress queue stuffs | From | Chao Yu <> | Date | Thu, 10 Oct 2019 15:41:19 +0800 |
| |
On 2019/10/8 20:56, Gao Xiang wrote: > Previously, both z_erofs_unzip_io and z_erofs_unzip_io_sb > record decompress queues for backend to use. > > The only difference is that z_erofs_unzip_io is used for > on-stack sync decompression so that it doesn't have a super > block field (since the caller can pass it in its context), > but it increases complexity with only a pointer saving. > > Rename z_erofs_unzip_io to z_erofs_decompressqueue with > a fixed super_block member and kill the other entirely, > and it can fallback to sync decompression if memory > allocation failure. > > Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Thanks,
| |