Commit Graph

8 Commits

Author SHA1 Message Date
Jacob Malevich
ee44c4f509 set btree_node_size for the cache_sb based on bucket_size
Change-Id: I98dab6e9a221cd8781095039d653ace84ffae806
Signed-off-by: Jacob Malevich <jam@daterainc.com>
2014-10-27 12:14:38 -07:00
Jacob Malevich
e8c1cee578 Create libbcache.a.
Move make-bcache, probe-bcache, and bcache-super-show functions into a
static library called libbcache.

Change-Id: Ieed626225e08507a8ccd12f6bb0c07f64480de9b
Signed-off-by: Jacob Malevich <jam@daterainc.com>
2014-10-27 12:13:52 -07:00
Kent Overstreet
2b1176d6d5 Add crc32c support
Change-Id: I9f830560b25cc84d77f46e3670ed07c05f44adc9
2014-09-11 15:55:39 -07:00
Kent Overstreet
02c47b0373 Superblock version 6
Change-Id: Iba976c8c5a4a91dcac06145471fc70baa6a6393e
2014-08-29 21:48:17 +00:00
Kent Overstreet
93c17b5f5f fix Makefile.am to use pkg-config 2014-03-20 22:05:38 +00:00
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
Gwendal Grignou
a19eab5239 Fix warning during 32bit tool chain compilation
"bcache.c:128: warning: integer constant is too large for 'long' type"

Signed-off-by: Gwendal Grignou <gwendal@google.com>
2011-08-16 13:26:05 -07:00
Ricky Benitez
a02bc8df01 Add checksum to superblock
Add checksum to the superblock to prevent warning messages when
registering devices.
2011-07-26 10:02:15 -07:00