Hi,

This has been discussed on the ML before [0], but I would like to bring this up 
again with the outlook towards BlueStore.

Bcache [1] allows for block device level caching in Linux. This can be 
read/write(back) and vastly improves read and write performance to a block 
device.

With the current layout of Ceph with FileStore you can already use bcache, but 
not with ceph-disk.

The reason is that bcache currently does not support creating partitions on 
those devices. There are patches [2] out there, but they are not upstream.

I haven't tested it yet, but it looks like BlueStore can still benefit quite 
good from Bcache and it would be a lot easier if the patches [2] were merged 
upstream.

This way you would have:

- bcache0p1: XFS/EXT4 OSD metadata
- bcache0p2: RocksDB
- bcache0p3: RocksDB WAL
- bcache0p4: BlueStore DATA

With bcache you could create multiple bcache devices by creating partitions on 
the backing disk and creating bcache devices for all of them, but that's a lot 
of work and not easy to automate with ceph-disk.

So what I'm trying to find is the best route to get this upstream in the Linux 
kernel. That way next year when BlueStore becomes the default in L (luminous) 
users can use bcache underneath BlueStore easily.

Does anybody know the proper route we need to take to get this fixed upstream? 
Has any contacts with the bcache developers?

Thanks!

Wido

[0]: http://www.spinics.net/lists/ceph-devel/msg29550.html
[1]: https://bcache.evilpiepirate.org/
[2]: https://yaple.net/2016/03/31/bcache-partitions-and-dkms/
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to