Re: [RFC PATCH] ceph: remove the extra slashes in the server path

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

 



On 2019/11/15 3:30, Patrick Donnelly wrote:
On Thu, Nov 14, 2019 at 3:35 AM Jeff Layton <jlayton@xxxxxxxxxx> wrote:
On Wed, 2019-11-13 at 21:37 -0500, xiubli@xxxxxxxxxx wrote:
From: Xiubo Li <xiubli@xxxxxxxxxx>

Any reason not to cc ceph-devel here? Was that just an oversight, or do
you think this needs a security embargo?

When mounting if the server path has more than one slash, such as:

'mount.ceph 192.168.195.165:40176:/// /mnt/cephfs/'

In the MDS server side the extra slash will be treated as snap dir,
and then we can get the following debug logs:

It sort of sounds like the real problem is in the MDS.

Shouldn't it just be ignoring the extra '/' characters? I'm not a huge
fan of adding in this complex handling to work around an MDS bug.
Agreed! Xiubo, please create a tracker ticket.

Sure, will do it.

BRs

Xiubo







[Index of Archives]     [CEPH Users]     [Ceph Large]     [Ceph Dev]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux