Option to add multiple devices and remove single devices.
bcacheadm add-devs --set=uuid <list of devices>
bcacheadm rm-dev <dev>
Change-Id: I4f0a287c02dfad76d8263554e455c408191ea7ba
Signed-off-by: Jacob Malevich <jam@daterainc.com>
uses unregister ioctl to unregister a cacheset that the device
belongs to
Change-Id: I01772de3471888c4951f050b3e92f41b58c5d103
Signed-off-by: Jacob Malevich <jam@daterainc.com>
simplifies input for finding stats for a single dev
Change-Id: I5d879aaa8cb68aaaedabd2bc780fbea4994e2541
Signed-off-by: Jacob Malevich <jam@daterainc.com>
TODO: Support multiple devices for a single -C or -B flag
Change-Id: I73b18a39a0e0ff564600c2fc7386a785d3a10870
Signed-off-by: Jacob Malevich <jam@daterainc.com>
FLAGS:
--list -list all stats in the uuid directory
--all -list all stats/values in the uuid directory
--uuid -must pass in a uuid for the cacheset
TODO: -subdirectory stats for individual caches
-subdirectory stats for over time stats
Change-Id: Ic7126a511fb17aa8c9ac7bf89e014ddbb719f46d
Signed-off-by: Jacob Malevich <jam@daterainc.com>
provides status for the newest sb version for each tier for all
the devs passed in
Change-Id: Ib6e5b08e65b5c36e7b1af0e9806efc39d069f94c
Signed-off-by: Jacob Malevich <jam@daterainc.com>
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