diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-21 15:38:28 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-21 15:38:28 -0400 |
| commit | 2017bd19454ea7cdae19922d15b6930f6c8088a2 (patch) | |
| tree | 53974657ab3a2c98f2da7b3fcb050ff5b697f876 | |
| parent | 9f1ad09493451c19d00c004da479acf699eeedd6 (diff) | |
| parent | efa4c1206eaff047c474af2136748a58eb8cc33b (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: (22 commits)
ceph: do not carry i_lock for readdir from dcache
fs/ceph/xattr.c: Use kmemdup
rbd: passing wrong variable to bvec_kunmap_irq()
rbd: null vs ERR_PTR
ceph: fix num_pages_free accounting in pagelist
ceph: add CEPH_MDS_OP_SETDIRLAYOUT and associated ioctl.
ceph: don't crash when passed bad mount options
ceph: fix debugfs warnings
block: rbd: removing unnecessary test
block: rbd: fixed may leaks
ceph: switch from BKL to lock_flocks()
ceph: preallocate flock state without locks held
ceph: add pagelist_reserve, pagelist_truncate, pagelist_set_cursor
ceph: use mapping->nrpages to determine if mapping is empty
ceph: only invalidate on check_caps if we actually have pages
ceph: do not hide .snap in root directory
rbd: introduce rados block device (rbd), based on libceph
ceph: factor out libceph from Ceph file system
ceph-rbd: osdc support for osd call and rollback operations
ceph: messenger and osdc changes for rbd
...
| -rw-r--r-- | MAINTAINERS | 11 | ||||
| -rw-r--r-- | drivers/block/Kconfig | 17 | ||||
| -rw-r--r-- | drivers/block/Makefile | 1 | ||||
| -rw-r--r-- | drivers/block/rbd.c | 1841 | ||||
| -rw-r--r-- | drivers/block/rbd_types.h | 73 | ||||
| -rw-r--r-- | fs/ceph/Kconfig | 14 | ||||
| -rw-r--r-- | fs/ceph/Makefile | 11 | ||||
| -rw-r--r-- | fs/ceph/README | 20 | ||||
| -rw-r--r-- | fs/ceph/addr.c | 65 | ||||
| -rw-r--r-- | fs/ceph/caps.c | 50 | ||||
| -rw-r--r-- | fs/ceph/ceph_frag.c | 3 | ||||
| -rw-r--r-- | fs/ceph/debugfs.c | 406 | ||||
| -rw-r--r-- | fs/ceph/dir.c | 97 | ||||
| -rw-r--r-- | fs/ceph/export.c | 5 | ||||
| -rw-r--r-- | fs/ceph/file.c | 207 | ||||
| -rw-r--r-- | fs/ceph/inode.c | 19 | ||||
| -rw-r--r-- | fs/ceph/ioctl.c | 77 | ||||
| -rw-r--r-- | fs/ceph/ioctl.h | 4 | ||||
| -rw-r--r-- | fs/ceph/locks.c | 23 | ||||
| -rw-r--r-- | fs/ceph/mds_client.c | 129 | ||||
| -rw-r--r-- | fs/ceph/mds_client.h | 20 | ||||
| -rw-r--r-- | fs/ceph/mdsmap.c | 11 | ||||
| -rw-r--r-- | fs/ceph/pagelist.c | 63 | ||||
| -rw-r--r-- | fs/ceph/snap.c | 10 | ||||
| -rw-r--r-- | fs/ceph/strings.c (renamed from fs/ceph/ceph_strings.c) | 82 | ||||
| -rw-r--r-- | fs/ceph/super.c | 1154 | ||||
| -rw-r--r-- | fs/ceph/super.h | 400 | ||||
| -rw-r--r-- | fs/ceph/xattr.c | 18 | ||||
| -rw-r--r-- | include/linux/ceph/auth.h (renamed from fs/ceph/auth.h) | 4 | ||||
| -rw-r--r-- | include/linux/ceph/buffer.h (renamed from fs/ceph/buffer.h) | 0 | ||||
| -rw-r--r-- | include/linux/ceph/ceph_debug.h (renamed from fs/ceph/ceph_debug.h) | 5 | ||||
| -rw-r--r-- | include/linux/ceph/ceph_frag.h (renamed from fs/ceph/ceph_frag.h) | 0 | ||||
| -rw-r--r-- | include/linux/ceph/ceph_fs.h (renamed from fs/ceph/ceph_fs.h) | 1 | ||||
| -rw-r--r-- | include/linux/ceph/ceph_hash.h (renamed from fs/ceph/ceph_hash.h) | 0 | ||||
| -rw-r--r-- | include/linux/ceph/debugfs.h | 33 | ||||
| -rw-r--r-- | include/linux/ceph/decode.h (renamed from fs/ceph/decode.h) | 5 | ||||
| -rw-r--r-- | include/linux/ceph/libceph.h | 249 | ||||
| -rw-r--r-- | include/linux/ceph/mdsmap.h (renamed from fs/ceph/mdsmap.h) | 0 | ||||
| -rw-r--r-- | include/linux/ceph/messenger.h (renamed from fs/ceph/messenger.h) | 12 | ||||
| -rw-r--r-- | include/linux/ceph/mon_client.h (renamed from fs/ceph/mon_client.h) | 1 | ||||
| -rw-r--r-- | include/linux/ceph/msgpool.h (renamed from fs/ceph/msgpool.h) | 0 | ||||
| -rw-r--r-- | include/linux/ceph/msgr.h (renamed from fs/ceph/msgr.h) | 0 | ||||
| -rw-r--r-- | include/linux/ceph/osd_client.h (renamed from fs/ceph/osd_client.h) | 67 | ||||
| -rw-r--r-- | include/linux/ceph/osdmap.h (renamed from fs/ceph/osdmap.h) | 4 | ||||
| -rw-r--r-- | include/linux/ceph/pagelist.h (renamed from fs/ceph/pagelist.h) | 23 | ||||
| -rw-r--r-- | include/linux/ceph/rados.h (renamed from fs/ceph/rados.h) | 0 | ||||
| -rw-r--r-- | include/linux/ceph/types.h (renamed from fs/ceph/types.h) | 0 | ||||
| -rw-r--r-- | include/linux/crush/crush.h (renamed from fs/ceph/crush/crush.h) | 0 | ||||
| -rw-r--r-- | include/linux/crush/hash.h (renamed from fs/ceph/crush/hash.h) | 0 | ||||
| -rw-r--r-- | include/linux/crush/mapper.h (renamed from fs/ceph/crush/mapper.h) | 0 | ||||
| -rw-r--r-- | net/Kconfig | 1 | ||||
| -rw-r--r-- | net/Makefile | 1 | ||||
| -rw-r--r-- | net/ceph/Kconfig | 28 | ||||
| -rw-r--r-- | net/ceph/Makefile | 37 | ||||
| -rw-r--r-- | net/ceph/armor.c (renamed from fs/ceph/armor.c) | 0 | ||||
| -rw-r--r-- | net/ceph/auth.c (renamed from fs/ceph/auth.c) | 10 | ||||
| -rw-r--r-- | net/ceph/auth_none.c (renamed from fs/ceph/auth_none.c) | 7 | ||||
| -rw-r--r-- | net/ceph/auth_none.h (renamed from fs/ceph/auth_none.h) | 3 | ||||
| -rw-r--r-- | net/ceph/auth_x.c (renamed from fs/ceph/auth_x.c) | 9 | ||||
| -rw-r--r-- | net/ceph/auth_x.h (renamed from fs/ceph/auth_x.h) | 3 | ||||
| -rw-r--r-- | net/ceph/auth_x_protocol.h (renamed from fs/ceph/auth_x_protocol.h) | 0 | ||||
| -rw-r--r-- | net/ceph/buffer.c (renamed from fs/ceph/buffer.c) | 9 | ||||
| -rw-r--r-- | net/ceph/ceph_common.c | 529 | ||||
| -rw-r--r-- | net/ceph/ceph_fs.c (renamed from fs/ceph/ceph_fs.c) | 5 | ||||
| -rw-r--r-- | net/ceph/ceph_hash.c (renamed from fs/ceph/ceph_hash.c) | 2 | ||||
| -rw-r--r-- | net/ceph/ceph_strings.c | 84 | ||||
| -rw-r--r-- | net/ceph/crush/crush.c (renamed from fs/ceph/crush/crush.c) | 2 | ||||
| -rw-r--r-- | net/ceph/crush/hash.c (renamed from fs/ceph/crush/hash.c) | 2 | ||||
| -rw-r--r-- | net/ceph/crush/mapper.c (renamed from fs/ceph/crush/mapper.c) | 4 | ||||
| -rw-r--r-- | net/ceph/crypto.c (renamed from fs/ceph/crypto.c) | 4 | ||||
| -rw-r--r-- | net/ceph/crypto.h (renamed from fs/ceph/crypto.h) | 4 | ||||
| -rw-r--r-- | net/ceph/debugfs.c | 267 | ||||
| -rw-r--r-- | net/ceph/messenger.c (renamed from fs/ceph/messenger.c) | 296 | ||||
| -rw-r--r-- | net/ceph/mon_client.c (renamed from fs/ceph/mon_client.c) | 73 | ||||
| -rw-r--r-- | net/ceph/msgpool.c (renamed from fs/ceph/msgpool.c) | 4 | ||||
| -rw-r--r-- | net/ceph/osd_client.c (renamed from fs/ceph/osd_client.c) | 400 | ||||
| -rw-r--r-- | net/ceph/osdmap.c (renamed from fs/ceph/osdmap.c) | 30 | ||||
| -rw-r--r-- | net/ceph/pagelist.c | 154 | ||||
| -rw-r--r-- | net/ceph/pagevec.c | 223 |
79 files changed, 5380 insertions, 2046 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index f2a2b8e647c5..3d4179fbc526 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
| @@ -1527,6 +1527,8 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client.git | |||
| 1527 | S: Supported | 1527 | S: Supported |
| 1528 | F: Documentation/filesystems/ceph.txt | 1528 | F: Documentation/filesystems/ceph.txt |
| 1529 | F: fs/ceph | 1529 | F: fs/ceph |
| 1530 | F: net/ceph | ||
| 1531 | F: include/linux/ceph | ||
| 1530 | 1532 | ||
| 1531 | CERTIFIED WIRELESS USB (WUSB) SUBSYSTEM: | 1533 | CERTIFIED WIRELESS USB (WUSB) SUBSYSTEM: |
| 1532 | M: David Vrabel <david.vrabel@csr.com> | 1534 | M: David Vrabel <david.vrabel@csr.com> |
| @@ -4805,6 +4807,15 @@ F: fs/qnx4/ | |||
| 4805 | F: include/linux/qnx4_fs.h | 4807 | F: include/linux/qnx4_fs.h |
| 4806 | F: include/linux/qnxtypes.h | 4808 | F: include/linux/qnxtypes.h |
| 4807 | 4809 | ||
| 4810 | RADOS BLOCK DEVICE (RBD) | ||
| 4811 | F: include/linux/qnxtypes.h | ||
| 4812 | M: Yehuda Sadeh <yehuda@hq.newdream.net> | ||
| 4813 | M: Sage Weil <sage@newdream.net> | ||
| 4814 | M: ceph-devel@vger.kernel.org | ||
| 4815 | S: Supported | ||
| 4816 | F: drivers/block/rbd.c | ||
| 4817 | F: drivers/block/rbd_types.h | ||
| 4818 | |||
| 4808 | RADEON FRAMEBUFFER DISPLAY DRIVER | 4819 | RADEON FRAMEBUFFER DISPLAY DRIVER |
| 4809 | M: Benjamin Herrenschmidt <benh@kernel.crashing.org> | 4820 | M: Benjamin Herrenschmidt <benh@kernel.crashing.org> |
| 4810 | L: linux-fbdev@vger.kernel.org | 4821 | L: linux-fbdev@vger.kernel.org |
diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig index de277689da61..4b9359a6f6ca 100644 --- a/drivers/block/Kconfig +++ b/drivers/block/Kconfig | |||
| @@ -488,4 +488,21 @@ config BLK_DEV_HD | |||
| 488 | 488 | ||
| 489 | If unsure, say N. | 489 | If unsure, say N. |
| 490 | 490 | ||
| 491 | config BLK_DEV_RBD | ||
| 492 | tristate "Rados block device (RBD)" | ||
| 493 | depends on INET && EXPERIMENTAL && BLOCK | ||
| 494 | select CEPH_LIB | ||
| 495 | select LIBCRC32C | ||
| 496 | select CRYPTO_AES | ||
| 497 | select CRYPTO | ||
| 498 | default n | ||
| 499 | help | ||
| 500 | Say Y here if you want include the Rados block device, which stripes | ||
| 501 | a block device over objects stored in the Ceph distributed object | ||
| 502 | store. | ||
| 503 | |||
| 504 | More information at http://ceph.newdream.net/. | ||
| 505 | |||
| 506 | If unsure, say N. | ||
| 507 | |||
| 491 | endif # BLK_DEV | 508 | endif # BLK_DEV |
diff --git a/drivers/block/Makefile b/drivers/block/Makefile index aff5ac925c34..d7f463d6312d 100644 --- a/drivers/block/Makefile +++ b/drivers/block/Makefile | |||
| @@ -37,5 +37,6 @@ obj-$(CONFIG_BLK_DEV_HD) += hd.o | |||
| 37 | 37 | ||
| 38 | obj-$(CONFIG_XEN_BLKDEV_FRONTEND) += xen-blkfront.o | 38 | obj-$(CONFIG_XEN_BLKDEV_FRONTEND) += xen-blkfront.o |
| 39 | obj-$(CONFIG_BLK_DEV_DRBD) += drbd/ | 39 | obj-$(CONFIG_BLK_DEV_DRBD) += drbd/ |
| 40 | obj-$(CONFIG_BLK_DEV_RBD) += rbd.o | ||
| 40 | 41 | ||
| 41 | swim_mod-objs := swim.o swim_asm.o | 42 | swim_mod-objs := swim.o swim_asm.o |
diff - | |||
