]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: do not set local_mtime on non-tiered pool
authorSage Weil <sage@redhat.com>
Mon, 14 Dec 2015 18:00:27 +0000 (13:00 -0500)
committerSage Weil <sage@redhat.com>
Tue, 15 Dec 2015 02:07:14 +0000 (21:07 -0500)
commit1548a3fda7dd63e28792140e7e8ad1ac9b706e49
tree4e9e82db636266217a3576b0b58d71302ea37114
parent98bdb09bb8d632b2df0b252b3d9676fd9511a1c8
osd/ReplicatedPG: do not set local_mtime on non-tiered pool

If a pool isn't tiered, don't bother with setting local_mtime.  The only
users are the tiering agent (which isn't needed if there is not tiering)
and scrub for deciding if an object should get its digest recorded (we can
use mtime instead).

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/ReplicatedPG.cc