diff options
author | Matthew Bobrowski <mbobrowski@mbobrowski.org> | 2019-11-05 22:59:22 +1100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2019-11-05 11:31:39 -0500 |
commit | 548feebec7e93e58b647dba70b3303dcb569c914 (patch) | |
tree | 4f345cdb41a3835dd3c8047ee480a4c942912ddf /fs/fcntl.c | |
parent | 53e5cca56795a301bbe8465781dab084f7ae8d54 (diff) | |
download | linux-stable-548feebec7e93e58b647dba70b3303dcb569c914.tar.gz linux-stable-548feebec7e93e58b647dba70b3303dcb569c914.tar.bz2 linux-stable-548feebec7e93e58b647dba70b3303dcb569c914.zip |
ext4: update direct I/O read lock pattern for IOCB_NOWAIT
This patch updates the lock pattern in ext4_direct_IO_read() to not
block on inode lock in cases of IOCB_NOWAIT direct I/O reads. The
locking condition implemented here is similar to that of 942491c9e6d6
("xfs: fix AIM7 regression").
Fixes: 16c54688592c ("ext4: Allow parallel DIO reads")
Signed-off-by: Matthew Bobrowski <mbobrowski@mbobrowski.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Ritesh Harjani <riteshh@linux.ibm.com>
Link: https://lore.kernel.org/r/c5d5e759f91747359fbd2c6f9a36240cf75ad79f.1572949325.git.mbobrowski@mbobrowski.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions