aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/osd_client.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-05-10 10:24:48 -0700
committerSage Weil <sage@newdream.net>2010-05-11 09:53:56 -0700
commitd85b705663905b3dae30007f824355bdcfcf3f00 (patch)
treee47262683ed704786be3f0dae62bc4c57bd50ad7 /fs/ceph/osd_client.h
parent04d000eb358919043da538f197d63f2a5924a525 (diff)
downloadkernel_samsung_smdk4412-d85b705663905b3dae30007f824355bdcfcf3f00.zip
kernel_samsung_smdk4412-d85b705663905b3dae30007f824355bdcfcf3f00.tar.gz
kernel_samsung_smdk4412-d85b705663905b3dae30007f824355bdcfcf3f00.tar.bz2
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>
Diffstat (limited to 'fs/ceph/osd_client.h')
-rw-r--r--fs/ceph/osd_client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ceph/osd_client.h b/fs/ceph/osd_client.h
index c5191d6..ce77698 100644
--- a/fs/ceph/osd_client.h
+++ b/fs/ceph/osd_client.h
@@ -48,6 +48,8 @@ struct ceph_osd_request {
struct list_head r_osd_item;
struct ceph_osd *r_osd;
struct ceph_pg r_pgid;
+ int r_pg_osds[CEPH_PG_MAX_SIZE];
+ int r_num_pg_osds;
struct ceph_connection *r_con_filling_msg;