]> 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)
commit0904c9ae3465c7acc066a564a76b75c0af83e6c7
tree7032de2ca6267fba0c928fc86f5331ece25dbeaf
parent4a79a98c7b19dd3d4cfe9200fbc384ba9119e039
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