]> 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)
commit83396176a3ae87666a2c5cc61ea3ce12f0834f45
tree7032de2ca6267fba0c928fc86f5331ece25dbeaf
parent23d02ed974294fb544598aa2b99f26ab75d4bf6c
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