diff options
author | Dmitry Monakhov <dmonakhov@openvz.org> | 2012-09-29 06:41:21 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-09-29 06:41:21 +0200 |
commit | 17335dcc471199717839b2fa3492ca36f70f1168 (patch) | |
tree | 5f39f51868f60f8be94ca7e811d34bba443ef288 /kernel/srcu.c | |
parent | ext4: completed_io locking cleanup (diff) | |
download | linux-17335dcc471199717839b2fa3492ca36f70f1168.tar.xz linux-17335dcc471199717839b2fa3492ca36f70f1168.zip |
ext4: serialize dio nonlocked reads with defrag workers
Inode's block defrag and ext4_change_inode_journal_flag() may
affect nonlocked DIO reads result, so proper synchronization
required.
- Add missed inode_dio_wait() calls where appropriate
- Check inode state under extra i_dio_count reference.
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'kernel/srcu.c')
0 files changed, 0 insertions, 0 deletions