Hi all,

On our luminous v12.2.4 ceph-fuse clients / mds the rctime is not
tracking the latest inode ctime, but only the latest directory ctimes.

Initial empty dir:

# getfattr -d -m ceph . | egrep 'bytes|ctime'
ceph.dir.rbytes="0"
ceph.dir.rctime="1521043742.09466372697"

Create a file, rctime is updated:

# touch a
# getfattr -d -m ceph . | egrep 'bytes|ctime'
ceph.dir.rbytes="0"
ceph.dir.rctime="1521043831.0921836283"

Modify a file, rbytes is updated but not rctime:

# echo hello > a
# getfattr -d -m ceph . | egrep 'bytes|ctime'
ceph.dir.rbytes="6"
ceph.dir.rctime="1521043831.0921836283"

Modify the dir, rctime is updated:

# touch b
# getfattr -d -m ceph . | egrep 'bytes|ctime'
ceph.dir.rbytes="6"
ceph.dir.rctime="1521043861.09597651370"

Do others see the same rctime behaviour? Is this how it's supposed to work?

Cheers, Dan
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to