]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Locker: accept ctime updates from clients without dirty write caps 2606/head
authorGreg Farnum <greg@inktank.com>
Mon, 29 Sep 2014 23:10:36 +0000 (16:10 -0700)
committerGreg Farnum <greg@inktank.com>
Tue, 30 Sep 2014 17:24:51 +0000 (10:24 -0700)
commit0ea20a668cf859881c49b33d1b6db4e636eda18a
tree59cc6e722bf565598935ec00dece53efebbfa19a
parent9c4616dcd2dd80f502cc13270d71f0535ebbc7d5
Locker: accept ctime updates from clients without dirty write caps

The ctime changes any time the inode does. That can happen even without
the file itself having changed, so we'd better accept the update whenever
the auth caps have dirtied, without worrying about the file caps!

Fixes: #9514
Backport: firefly

Signed-off-by: Greg Farnum <greg@inktank.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
src/mds/Locker.cc