Skip to content

Commit 602adf4

Browse files
Yehuda Sadehliewegas
authored andcommitted
rbd: introduce rados block device (rbd), based on libceph
The rados block device (rbd), based on osdblk, creates a block device that is backed by objects stored in the Ceph distributed object storage cluster. Each device consists of a single metadata object and data striped over many data objects. The rbd driver supports read-only snapshots. Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net> Signed-off-by: Sage Weil <sage@newdream.net>
1 parent 3d14c5d commit 602adf4

6 files changed

Lines changed: 1944 additions & 2 deletions

File tree

‎MAINTAINERS‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4807,6 +4807,15 @@ F: fs/qnx4/
48074807
F: include/linux/qnx4_fs.h
48084808
F: include/linux/qnxtypes.h
48094809

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+
48104819
RADEON FRAMEBUFFER DISPLAY DRIVER
48114820
M: Benjamin Herrenschmidt <benh@kernel.crashing.org>
48124821
L: linux-fbdev@vger.kernel.org

‎drivers/block/Kconfig‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,4 +488,21 @@ config BLK_DEV_HD
488488

489489
If unsure, say N.
490490

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+
491508
endif # BLK_DEV

‎drivers/block/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,6 @@ obj-$(CONFIG_BLK_DEV_HD) += hd.o
3737

3838
obj-$(CONFIG_XEN_BLKDEV_FRONTEND) += xen-blkfront.o
3939
obj-$(CONFIG_BLK_DEV_DRBD) += drbd/
40+
obj-$(CONFIG_BLK_DEV_RBD) += rbd.o
4041

4142
swim_mod-objs := swim.o swim_asm.o

0 commit comments

Comments
 (0)