]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osdc/Objecter: force pg_read ops to ignore cache overlay
authorSage Weil <sage@redhat.com>
Fri, 10 Feb 2017 04:01:14 +0000 (23:01 -0500)
committerSage Weil <sage@redhat.com>
Tue, 14 Feb 2017 04:03:51 +0000 (23:03 -0500)
commitef74cf71aa0dd7fca23d53e947d7f08496a4cee1
treedbb29e296e3b83466c7abfceb5e022ca1a113aa3
parent557e73cb8a25cf4ae1c7f93609b014577704b763
osdc/Objecter: force pg_read ops to ignore cache overlay

pg_read is only used for PG listing and hit_set_{list,get}; these
operations can't and shouldn't consider the tiering overlay.

This makes the _calc_target behavior with the explicit pgid make sense;
otherwise, what would it mean to try to read pg x.1 from pool x and get
redirected to pg y.1 in pool y?

Signed-off-by: Sage Weil <sage@redhat.com>
src/osdc/Objecter.h