|
|
@@ -37,24 +37,6 @@ static const char invalid_uuid[] = {
|
|
|
0xc8, 0x50, 0xfc, 0x5e, 0xcb, 0x16, 0xcd, 0x99
|
|
|
};
|
|
|
|
|
|
-/* Default is -1; we skip past it for struct cached_dev's cache mode */
|
|
|
-const char * const bch_cache_modes[] = {
|
|
|
- "default",
|
|
|
- "writethrough",
|
|
|
- "writeback",
|
|
|
- "writearound",
|
|
|
- "none",
|
|
|
- NULL
|
|
|
-};
|
|
|
-
|
|
|
-/* Default is -1; we skip past it for stop_when_cache_set_failed */
|
|
|
-const char * const bch_stop_on_failure_modes[] = {
|
|
|
- "default",
|
|
|
- "auto",
|
|
|
- "always",
|
|
|
- NULL
|
|
|
-};
|
|
|
-
|
|
|
static struct kobject *bcache_kobj;
|
|
|
struct mutex bch_register_lock;
|
|
|
LIST_HEAD(bch_cache_sets);
|