diff options
| author | 2021-05-18 21:05:52 +0200 | |
|---|---|---|
| committer | 2021-06-21 15:19:07 +0200 | |
| commit | 578bda9e17fdb6b6eaab1980f87dd1819b123da0 (patch) | |
| tree | 34b99a4941ad28d03dff7547c4ec93d5bcaf1909 /fs/btrfs/compression.c | |
| parent | btrfs: add cancellable chunk relocation support (diff) | |
| download | wireguard-linux-578bda9e17fdb6b6eaab1980f87dd1819b123da0.tar.xz wireguard-linux-578bda9e17fdb6b6eaab1980f87dd1819b123da0.zip | |
btrfs: introduce try-lock semantics for exclusive op start
Add try-lock for exclusive operation start to allow callers to do more
checks. The same operation must already be running. The try-lock and
unlock must pair and are a substitute for btrfs_exclop_start, thus it
must also pair with btrfs_exclop_finish to release the exclop context.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/compression.c')
0 files changed, 0 insertions, 0 deletions
