Skip to content

ceph: use new mount device syntax

Venky Shankar ceph-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ceph: new device mount syntaxfs/ceph/super.c fs/ceph/super.h+48 -223 replies
2/3ceph: record updated mon_addr on remountfs/ceph/super.c+6 -00 replies
3/3doc: document new CephFS mount device syntaxDocumentation/filesystems/ceph.rst+13 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] ceph: use new mount device syntax

This series introduces changes Ceph File System mount device string. Old mount device syntax (source) has the following problems:

mounts to the same cluster but with different fsnames and/or creds have identical device string which can confuse xfstests.

Userspace mount helper tool resolves monitor addresses and fill in mon addrs automatically, but that means the device shown in /proc/mounts is different than what was used for mounting.

New device syntax is as follows:

cephuser@mycephfs2=/path

Note, there is no "monitor address" in the device string. That gets passed in as mount option. This keeps the device string same when monitor addresses change (on remounts).

Also note that the userspace mount helper tool is backward compatible. I.e., the mount helper will fallback to using old syntax after trying to mount with the new syntax.

The user space mount helper changes are here:

    http://github.com/ceph/ceph/pull/41334

Venky Shankar (3):
ceph: new device mount syntax
ceph: record updated mon_addr on remount
doc: document new CephFS mount device syntax

 Documentation/filesystems/ceph.rst | 16 +++++--
 fs/ceph/super.c                    | 75 +++++++++++++++++++++---------
 fs/ceph/super.h                    |  1 +
 3 files changed, 67 insertions(+), 25 deletions(-)
Signature · 1 line
2.27.0