Re: [PATCH 02/12] fs: kill BDI_CAP_SWAP_BACKED

2015-01-14 Thread Jan Kara
On Wed 14-01-15 10:42:31, Christoph Hellwig wrote: > This bdi flag isn't too useful - we can determine that a vma is backed by > either swap or shmem trivially in the caller. > > This also allows removing the backing_dev_info instaces for swap and shmem > in favor of noop_backing_dev_info. > > Si

[PATCH 02/12] fs: kill BDI_CAP_SWAP_BACKED

2015-01-14 Thread Christoph Hellwig
This bdi flag isn't too useful - we can determine that a vma is backed by either swap or shmem trivially in the caller. This also allows removing the backing_dev_info instaces for swap and shmem in favor of noop_backing_dev_info. Signed-off-by: Christoph Hellwig Reviewed-by: Tejun Heo --- incl

Re: [PATCH 02/12] fs: kill BDI_CAP_SWAP_BACKED

2015-01-11 Thread Tejun Heo
On Thu, Jan 08, 2015 at 06:45:23PM +0100, Christoph Hellwig wrote: > This bdi flag isn't too useful - we can determine that a vma is backed by > either swap or shmem trivially in the caller. > > This also allows removing the backing_dev_info instaces for swap and shmem > in favor of noop_backing_d

[PATCH 02/12] fs: kill BDI_CAP_SWAP_BACKED

2015-01-08 Thread Christoph Hellwig
This bdi flag isn't too useful - we can determine that a vma is backed by either swap or shmem trivially in the caller. This also allows removing the backing_dev_info instaces for swap and shmem in favor of noop_backing_dev_info. Signed-off-by: Christoph Hellwig --- include/linux/backing-dev.h