diff options
Diffstat (limited to 'libbcache/notify.h')
-rw-r--r-- | libbcache/notify.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/libbcache/notify.h b/libbcache/notify.h new file mode 100644 index 0000000..80d6587 --- /dev/null +++ b/libbcache/notify.h @@ -0,0 +1,22 @@ +/* + * Code for sending uevent notifications to user-space. + * + * Copyright 2015 Datera, Inc. + */ + +#ifndef _NOTIFY_H +#define _NOTIFY_H + +void bch_notify_cache_set_read_write(struct cache_set *); +void bch_notify_cache_set_read_only(struct cache_set *); +void bch_notify_cache_set_stopped(struct cache_set *); + +void bch_notify_cache_read_write(struct cache *); +void bch_notify_cache_read_only(struct cache *); +void bch_notify_cache_added(struct cache *); +void bch_notify_cache_removing(struct cache *); +void bch_notify_cache_removed(struct cache *); +void bch_notify_cache_remove_failed(struct cache *); +void bch_notify_cache_error(struct cache *, bool); + +#endif /* _NOTIFY_H */ |