[PATCH 05/10] writeback: implement [locked_]inode_to_wb_and_lock_list()

2015-04-06 Thread Tejun Heo
cgroup writeback currently assumes that inode to wb association doesn't change; however, with the planned foreign inode wb switching mechanism, the association will change dynamically. When an inode needs to be put on one of the IO lists of its wb, the current code simply calls inode_to_wb() and

[PATCH 05/10] writeback: implement [locked_]inode_to_wb_and_lock_list()

2015-04-06 Thread Tejun Heo
cgroup writeback currently assumes that inode to wb association doesn't change; however, with the planned foreign inode wb switching mechanism, the association will change dynamically. When an inode needs to be put on one of the IO lists of its wb, the current code simply calls inode_to_wb() and