Specifically, this has caused trouble with certain (common?) rsync configurations. -Greg
On Monday, July 18, 2016, David <dclistsli...@gmail.com> 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 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 <sean.redmo...@gmail.com > <javascript:_e(%7B%7D,'cvml','sean.redmo...@gmail.com');>> wrote: > >> 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 <uker...@gmail.com >> <javascript:_e(%7B%7D,'cvml','uker...@gmail.com');>> wrote: >> >>> On Mon, Jul 18, 2016 at 9:00 PM, David <dclistsli...@gmail.com >>> <javascript:_e(%7B%7D,'cvml','dclistsli...@gmail.com');>> 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.dir.* dir1 >>> > # file: dir1 >>> > ceph.dir.entries="3" >>> > ceph.dir.files="3" >>> > ceph.dir.rbytes="27917283328" >>> > ceph.dir.rctime="1468842139.09794440000" >>> > ceph.dir.rentries="4" >>> > ceph.dir.rfiles="3" >>> > ceph.dir.rsubdirs="1" >>> > ceph.dir.subdirs="0" >>> > >>> > I've potentially done something silly but I don't recall changing >>> anything. >>> > When I last checked this a few weeks back I'm pretty sure I was >>> getting the >>> > correct rbytes on the directory listing. Remounting makes no >>> difference. >>> > >>> > Does anyone know what's going on? >>> > >>> > Client details: >>> > >>> > CentOS Linux release 7.2.1511 >>> > 4.6.1-1.el7.elrepo.x86_64 >>> > Cephfs mount options rw,relatime,name=admin,secret=<hidden>,acl 0 0 >>> > >>> >>> There is rbytes mount option. It's not enabled by default since 4.6 >>> kernel. >>> >>> >>> >>> >>> > Cheers, >>> > >>> > >>> > _______________________________________________ >>> > ceph-users mailing list >>> > ceph-users@lists.ceph.com >>> <javascript:_e(%7B%7D,'cvml','ceph-users@lists.ceph.com');> >>> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >>> > >>> _______________________________________________ >>> ceph-users mailing list >>> ceph-users@lists.ceph.com >>> <javascript:_e(%7B%7D,'cvml','ceph-users@lists.ceph.com');> >>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >>> >> >> >> _______________________________________________ >> ceph-users mailing list >> ceph-users@lists.ceph.com >> <javascript:_e(%7B%7D,'cvml','ceph-users@lists.ceph.com');> >> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >> >> >
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com