btrfs-progs: Doc: Add extra warning for -i option of snapshot creation
Subsystems (2)
PATCH 1/1 btrfs-progs: Doc: Add extra warning for -i option of snapshot creation
That -i option of snapshot creation can easily make qgroup inconsistent. And unlike 'btrfs qgroup assign', the ioctl involved doesn't have way to inform user space that qgroup is inconsistent.
So add extra warning in the man page.
Signed-off-by Qu Wenruo <[email protected]>
--- Documentation/btrfs-subvolume.asciidoc | 6 ++++++ 1 file changed, 6 insertions(+)
Documentation/btrfs-subvolume.asciidoc +6 -0
@@ -222,6 +222,12 @@ Make the new snapshot read only. -i <qgroupid>:::: Add the newly created subvolume to a qgroup. This option can be given multiple times. ++ +WARNING: This parameter can make qgroup inconsistent, and due to the +limitation of snapshot creation ioctl, there is no way to inform user space +that qgroup is inconsistent due to this operation. +Please use 'btrfs qgroup assign' instead. + *sync* <path> [subvolid...]:: Wait until given subvolume(s) are completely removed from the filesystem after
Signature · 1 line
2.26.2