mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
writeback: move dirty inodes from super_block to backing_dev_info
This is a first step at introducing per-bdi flusher threads. We should have no change in behaviour, although sb_has_dirty_inodes() is now ridiculously expensive, as there's no easy way to answer that question. Not a huge problem, since it'll be deleted in subsequent patches. Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
d8a8559cd7
commit
66f3b8e2e1
6 changed files with 165 additions and 84 deletions
|
|
@ -62,9 +62,6 @@ static struct super_block *alloc_super(struct file_system_type *type)
|
|||
s = NULL;
|
||||
goto out;
|
||||
}
|
||||
INIT_LIST_HEAD(&s->s_dirty);
|
||||
INIT_LIST_HEAD(&s->s_io);
|
||||
INIT_LIST_HEAD(&s->s_more_io);
|
||||
INIT_LIST_HEAD(&s->s_files);
|
||||
INIT_LIST_HEAD(&s->s_instances);
|
||||
INIT_HLIST_HEAD(&s->s_anon);
|
||||
|
|
|
|||
Loading…
Reference in a new issue