Re: [PATCH V3 0/2] Supporting same fsid mounting through the single-dev compat_ro feature

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 8/31/23 08:12, Guilherme G. Piccoli wrote:
Hi folks, this is the third round of the same fsid mounting patch. Our goal
is to allow btrfs to have the same filesystem mounting at the same time;
for more details, please take a look in the:

V2: https://lore.kernel.org/linux-btrfs/20230803154453.1488248-1-gpiccoli@xxxxxxxxxx/

V1: https://lore.kernel.org/linux-btrfs/20230504170708.787361-1-gpiccoli@xxxxxxxxxx/


In this V3, besides small changes / improvements in the patches (see the
changelog per patch), we dropped the module parameter workaround (which
was the 3rd patch in V2) and implemented the fstests test (as suggested
by Josef): https://lore.kernel.org/fstests/20230830221943.3375955-1-gpiccoli@xxxxxxxxxx/

We need some manual tests as well to understand how this feature
will behave in a multi-pathed device, especially in SAN and iSCSI
environments.

I have noticed that Ubuntu has two different device
paths for the root device during boot. It should be validated
as the root file system using some popular OS distributions.

Thanks, Anand


As usual, suggestions / reviews are greatly appreciated.
Thanks in advance!


Guilherme G. Piccoli (2):
   btrfs-progs: Add the single-dev feature (to both mkfs/tune)
   btrfs: Introduce the single-dev feature

btrfs-progs:
  common/fsfeatures.c        |  7 ++++
  kernel-shared/ctree.h      |  3 +-
  kernel-shared/uapi/btrfs.h |  7 ++++
  mkfs/main.c                |  4 +-
  tune/main.c                | 76 ++++++++++++++++++++++++--------------
  5 files changed, 67 insertions(+), 30 deletions(-)

kernel:
  fs/btrfs/disk-io.c         | 17 +++++++-
  fs/btrfs/fs.h              |  3 +-
  fs/btrfs/ioctl.c           | 18 ++++++++
  fs/btrfs/super.c           |  8 ++--
  fs/btrfs/sysfs.c           |  2 +
  fs/btrfs/volumes.c         | 84 ++++++++++++++++++++++++++++++++------
  fs/btrfs/volumes.h         |  3 +-
  include/uapi/linux/btrfs.h |  7 ++++
  8 files changed, 122 insertions(+), 20 deletions(-)




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux