btrfs-progs/cmds
Goldwyn Rodrigues 80df942fe7 btrfs-progs: check for exclusive operation before issuing another
If the exclusive operation is available in sysfs file, check if there's
one already running. The check is done for:

- device add, remove, replace
- balance
- filesystem resize

All commands will validate arguments and check before the ioctl or
before any potentially irreversible operations (like clearing device
before replacing).

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2020-12-10 17:10:29 +01:00
..
balance.c btrfs-progs: check for exclusive operation before issuing another 2020-12-10 17:10:29 +01:00
commands.h btrfs-progs: help: define helper for command with flags 2019-07-03 20:49:04 +02:00
device.c btrfs-progs: check for exclusive operation before issuing another 2020-12-10 17:10:29 +01:00
filesystem-du.c btrfs-progs: lots of typo fixes (codespell) 2020-03-31 18:37:38 +02:00
filesystem-usage.c btrfs-progs: move ctree.c to kernel-shared/ 2020-08-31 17:01:05 +02:00
filesystem-usage.h btrfs-progs: move all cmds-fi*.c to cmds/ 2019-07-03 20:49:03 +02:00
filesystem.c btrfs-progs: check for exclusive operation before issuing another 2020-12-10 17:10:29 +01:00
inspect-dump-super.c btrfs-progs: move ctree.c to kernel-shared/ 2020-08-31 17:01:05 +02:00
inspect-dump-tree.c btrfs-progs: move volumes.c to kernel-shared/ 2020-08-31 17:01:06 +02:00
inspect-tree-stats.c btrfs-progs: move volumes.c to kernel-shared/ 2020-08-31 17:01:06 +02:00
inspect.c btrfs-progs: move ctree.c to kernel-shared/ 2020-08-31 17:01:05 +02:00
property.c btrfs-progs: move ctree.c to kernel-shared/ 2020-08-31 17:01:05 +02:00
qgroup.c btrfs-progs: move ctree.c to kernel-shared/ 2020-08-31 17:01:05 +02:00
quota.c btrfs-progs: move ctree.c to kernel-shared/ 2020-08-31 17:01:05 +02:00
receive-dump.c btrfs-progs: move send-utils.c to common/ 2020-08-31 17:01:04 +02:00
receive-dump.h btrfs-progs: move send-dump.c to cmds/receive-dump.c 2020-08-31 17:01:04 +02:00
receive.c btrfs-progs: move ctree.c to kernel-shared/ 2020-08-31 17:01:05 +02:00
replace.c btrfs-progs: check for exclusive operation before issuing another 2020-12-10 17:10:29 +01:00
rescue-chunk-recover.c btrfs-progs: move volumes.c to kernel-shared/ 2020-08-31 17:01:06 +02:00
rescue-super-recover.c btrfs-progs: move volumes.c to kernel-shared/ 2020-08-31 17:01:06 +02:00
rescue.c btrfs-progs: move volumes.c to kernel-shared/ 2020-08-31 17:01:06 +02:00
rescue.h btrfs-progs: super-recover: add global verbose option 2020-06-12 19:31:37 +02:00
restore.c btrfs-progs: docs: fix typo in btrfs restore message 2020-09-08 21:59:52 +02:00
scrub.c btrfs-progs: scrub status: add unit mode options 2020-11-04 22:44:36 +01:00
send.c btrfs-progs: move ctree.c to kernel-shared/ 2020-08-31 17:01:05 +02:00
subvolume.c btrfs-progs: subvolume delete: print message for EPERM, possible send in progress 2020-10-02 20:12:08 +02:00