Re: [PATCH block/for-linus] writeback: flush inode cgroup wb switches instead of pinning super_block

From: Tejun Heo
Date: Mon Feb 29 2016 - 16:08:10 EST


On Mon, Feb 29, 2016 at 09:06:15PM +0000, Al Viro wrote:
> > Hmmm? The flushing is done after shrink_dcache_for_umount() and
> > sync_filesystems(). Aren't inodes supposed to stay clean after that?
>
> s/shrink_dcache_for_umount/fsnotify_unmount_inodes/ - sorry.

Is that allowed to dirty indoes and initiate writebacks again, after
sync_filesystems() is done? That sounds weird but it's trivial to
move cgroup_writeback_umount() below that if so.

Thanks.

--
tejun