]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbdc20b57e6dbf32e1135c24c38059e550098ce5e
treee47262683ed704786be3f0dae62bc4c57bd50ad7
parent7c494f572752fcd8596df1305da1beb3294f6b19
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