diff options
author | Jan Kara <jack@suse.cz> | 2013-06-04 19:21:11 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-06-04 19:21:11 +0200 |
commit | 6b523df4fb5ae281ddbc817f40504b33e6226554 (patch) | |
tree | f129ccf336689296ff21e34ed86712b25d437a65 /fs/ext4/super.c | |
parent | ext4: remove buffer_uninit handling (diff) | |
download | linux-6b523df4fb5ae281ddbc817f40504b33e6226554.tar.xz linux-6b523df4fb5ae281ddbc817f40504b33e6226554.zip |
ext4: use transaction reservation for extent conversion in ext4_end_io
Later we would like to clear PageWriteback bit only after extent
conversion from unwritten to written extents is performed. However it
is not possible to start a transaction after PageWriteback is set
because that violates lock ordering (and is easy to deadlock). So we
have to reserve a transaction before locking pages and sending them
for IO and later we use the transaction for extent conversion from
ext4_end_io().
Reviewed-by: Zheng Liu <wenqing.lz@taobao.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions