diff options
author | Dmitry Monakhov <dmonakhov@openvz.org> | 2013-08-28 14:30:47 -0400 |
---|---|---|
committer | Alex Shi <alex.shi@linaro.org> | 2015-05-21 10:10:28 +0800 |
commit | 16b1fe2ce62d6238acb13fbe59b4fc13b51b1445 (patch) | |
tree | 0ff14e0da0aae3303c45565405a8362d7fbc8b31 /arch/arm/boot/dts/imx53-ard.dts | |
parent | b775702bdb7b95bd03bc0b4cdbcd11650ea3a3f6 (diff) |
ext4: convert write_begin methods to stable_page_writes semanticsv3.10/topic/misc
Use wait_for_stable_page() instead of wait_on_page_writeback()
Huawei engineer Jianfeng report that without this patch, the consequence
write may cause seconds to finish.
The patch helps because most of storage today doesn't require that the
page isn't changed while IO is in flight. That is required only for
data checksumming or copy-on-write semantics but ext4 does neither of
those. So we don't have to wait for IO completion in ext4_write_begin()
unless underlying storage requires it.
--Honza
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
(cherry picked from commit 7afe5aa59ed3da7b6161617e7f157c7c680dc41e)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx53-ard.dts')
0 files changed, 0 insertions, 0 deletions