]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: Add hit_set_flushing to track current flushes and prevent races 1405/head
authorDavid Zafman <david.zafman@inktank.com>
Fri, 7 Mar 2014 02:08:46 +0000 (18:08 -0800)
committerDavid Zafman <david.zafman@inktank.com>
Fri, 7 Mar 2014 19:48:21 +0000 (11:48 -0800)
commit135c27ec74be352416d06a9d0ad78e63cf477433
tree48aa2a34cfcce5f66872790139578f45c3e1f73f
parent7403b235444b7ff5f80e15e1997063a81270d730
osd: Add hit_set_flushing to track current flushes and prevent races

When flushing a HitSet track in hit_set_flushing map so that
agent_load_hit_sets() doesn't try to read it too soon.

Fixes: #7575
Signed-off-by: David Zafman <david.zafman@inktank.com>
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h