btrfs-progs: docs: fix the out-of-date comment about free space tree support

Since v4.19, btrfs-progs has full write support to free space tree, the
out-of-date warning in btrfs(5) has already confused some end user.

Update the content to avoid further confusion.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Qu Wenruo 2021-07-14 14:11:14 +08:00 committed by David Sterba
parent de4914dbfd
commit 42566a50ec

View file

@ -389,10 +389,10 @@ implementation, which adds a new B-tree called the free space tree, addresses
this issue. Once enabled, the 'v2' space cache will always be used and cannot
be disabled unless it is cleared. Use 'clear_cache,space_cache=v1' or
'clear_cache,nospace_cache' to do so. If 'v2' is enabled, kernels without 'v2'
support will only be able to mount the filesystem in read-only mode. The
`btrfs`(8) command currently only has read-only support for 'v2'. A read-write
command may be run on a 'v2' filesystem by clearing the cache, running the
command, and then remounting with 'space_cache=v2'.
support will only be able to mount the filesystem in read-only mode.
+
The `btrfs-check`(8) and `mkfs.btrfs`(8) commands have full 'v2' free space
cache support since v4.19.
+
If a version is not explicitly specified, the default implementation will be
chosen, which is 'v1'.