]> git.baikalelectronics.ru Git - kernel.git/commit
erofs: fix mis-inplace determination related with noio chain
authorGao Xiang <gaoxiang25@huawei.com>
Sun, 22 Sep 2019 10:04:34 +0000 (18:04 +0800)
committerGao Xiang <gaoxiang25@huawei.com>
Mon, 30 Sep 2019 20:54:45 +0000 (04:54 +0800)
commit197da82efab99223f5a0d2d677347a682faa5eb6
treee1a69c8abad8599f4056ece3d13140bc657f52df
parenta3165bbbc7f8ab6d7ba8ffac48f5a8f082758c89
erofs: fix mis-inplace determination related with noio chain

Fix a recent cleanup patch. noio (bypass) chain is
handled asynchronously against submit chain, therefore
inplace I/O or pagevec cannot be applied to such pages.
Add detailed comment for this as well.

Fixes: 1b3840c3fa3a ("staging: erofs: tidy up decompression frontend")
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Link: https://lore.kernel.org/r/20190922100434.229340-1-gaoxiang25@huawei.com
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
fs/erofs/zdata.c