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

From: Tejun Heo
Date: Fri Jul 03 2015 - 13:07:23 EST


On Fri, Jul 03, 2015 at 02:17:21PM +0200, Jan Kara wrote:
> On Wed 01-07-15 21:46:34, Tejun Heo wrote:
> > 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.
>
> Ah, OK. A comment about this would be nice.

Will add.

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/