Skip to content

Commit fac7605

Browse files
adam900710kdave
authored andcommitted
btrfs-progs: docs: update a note related to orphan roots cleanup in Seeding
There is a note about a bug that mount a fs RO first, then remount it RW, will make btrfs to skip the orphan roots cleanup. However it's no longer the case after kernel commit 44c0ca211a4d ("btrfs: lift read-write mount setup from mount and remount"), as that commit unify the pre-RW mount checks, and will always do the orphan roots cleanup. Just update the note so that it won't cause any confusion. Reviewed-by: Boris Burkov <boris@bur.io> Signed-off-by: Qu Wenruo <wqu@suse.com>
1 parent b0e4e15 commit fac7605

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Documentation/ch-seeding-device.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@ filesystem at :file:`/path` ready for use.
2626

2727
.. note::
2828

29-
There is a known bug with using remount to make the mount writeable:
29+
There was a known bug with using remount to make the mount writeable:
3030
remount will leave the filesystem in a state where it is unable to
3131
clean deleted snapshots, so it will leak space until it is unmounted
3232
and mounted properly.
3333

34+
That bug has fixed in 5.11 and newer kernels.
35+
3436
Furthermore, deleting the seeding device from the filesystem can turn it into
3537
a normal filesystem, provided that the writable device can also contain all the
3638
data from the seeding device.

0 commit comments

Comments
 (0)