Re: [PATCH 01/10] remove mapping from balance_dirty_pages*()

2017-11-21 Thread Andrew Morton
On Tue, 14 Nov 2017 16:56:47 -0500 Josef Bacik wrote: > From: Josef Bacik > > The only reason we pass in the mapping is to get the inode in order to see if > writeback cgroups is enabled, and even then it only checks the bdi and a super > block flag.

Re: [PATCH 01/10] remove mapping from balance_dirty_pages*()

2017-11-16 Thread Liu Bo
On Tue, Nov 14, 2017 at 04:56:47PM -0500, Josef Bacik wrote: > From: Josef Bacik > > The only reason we pass in the mapping is to get the inode in order to see if > writeback cgroups is enabled, and even then it only checks the bdi and a super > block flag. balance_dirty_pages()

[PATCH 01/10] remove mapping from balance_dirty_pages*()

2017-11-14 Thread Josef Bacik
From: Josef Bacik The only reason we pass in the mapping is to get the inode in order to see if writeback cgroups is enabled, and even then it only checks the bdi and a super block flag. balance_dirty_pages() doesn't even use the mapping. Since balance_dirty_pages*() works on a