]> git.sesse.net Git - bcachefs-tools-debian/blob - libbcache/notify.h
bcache in userspace; userspace fsck
[bcachefs-tools-debian] / libbcache / notify.h
1 /*
2  * Code for sending uevent notifications to user-space.
3  *
4  * Copyright 2015 Datera, Inc.
5  */
6
7 #ifndef _NOTIFY_H
8 #define _NOTIFY_H
9
10 void bch_notify_cache_set_read_write(struct cache_set *);
11 void bch_notify_cache_set_read_only(struct cache_set *);
12 void bch_notify_cache_set_stopped(struct cache_set *);
13
14 void bch_notify_cache_read_write(struct cache *);
15 void bch_notify_cache_read_only(struct cache *);
16 void bch_notify_cache_added(struct cache *);
17 void bch_notify_cache_removing(struct cache *);
18 void bch_notify_cache_removed(struct cache *);
19 void bch_notify_cache_remove_failed(struct cache *);
20 void bch_notify_cache_error(struct cache *, bool);
21
22 #endif /* _NOTIFY_H */