]> 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)
commitd52b0af1a7f53d4cd71c532a90053e5610f4cbd3
treee1a69c8abad8599f4056ece3d13140bc657f52df
parent4cb67c714442781b06d90910a727e2f32408843d
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: 328a1c8e2175 ("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