]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: include inode version in auth mds' lock messages
authorYan, Zheng <zheng.z.yan@intel.com>
Mon, 18 Nov 2013 03:06:43 +0000 (11:06 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Mon, 16 Dec 2013 04:15:24 +0000 (12:15 +0800)
commit65259796ae95cb5676cdef17d69f34ac7be6b5ea
tree35c9c9b7a866824388321e36ffd9342d9fedc917
parentf134c77267469fdf1d1be0865fe9f61bdf726913
mds: include inode version in auth mds' lock messages

encode inode version in auth mds' lock messages, so that version
of replica inodes get updated. This is important because client
use inode version in mds reply to check if the cached inode is
already up-to-date. It skips updating the inode if it thinks the
inode is already up-to-date.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
src/mds/CInode.cc