]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: move inode eio simulation behind io completeion
authorZhang Yi <yi.zhang@huawei.com>
Thu, 26 Aug 2021 13:04:07 +0000 (21:04 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 31 Aug 2021 03:36:51 +0000 (23:36 -0400)
commit35ca14b94ce67b5ae178b28df3f4e2127dab5b51
tree7032de2ca6267fba0c928fc86f5331ece25dbeaf
parentc75d40e13859777097547be251be64eeb2884349
ext4: move inode eio simulation behind io completeion

No EIO simulation is required if the buffer is uptodate, so move the
simulation behind read bio completeion just like inode/block bitmap
simulation does.

Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20210826130412.3921207-2-yi.zhang@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inode.c