[ceph-users] Re: Move on cephfs not O(1)?

2020-06-10 Thread Luis Henriques
On Fri, Mar 27, 2020 at 07:36:15AM -0400, Jeff Layton wrote: > On Thu, 2020-03-26 at 10:32 -0700, Gregory Farnum wrote: > > On Thu, Mar 26, 2020 at 9:13 AM Frank Schilder wrote: > > > Dear all, > > > > > > yes, this is it, quotas. In the structure A/B/ there was a quota set on > > > A. Hence, B

[ceph-users] Re: Move on cephfs not O(1)?

2020-03-27 Thread Frank Schilder
] Re: Move on cephfs not O(1)? Made a ticket in the Linux Kernel Client tracker: https://tracker.ceph.com/issues/44791 I naively don't think this should be very complicated at all, except that I recall hearing something about locking issues with quota realms in the kclient? But the userspace c

[ceph-users] Re: Move on cephfs not O(1)?

2020-03-27 Thread Gregory Farnum
Made a ticket in the Linux Kernel Client tracker: https://tracker.ceph.com/issues/44791 I naively don't think this should be very complicated at all, except that I recall hearing something about locking issues with quota realms in the kclient? But the userspace client definitely doesn't have to do

[ceph-users] Re: Move on cephfs not O(1)?

2020-03-27 Thread Jeff Layton
On Fri, 2020-03-27 at 07:36 -0400, Jeff Layton wrote: > On Thu, 2020-03-26 at 10:32 -0700, Gregory Farnum wrote: > > On Thu, Mar 26, 2020 at 9:13 AM Frank Schilder wrote: > > > Dear all, > > > > > > yes, this is it, quotas. In the structure A/B/ there was a quota set on > > > A. Hence, B was mov

[ceph-users] Re: Move on cephfs not O(1)?

2020-03-27 Thread Jeff Layton
On Thu, 2020-03-26 at 10:32 -0700, Gregory Farnum wrote: > On Thu, Mar 26, 2020 at 9:13 AM Frank Schilder wrote: > > Dear all, > > > > yes, this is it, quotas. In the structure A/B/ there was a quota set on A. > > Hence, B was moved out of this zone and this does indeed change mv to be a > > cp

[ceph-users] Re: Move on cephfs not O(1)?

2020-03-26 Thread Gregory Farnum
gt; From: Frank Schilder > Sent: 26 March 2020 16:35:07 > To: Gregory Farnum; Beocat KSU > Cc: ceph-users > Subject: [ceph-users] Re: Move on cephfs not O(1)? > > Dear all, thanks for the hints. I was afraid I see ghosts. > > Yes, we have quotas on many directories. I&#

[ceph-users] Re: Move on cephfs not O(1)?

2020-03-26 Thread Frank Schilder
l get back. Thanks! Best regards, = Frank Schilder AIT Risø Campus Bygning 109, rum S14 From: Gregory Farnum Sent: 26 March 2020 15:20:51 To: Beocat KSU Cc: ceph-users; Frank Schilder Subject: Re: [ceph-users] Re: Move on cephfs not O(

[ceph-users] Re: Move on cephfs not O(1)?

2020-03-26 Thread Frank Schilder
nks! Best regards, = Frank Schilder AIT Risø Campus Bygning 109, rum S14 From: Gregory Farnum Sent: 26 March 2020 15:20:51 To: Beocat KSU Cc: ceph-users; Frank Schilder Subject: Re: [ceph-users] Re: Move on cephfs not O(1)? I was wonderin

[ceph-users] Re: Move on cephfs not O(1)?

2020-03-26 Thread Gregory Farnum
I was wondering that but at least in the userspace client the quotas will just throw EXDEV or EDQUOT if it will exceed quotas... ...and EXDEV might trigger the kernel to do a copy-and-delete, I guess? Not sure. On Thu, Mar 26, 2020 at 7:18 AM Adam Tygart wrote: > > Is there is a possibility that

[ceph-users] Re: Move on cephfs not O(1)?

2020-03-26 Thread Adam Tygart
Is there is a possibility that there was a quota involved? I've seen moves between quota zones to cause a copy then delete. -- Adam On Thu, Mar 26, 2020 at 9:14 AM Gregory Farnum wrote: > > On Thu, Mar 26, 2020 at 5:49 AM Frank Schilder wrote: > > > > Some time ago I made a surprising observati

[ceph-users] Re: Move on cephfs not O(1)?

2020-03-26 Thread Gregory Farnum
On Thu, Mar 26, 2020 at 5:49 AM Frank Schilder wrote: > > Some time ago I made a surprising observation. I reorganised a directory > structure and needed to move a folder one level up with a command like > > mv A/B/ B > > B contained something like 9TB in very large files. To my surprise, this >