]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: set new inode's xattr version to 1
authorYan, Zheng <zyan@redhat.com>
Mon, 15 Sep 2014 13:39:26 +0000 (21:39 +0800)
committerYan, Zheng <zyan@redhat.com>
Tue, 16 Sep 2014 04:54:48 +0000 (12:54 +0800)
commit306fb2f5e9661a8b85238f065a0dedcf06c4e725
tree817a56fbc18656f6bfc31b06d8af26dcb2b9c906
parent92204287dc3ba52999cb9e9f9a4574c997a37854
mds: set new inode's xattr version to 1

set new inode's xattr version to 1 even if it has no xattr. This allow
client to differentiate no xattr in inode from MDS skips sending xattr
to client (because MDS think client already has uptodate xattr).

Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/mds/MDCache.cc
src/mds/Server.cc