From: Patrick Donnelly Date: Sat, 22 Apr 2017 02:09:00 +0000 (-0400) Subject: mds: change_attr++ and set ctime for set_vxattr X-Git-Tag: v12.0.3~265^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=18fac85d7e18a4ea5e2b6d55d50ca082439f90d6;p=ceph.git mds: change_attr++ and set ctime for set_vxattr Fixes: http://tracker.ceph.com/issues/19583 Signed-off-by: Patrick Donnelly --- diff --git a/src/mds/Server.cc b/src/mds/Server.cc index d62720b46096..c1c11ad42308 100644 --- a/src/mds/Server.cc +++ b/src/mds/Server.cc @@ -4414,6 +4414,8 @@ void Server::handle_set_vxattr(MDRequestRef& mdr, CInode *cur, return; } + pi->change_attr++; + pi->ctime = mdr->get_op_stamp(); pi->version = cur->pre_dirty(); if (cur->is_file()) pi->update_backtrace();