From: Jeff Layton <jlayton@kernel.org>
To: Venky Shankar <vshankar@redhat.com>
Cc: ceph-devel@vger.kernel.org
Subject: Re: [PATCH 0/3] ceph: use new mount device syntax
Date: Fri, 04 Jun 2021 07:21:38 -0400 [thread overview]
Message-ID: <c3b83ff22d22114f02775ee475d5de4f95e58059.camel@kernel.org> (raw)
In-Reply-To: <20210604050512.552649-1-vshankar@redhat.com>
On Fri, 2021-06-04 at 10:35 +0530, Venky Shankar wrote:
> 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(-)
>
Nice work, Venky!
This looks good at first glance. The only real issue I see is that we
can't just deprecate the mds_namespace option. I think we have to keep
that around for now for the case of a legacy mount helper.
I'll plan to pull down this and your userland patches and give them a
spin later today.
Cheers,
--
Jeff Layton <jlayton@kernel.org>
prev parent reply other threads:[~2021-06-04 11:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-04 5:05 [PATCH 0/3] ceph: use new mount device syntax Venky Shankar
2021-06-04 5:05 ` [PATCH 1/3] ceph: new device mount syntax Venky Shankar
2021-06-04 11:15 ` Jeff Layton
2021-06-04 11:42 ` Venky Shankar
2021-06-04 11:48 ` Jeff Layton
2021-06-04 5:05 ` [PATCH 2/3] ceph: record updated mon_addr on remount Venky Shankar
2021-06-04 5:05 ` [PATCH 3/3] doc: document new CephFS mount device syntax Venky Shankar
2021-06-04 11:21 ` Jeff Layton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c3b83ff22d22114f02775ee475d5de4f95e58059.camel@kernel.org \
--to=jlayton@kernel.org \
--cc=ceph-devel@vger.kernel.org \
--cc=vshankar@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).