mirror of
https://github.com/ceph/ceph
synced 2024-12-17 08:57:28 +00:00
Merge pull request #14726 from batrick/i19583
mds: change_attr++ and set ctime for set_vxattr Reviewed-by: Yan, Zheng <zyan@redhat.com> Reviewed-by: John Spray <john.spray@redhat.com>
This commit is contained in:
commit
de36573fb2
@ -4423,6 +4423,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();
|
||||
|
Loading…
Reference in New Issue
Block a user