mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:04:41 +01:00
dm cache: Remove unused btracker_nr_writebacks_queued
btracker_nr_writebacks_queued() has been unused since commit
2e63309507 ("dm cache policy smq: don't do any writebacks unless IDLE")
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
This commit is contained in:
parent
adc218676e
commit
2133ebea6b
2 changed files with 0 additions and 7 deletions
|
|
@ -143,12 +143,6 @@ static void update_stats(struct background_tracker *b, struct policy_work *w, in
|
|||
}
|
||||
}
|
||||
|
||||
unsigned int btracker_nr_writebacks_queued(struct background_tracker *b)
|
||||
{
|
||||
return atomic_read(&b->pending_writebacks);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(btracker_nr_writebacks_queued);
|
||||
|
||||
unsigned int btracker_nr_demotions_queued(struct background_tracker *b)
|
||||
{
|
||||
return atomic_read(&b->pending_demotes);
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@ struct background_tracker *btracker_create(unsigned int max_work);
|
|||
*/
|
||||
void btracker_destroy(struct background_tracker *b);
|
||||
|
||||
unsigned int btracker_nr_writebacks_queued(struct background_tracker *b);
|
||||
unsigned int btracker_nr_demotions_queued(struct background_tracker *b);
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue