diff options
author | Jan Kara <jack@suse.cz> | 2013-06-04 17:21:11 (GMT) |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-06-04 17:21:11 (GMT) |
commit | 6b523df4fb5ae281ddbc817f40504b33e6226554 (patch) | |
tree | f129ccf336689296ff21e34ed86712b25d437a65 /virt | |
parent | 3613d22807a2616e9346800bacd88aa8bbbefcd7 (diff) | |
download | linux-fsl-qoriq-6b523df4fb5ae281ddbc817f40504b33e6226554.tar.xz |
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 'virt')
0 files changed, 0 insertions, 0 deletions