diff options
author | Josef Bacik <[email protected]> | 2022-09-12 12:27:45 -0700 |
---|---|---|
committer | David Sterba <[email protected]> | 2022-09-29 17:08:28 +0200 |
commit | d2c7a19f5c82ace6ea0ec00ae53c6dd97ee8e274 (patch) | |
tree | e4a7dc29b9411fd268f32badd285a8f1360a23fc /fs/btrfs/inode.c | |
parent | 1daedb1d6bf24c7185e00cd341404f262f8de7c8 (diff) |
btrfs: add btrfs_try_lock_ordered_range
For IOCB_NOWAIT we're going to want to use try lock on the extent lock,
and simply bail if there's an ordered extent in the range because the
only choice there is to wait for the ordered extent to complete.
Reviewed-by: Filipe Manana <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Signed-off-by: Stefan Roesch <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/inode.c')
0 files changed, 0 insertions, 0 deletions