]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: add local_mtime to struct object_info_t 2188/head
authorZhiqiang Wang <wonzhq@hotmail.com>
Fri, 1 Aug 2014 08:09:50 +0000 (16:09 +0800)
committerZhiqiang Wang <wonzhq@hotmail.com>
Fri, 1 Aug 2014 08:09:50 +0000 (16:09 +0800)
commit13b9dc708426c35436ba58388fc54f04f066f03a
tree790c9348ec47269b5dca3d1b70ba4790169355da
parent4fe07925e4d08ec38aba8c4b72e4655f1fa15419
osd: add local_mtime to struct object_info_t

This fixes a bug when the time of the OSDs and clients are not
synchronized (especially when client is ahead of OSD), and the cache
tier dirty ratio reaches the threshold, the agent skips the flush work
because it thinks the object is too young.

Signed-off-by: Zhiqiang Wang <wonzhq@hotmail.com>
src/osd/ReplicatedPG.cc
src/osd/osd_types.cc
src/osd/osd_types.h