| 1 |
These are the userspace tools required for bcache. |
| 2 |
|
| 3 |
Bcache is a patch for the Linux kernel to use SSDs to cache other block |
| 4 |
devices. For more information, see http://bcache.evilpiepirate.org. |
| 5 |
Documentation for the run time interface is included in the kernel tree, in |
| 6 |
Documentation/bcache.txt. |
| 7 |
|
| 8 |
Included: |
| 9 |
|
| 10 |
make-bcache |
| 11 |
Formats a block device for use with bcache. A device can be formatted for use |
| 12 |
as a cache or as a backing device (requires yet to be implemented kernel |
| 13 |
support). The most important option is for specifying the bucket size. |
| 14 |
Allocation is done in terms of buckets, and cache hits are counted per bucket; |
| 15 |
thus a smaller bucket size will give better cache utilization, but poorer write |
| 16 |
performance. The bucket size is intended to be equal to the size of your SSD's |
| 17 |
erase blocks, which seems to be 128k-512k for most SSDs; feel free to |
| 18 |
experiment. |
| 19 |
|
| 20 |
bcache-super-show |
| 21 |
Prints the bcache superblock of a cache device or a backing device. |
| 22 |
|
| 23 |
|
| 24 |
Udev rules |
| 25 |
The first half of the rules do auto-assembly and add uuid symlinks |
| 26 |
to cache and backing devices. If util-linux's libblkid is |
| 27 |
sufficiently recent (2.24) the rules will take advantage of |
| 28 |
the fact that bcache has already been detected. Otherwise |
| 29 |
they call a small probe-bcache program that imitates blkid. |
| 30 |
|
| 31 |
The second half of the rules add symlinks to cached devices, |
| 32 |
which are the devices created by the bcache kernel module. |
| 33 |
|
| 34 |
|
| 35 |
Initramfs support |
| 36 |
Currently initramfs-tools, mkinitcpio and dracut are supported. |
| 37 |
|
| 38 |
|