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>
the devices in the super-block.
bcache.h: Bring version information to the latest kernel version.
bcache-super-show.c: Add setsize for caching devices. This indicates
the number of devices in caching set.
Testing done:
1.0 make-bcache with --label option and checking back to see if
bcache-super-show shows the devices.
2.0 bcache-super-show does not bail if version is 5.
3.0 bcache-super-show shows the correct setsize.
Change-Id: If0f1ec6204b233b34ff4c8a57a8809d2c8dbe3e3
Only show nbuckets and nr_this_dev on cache devices;
explain nbuckets' relation to device size by printing
both total_sectors (superblock included) and
cache_sectors (superblock excluded).