mirror of
https://github.com/versity/scoutfs.git
synced 2026-02-07 11:10:44 +00:00
scoutfs: remove scoutfs_trans_wake_holders()
This was used by compaction to wake local holders who were waiting for compaction to free up level 0 segments for them to enter the transaction. Throttling level 0 segment writes works differently now and doesn't involve blocking trans holders. Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
@@ -451,18 +451,6 @@ void scoutfs_release_trans(struct super_block *sb)
|
||||
wake_up(&sbi->trans_hold_wq);
|
||||
}
|
||||
|
||||
/*
|
||||
* This is called to wake people waiting on holders when the conditions
|
||||
* that they're waiting on change: levels being full, dirty count falling
|
||||
* under a segment, or holders falling to 0.
|
||||
*/
|
||||
void scoutfs_trans_wake_holders(struct super_block *sb)
|
||||
{
|
||||
struct scoutfs_sb_info *sbi = SCOUTFS_SB(sb);
|
||||
|
||||
wake_up(&sbi->trans_hold_wq);
|
||||
}
|
||||
|
||||
int scoutfs_setup_trans(struct super_block *sb)
|
||||
{
|
||||
struct scoutfs_sb_info *sbi = SCOUTFS_SB(sb);
|
||||
|
||||
@@ -12,7 +12,6 @@ void scoutfs_trans_restart_sync_deadline(struct super_block *sb);
|
||||
int scoutfs_hold_trans(struct super_block *sb, struct scoutfs_item_count *cnt);
|
||||
bool scoutfs_trans_held(void);
|
||||
void scoutfs_release_trans(struct super_block *sb);
|
||||
void scoutfs_trans_wake_holders(struct super_block *sb);
|
||||
void scoutfs_trans_track_item(struct super_block *sb, signed items,
|
||||
signed keys, signed vals);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user