diff options
author | Sage Weil <sage@newdream.net> | 2010-05-10 10:24:48 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-05-11 09:53:56 -0700 |
commit | d85b705663905b3dae30007f824355bdcfcf3f00 (patch) | |
tree | e47262683ed704786be3f0dae62bc4c57bd50ad7 /fs/ceph/rados.h | |
parent | 04d000eb358919043da538f197d63f2a5924a525 (diff) | |
download | blackbird-op-linux-d85b705663905b3dae30007f824355bdcfcf3f00.tar.gz blackbird-op-linux-d85b705663905b3dae30007f824355bdcfcf3f00.zip |
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/rados.h')
-rw-r--r-- | fs/ceph/rados.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/rados.h b/fs/ceph/rados.h index a1fc1d017b58..fd56451a871f 100644 --- a/fs/ceph/rados.h +++ b/fs/ceph/rados.h @@ -58,6 +58,7 @@ struct ceph_timespec { #define CEPH_PG_LAYOUT_LINEAR 2 #define CEPH_PG_LAYOUT_HYBRID 3 +#define CEPH_PG_MAX_SIZE 16 /* max # osds in a single pg */ /* * placement group. |