]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: replace STRAY bit with bool
authorSage Weil <sage@inktank.com>
Sat, 28 Jul 2012 16:17:34 +0000 (09:17 -0700)
committerSage Weil <sage@inktank.com>
Mon, 30 Jul 2012 17:49:15 +0000 (10:49 -0700)
commitf9ff8dd3b2743ea43ab44fcf10e4821610ced792
treea40d5c3199c55ec070c03edbc936cad87d001e6e
parentbae837010b6b486011b06dd97664fb54c3f3ff44
osd: replace STRAY bit with bool

We were setting a bit in pg->state that is private to the non-primary
PG.  The other bits get shared with the mon etc, but this one didn't.

Replace it with a simple bool.

Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/PG.cc
src/osd/PG.h
src/osd/osd_types.cc
src/osd/osd_types.h