Re: [ceph-users] CephFS | Recursive stats not displaying with GNU ls

2016-07-18 Thread Gregory Farnum
Specifically, this has caused trouble with certain (common?) rsync configurations. -Greg On Monday, July 18, 2016, David wrote: > Thanks Zheng, I should have checked that. > > Sean, from the commit: > > When rbytes mount option is enabled, directory size is recursive size. > Recursive size is no

Re: [ceph-users] CephFS | Recursive stats not displaying with GNU ls

2016-07-18 Thread David
Thanks Zheng, I should have checked that. Sean, from the commit: When rbytes mount option is enabled, directory size is recursive size. Recursive size is not updated instantly. This can cause directory size to change between successive stat(1) On Mon, Jul 18, 2016 at 2:49 PM, Sean Redmond wrote

Re: [ceph-users] CephFS | Recursive stats not displaying with GNU ls

2016-07-18 Thread Sean Redmond
Hi, Is this disabled because its not a stable feature or just user preference? Thanks On Mon, Jul 18, 2016 at 2:37 PM, Yan, Zheng wrote: > On Mon, Jul 18, 2016 at 9:00 PM, David wrote: > > Hi all > > > > Recursive statistics on directories are no longer showing on an ls -l > output > > but ge

Re: [ceph-users] CephFS | Recursive stats not displaying with GNU ls

2016-07-18 Thread Yan, Zheng
On Mon, Jul 18, 2016 at 9:00 PM, David wrote: > Hi all > > Recursive statistics on directories are no longer showing on an ls -l output > but getfattr is accurate: > > # ls -l > total 0 > drwxr-xr-x 1 root root 3 Jul 18 12:42 dir1 > drwxr-xr-x 1 root root 0 Jul 18 12:42 dir2 > > ]# getfattr -d -m

[ceph-users] CephFS | Recursive stats not displaying with GNU ls

2016-07-18 Thread David
Hi all Recursive statistics on directories are no longer showing on an ls -l output but getfattr is accurate: # ls -l total 0 drwxr-xr-x 1 root root 3 Jul 18 12:42 dir1 drwxr-xr-x 1 root root 0 Jul 18 12:42 dir2 ]# getfattr -d -m ceph.dir.* dir1 # file: dir1 ceph.dir.entries="3" ceph.dir.files="