ceph: resubmit requests on pg mapping change (not just primary change)
authorSage Weil <sage@newdream.net>
Mon, 10 May 2010 17:24:48 +0000 (10:24 -0700)
committerSage Weil <sage@newdream.net>
Tue, 11 May 2010 16:53:56 +0000 (09:53 -0700)
commitd85b705663905b3dae30007f824355bdcfcf3f00
treee47262683ed704786be3f0dae62bc4c57bd50ad7
parent04d000eb358919043da538f197d63f2a5924a525
ceph: resubmit requests on pg mapping change (not just primary change)

OSD requests need to be resubmitted on any pg mapping change, not just when
the pg primary changes.  Resending only when the primary changes results in
occasional 'hung' requests during osd cluster recovery or rebalancing.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/osd_client.c
fs/ceph/osd_client.h
fs/ceph/osdmap.c
fs/ceph/osdmap.h
fs/ceph/rados.h