Re: [PATCH 30/51] writeback: implement and use inode_congested()

From: Tejun Heo
Date: Wed Jul 01 2015 - 21:46:51 EST


Hello,

On Tue, Jun 30, 2015 at 05:21:05PM +0200, Jan Kara wrote:
> Hum, is there any point in supporting NULL inode with inode_congested()?
> That would look more like a programming bug than anything... Otherwise the
> patch looks good to me so you can add:

Those are inherited from the existing usages and all for swapper
space. I think we should have a dummy inode instead of scattering
NULL mapping->host test all over the place but that's for another day.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/