Go to file
Jacob Malevich 34f6746c33 bcacheadm: fix list-cachesets --list-devs
list-cachesets now searches through all cache# symlinks
instead of iterating with i++. This is because bcache
doesn't immediately reuse a cache# symlink when a dev
gets removed.

Fixes DAT-1635
Progress DAT-1646

Change-Id: I6901e29dc13f4e2a76bdc49871e87f07667ec786
Signed-off-by: Jacob Malevich <jam@daterainc.com>
2014-12-19 14:44:24 -08:00
dracut Add a dracut module for bcache 2013-10-07 12:57:31 +02:00
initramfs Merge remote-tracking branch 'remotes/angband/master' 2014-03-20 13:38:08 -07:00
.gitignore Superblock version 6 2014-08-29 21:48:17 +00:00
69-bcache.rules Simplify 69-bcache.rules 2013-10-11 13:21:56 +02:00
autogen.sh Adding autotools support to bcache-tools 2013-10-28 22:47:23 -07:00
bcache-register Merge remote-tracking branch 'remotes/angband/master' 2014-03-20 13:38:08 -07:00
bcache-super-show.8 super-show: Minor manpage clarification 2013-06-07 14:51:55 +02:00
bcache-super-show.c Create libbcache.a. 2014-10-27 12:13:52 -07:00
bcache-test.c bcache-tools are GPL 2013-07-17 13:13:31 -07:00
bcache-tools.spec bcacheadm tool 2014-10-27 17:37:05 -07:00
bcache.c bcacheadm: fix list-cachesets --list-devs 2014-12-19 14:44:24 -08:00
bcache.h bcacheadm: add capacity command 2014-12-19 14:43:34 -08:00
bcacheadm.8 Fix string parsing 2014-11-24 15:53:35 -08:00
bcacheadm.c bcacheadm: add capacity command 2014-12-19 14:43:34 -08:00
bcachectl.c Changed the keyword register_devices to register 2014-08-07 15:04:43 -07:00
configure.ac bcacheadm tool 2014-10-27 17:37:05 -07:00
COPYING bcache-tools are GPL 2013-07-17 13:13:31 -07:00
make-bcache.8 Stuff 2011-02-13 07:01:10 -08:00
make-bcache.c Add multiple bucket_sizes to make-bcache 2014-10-27 12:14:44 -07:00
Makefile bcacheadm fixes 2014-12-05 19:20:03 -08:00
Makefile.am bcacheadm: format bug fixes 2014-11-12 15:22:38 -08:00
probe-bcache.8 bcache-tools: probe-bcache.8 man page 2012-02-16 09:14:41 -08:00
probe-bcache.c Superblock version 6 2014-08-29 21:48:17 +00:00
README Add a command to display a bcache superblock. 2013-03-09 14:33:08 +01:00

These are the userspace tools required for bcache.

Bcache is a patch for the Linux kernel to use SSDs to cache other block
devices. For more information, see http://bcache.evilpiepirate.org.
Documentation for the run time interface is included in the kernel tree, in
Documentantion/bcache.txt.

Included tools:

make-bcache
Formats a block device for use with bcache. A device can be formatted for use
as a cache or as a backing device (requires yet to be implemented kernel
support). The most important option is for specifying the bucket size.
Allocation is done in terms of buckets, and cache hits are counted per bucket;
thus a smaller bucket size will give better cache utilization, but poorer write
performance. The bucket size is intended to be equal to the size of your SSD's
erase blocks, which seems to be 128k-512k for most SSDs; feel free to
experiment.

probe-bcache
Only necessary until support for the bcache superblock is included
in blkid; in the meantime, provides just enough functionality for a udev script
to create the /dev/disk/by-uuid symlink. The arguments it does support are the
same as for blkid.

bcache-super-show
Prints the bcache superblock of a cache device or a backing device.