]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: expose projected ctime is client is last versionlock wrlocker
authorSage Weil <sage@newdream.net>
Wed, 23 Dec 2009 23:54:50 +0000 (15:54 -0800)
committerSage Weil <sage@newdream.net>
Wed, 23 Dec 2009 23:54:50 +0000 (15:54 -0800)
commit93dd9f03ace62a91e23fbccbab39be542e030a26
treecbc01a193c06b115fa65ab4e1d94b08725286700
parent40bcc6b41cbc7d8b88e6de174fdf30fc445d9855
mds: expose projected ctime is client is last versionlock wrlocker

This fixes the problem where the client does a setattr on CTIME, but
doesn't actually see it.

Probably, though, the exposed ctime should be more precise: something like
the most recent projected value that the client is responsible, since we
may have multiple clients projecting pipelined values on the inode.
src/mds/CInode.cc
src/mds/LocalLock.h
src/mds/Locker.cc
src/mds/Server.cc