Files
scoutfs/kmod/src/triggers.h
T
Zach Brown a508baae76 Remove unused triggers
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>
2021-03-01 09:50:00 -08:00

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