diff options
author | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2020-08-25 10:02:33 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-10-07 12:12:20 +0200 |
commit | 66a2823c54367b4d366cfa5dc12ef99ef560f428 (patch) | |
tree | e9aed67d044867d2eaa189ae0bced9b627ed65da /fs/btrfs/print-tree.h | |
parent | btrfs: enumerate the type of exclusive operation in progress (diff) | |
download | linux-66a2823c54367b4d366cfa5dc12ef99ef560f428.tar.gz linux-66a2823c54367b4d366cfa5dc12ef99ef560f428.tar.bz2 linux-66a2823c54367b4d366cfa5dc12ef99ef560f428.zip |
btrfs: sysfs: export currently running exclusive operation
/sys/fs/<fsid>/exclusive_operation contains the currently executing
exclusive operation. Add a sysfs_notify() when operation end, so
userspace can be notified of exclusive operation is finished.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/print-tree.h')
0 files changed, 0 insertions, 0 deletions