lfs wbc commands
# lfs wbc cache $DIR
If $DIR is an empty directory, try to acquire WBC EX lock from MDT for $DIR;
If $DIR is not an empty directory, add hint to the directory $DIR to indicate that:
- all new creating sub dirs ( not include regular files?) should obtain the EX lock;
- New sub dirs create on MDT synchronously.
- New sub dirs are in (P|S) state;
# lfs wbc list $MOUNT
List all root WBC directories on a client.
# lfs wbc uncache $DIR
Sync and remove a cached root WBC directory $DIR.
#lfs wbc state $file
Display the WBC state of the file $file.
lctl wbc commands
LU-13012 WBC: Rule based auto WBC;
# lctl wbc /mnt/lustre [--data-on-pcc] [--metadata-on-pcc] [--device /mnt/pcc] [--memfs]...