btrfs-progs: docs: document fs exclusive operations

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2020-12-10 17:06:36 +01:00
parent e198c6674a
commit ffd1601236

View file

@ -13,6 +13,7 @@ tools. Currently covers:
. mount options . mount options
. filesystem features . filesystem features
. checksum algorithms . checksum algorithms
. filesystem exclusive operations
. filesystem limits . filesystem limits
. bootloader support . bootloader support
. file attributes . file attributes
@ -737,6 +738,27 @@ h| Digest h| Cycles/4KiB h| Ratio
|================================ |================================
FILESYSTEM EXCLUSIVE OPERATIONS
-------------------------------
There are several operations that affect the whole filesystem and cannot be run
in parallel. Attempt to start one while another is running will fail.
Since kernel 5.10 the currently running operation can be obtained from
`/sys/fs/UUID/exclusive_operation` with following values and operations:
- balance
- device add
- device delete
- device replace
- resize
- swapfile activate
- none
Enqueuing is supported for several btrfs subcommands so they can be started
at once and then serialized.
FILESYSTEM LIMITS FILESYSTEM LIMITS
----------------- -----------------