commit | e83403959fddb6d90e8c5e54bbce3110d0c82165 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Tue Jun 04 14:27:38 2013 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Tue Jun 04 14:27:38 2013 -0400 |
tree | e993e008bab6fee97a1c8389f6bfc7bb438f2b49 | |
parent | b0857d309faefaf5443752458e8af1a4b22b3e92 [diff] |
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>