mirror of
https://github.com/versity/scoutfs.git
synced 2026-09-19 14:34:16 +00:00
As the implementation shifted away from the ring of btree blocks and LSM segments we lost callers to all these triggers. They're unused and can be removed. Signed-off-by: Zach Brown <zab@versity.com>
19 lines
472 B
C
19 lines
472 B
C
#ifndef _SCOUTFS_TRIGGERS_H_
|
|
#define _SCOUTFS_TRIGGERS_H_
|
|
|
|
enum scoutfs_trigger {
|
|
SCOUTFS_TRIGGER_BLOCK_REMOVE_STALE,
|
|
SCOUTFS_TRIGGER_STATFS_LOCK_PURGE,
|
|
SCOUTFS_TRIGGER_NR,
|
|
};
|
|
|
|
bool scoutfs_trigger_test_and_clear(struct super_block *sb, unsigned int t);
|
|
|
|
#define scoutfs_trigger(sb, which) \
|
|
scoutfs_trigger_test_and_clear(sb, SCOUTFS_TRIGGER_##which)
|
|
|
|
int scoutfs_setup_triggers(struct super_block *sb);
|
|
void scoutfs_destroy_triggers(struct super_block *sb);
|
|
|
|
#endif
|