diff options
author | Jan Kara <jack@suse.cz> | 2013-06-04 22:27:38 +0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-06-04 22:27:38 +0400 |
commit | e83403959fddb6d90e8c5e54bbce3110d0c82165 (patch) | |
tree | e993e008bab6fee97a1c8389f6bfc7bb438f2b49 /fs/ext4/fsync.c | |
parent | b0857d309faefaf5443752458e8af1a4b22b3e92 (diff) | |
download | linux-e83403959fddb6d90e8c5e54bbce3110d0c82165.tar.xz |
ext4: protect extent conversion after DIO with i_dio_count
Make sure extent conversion after DIO happens while i_dio_count is
still elevated so that inode_dio_wait() waits until extent conversion
is done. This removes the need for explicit waiting for extent
conversion in some cases.
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 'fs/ext4/fsync.c')
0 files changed, 0 insertions, 0 deletions