diff options
author | Christoph Hellwig <hch@lst.de> | 2018-03-01 23:12:45 +0100 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-03-01 23:12:45 +0100 |
commit | ff3d8b9c4cb95180ae6ef9eed28409840525b9fa (patch) | |
tree | 14585938c73fbce45ff05877544aaab6e2c17503 /fs/efivarfs | |
parent | xfs: don't start out with the exclusive ilock for direct I/O (diff) | |
download | linux-ff3d8b9c4cb95180ae6ef9eed28409840525b9fa.tar.xz linux-ff3d8b9c4cb95180ae6ef9eed28409840525b9fa.zip |
xfs: don't block on the ilock for RWF_NOWAIT
Fix xfs_file_iomap_begin to trylock the ilock if IOMAP_NOWAIT is passed,
so that we don't block io_submit callers.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/efivarfs')
0 files changed, 0 insertions, 0 deletions