Skip to content

btrfs-progs: updates related to seed device and v6.17 kernel

Qu Wenruo linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs-progs: docs/seed: update a note related to orphan roots cleanupDocumentation/ch-seeding-device.rst+3 -10 replies
2/3btrfs-progs: docs/seed: add extra notes for v6.17 and newer kernelsDocumentation/ch-seeding-device.rst+10 -00 replies
3/3btrfs-progs: misc-tests: do not try to mount a block device into different filesystemstests/misc-tests/046-seed-multi-mount/test.sh+8 -90 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBoris Burkov
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] btrfs-progs: updates related to seed device and v6.17 kernel

Kernel commit 40426dd147ff ("btrfs: use the super_block as holder when mounting file systems") changed the block device holder so that each device of a mounted btrfs can only belong to a single fs.

This is fine for most users, but for a corner case of seed devices, it can be problematic.

As previously we allow the same seed device to be mounted through both the seed device and the sprouted fs, as at that time all btrfs devices share the same holder.

But now since each block device can only belong to a single mounted fs, it means the seed device can only be mounted through either the seed device itself or a sprouted fs, not both at the same time.

This series will update the docs to be more explicit about the seed device mounting behavior, and updated the test case misc/046 to follow the new kernel behavior.

And since we're here, also update a note where newer kernel fix a bug in orphan roots cleanup.

Qu Wenruo (3):
btrfs-progs: docs/seed: update a note related to orphan roots cleanup
btrfs-progs: docs/seed: add extra notes for v6.17 and newer kernels
btrfs-progs: misc-tests: do not try to mount a block device into
different filesystems

 Documentation/ch-seeding-device.rst           | 14 +++++++++++++-
 tests/misc-tests/046-seed-multi-mount/test.sh | 17 ++++++++---------
 2 files changed, 21 insertions(+), 10 deletions(-)

--
2.50.1