Go to file
Gwendal Grignou 35710b9dde Fix more warnings during 32bit compilation
"bcache.c:120: warning: integer constant is too large for 'long' type"
"bcache.c:128: warning: integer constant is too large for 'long' type"

Signed-off-by: Gwendal Grignou <gwendal@google.com>
2011-11-21 14:58:53 -08:00
.gitignore Don't write journal buckets 2011-07-26 12:24:00 -07:00
61-bcache.rules UUIDs 2010-10-08 07:04:49 -07:00
bcache-test.c UUIDs 2010-10-08 07:04:49 -07:00
bcache.c Fix more warnings during 32bit compilation 2011-11-21 14:58:53 -08:00
bcache.h Add a --writeback switch to make-bcache 2011-07-31 19:29:22 -07:00
COPYING Bcache tools are now explicitly gpl v2. 2011-07-12 15:44:06 -07:00
initramfs UUIDs 2010-10-08 07:04:49 -07:00
make-bcache.8 Stuff 2011-02-13 07:01:10 -08:00
make-bcache.c The --writeback switch did nothing; fixed 2011-09-01 14:37:48 -07:00
Makefile Add checksum to superblock 2011-07-26 10:02:15 -07:00
probe-bcache.c UUIDs 2010-10-08 07:04:49 -07:00
README Stuff 2011-02-13 07:01:10 -08: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.