]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Locker: accept ctime updates from clients without dirty write caps
authorGreg Farnum <greg@inktank.com>
Mon, 29 Sep 2014 23:10:36 +0000 (16:10 -0700)
committerGreg Farnum <greg@inktank.com>
Thu, 2 Oct 2014 21:13:22 +0000 (14:13 -0700)
commit5f601f099be98c2b061cc94fb06917e7543f3efe
tree2edf22ae2d1e721fd754aa34f7b1d4184670debb
parent285a13a1ecb2c9af65cfe39c7d017e277aeb0b00
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>
(cherry picked from commit 0ea20a668cf859881c49b33d1b6db4e636eda18a)
src/mds/Locker.cc