]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: do not update mtime when recording digest
authorJianpeng Ma <jianpeng.ma@intel.com>
Mon, 30 Mar 2015 14:17:40 +0000 (07:17 -0700)
committerSage Weil <sage@redhat.com>
Mon, 30 Mar 2015 17:41:58 +0000 (10:41 -0700)
commit8db4056ba84b771ef3e8ac2e5eb305edf94b0b30
treef725cddaf8ab21050a7cb33992d5fcf521cedc0e
parent6f4936ee96e595cb05a18444e6572e334e98de44
osd: do not update mtime when recording digest

The user mtime and local_mtime are normally set in finish_ctx based on the
value of ctx->mtime; clear that to avoid this update.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
[Sage: simplified]
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/ReplicatedPG.cc