mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-09 00:00:04 +03:00
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> |
||
---|---|---|
dracut | ||
initramfs | ||
.gitignore | ||
69-bcache.rules | ||
autogen.sh | ||
bcache-register | ||
bcache-super-show.8 | ||
bcache-super-show.c | ||
bcache-test.c | ||
bcache-tools.spec | ||
bcache.c | ||
bcache.h | ||
bcacheadm.8 | ||
bcacheadm.c | ||
bcachectl.c | ||
configure.ac | ||
COPYING | ||
make-bcache.8 | ||
make-bcache.c | ||
Makefile | ||
Makefile.am | ||
probe-bcache.8 | ||
probe-bcache.c | ||
README |
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.