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

From: Jan Kara
Date: Fri Jul 03 2015 - 08:17:55 EST


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.

Honza
--
Jan Kara <jack@xxxxxxx>
SUSE Labs, CR
--
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/