aboutsummaryrefslogtreecommitdiff
path: root/fs/ceph/rados.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-05-12 18:47:29 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-12 18:47:29 -0700
commitcdf5f61ed1d64d50eb9cf10071ab40836f5f9f91 (patch)
treed67166525b89055b44ecf52cd9ae395a676877f5 /fs/ceph/rados.h
parent769d9968e42c995eaaf61ac5583d998f32e0769a (diff)
parente84346b726ea90a8ed470bc81c4136a7b8710ea5 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client: ceph: preserve seq # on requeued messages after transient transport errors ceph: fix cap removal races ceph: zero unused message header, footer fields ceph: fix locking for waking session requests after reconnect ceph: resubmit requests on pg mapping change (not just primary change) ceph: fix open file counting on snapped inodes when mds returns no caps ceph: unregister osd request on failure ceph: don't use writeback_control in writepages completion ceph: unregister bdi before kill_anon_super releases device name
Diffstat (limited to 'fs/ceph/rados.h')
-rw-r--r--fs/ceph/rados.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/rados.h b/fs/ceph/rados.h
index a1fc1d017b5..fd56451a871 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.