diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2016-10-04 01:10:24 -0800 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2016-10-06 06:52:54 -0800 |
commit | f3a8d548376295279d2d27fda5764adbe377c55b (patch) | |
tree | b3cb6b8e547fe419427d0490aa88c62bbfa454ae /bcache.c | |
parent | 837a476cc139167fc483016f0a2635a048f7709e (diff) |
bcache device_show now dumps superblocks
Diffstat (limited to 'bcache.c')
-rw-r--r-- | bcache.c | 52 |
1 files changed, 0 insertions, 52 deletions
@@ -23,58 +23,6 @@ #include "bcache.h" -const char * const cache_state[] = { - "active", - "ro", - "failed", - "spare", - NULL -}; - -const char * const replacement_policies[] = { - "lru", - "fifo", - "random", - NULL -}; - -const char * const csum_types[] = { - "none", - "crc32c", - "crc64", - NULL -}; - -const char * const compression_types[] = { - "none", - "lz4", - "gzip", - NULL -}; - -const char * const error_actions[] = { - "continue", - "readonly", - "panic", - NULL -}; - -const char * const bdev_cache_mode[] = { - "writethrough", - "writeback", - "writearound", - "none", - NULL -}; - -const char * const bdev_state[] = { - "detached", - "clean", - "dirty", - "inconsistent", - NULL -}; - static void usage(void) { puts("bcache - tool for managing bcache volumes/filesystems\n" |