Re: [PATCH] writeback: Do not sort b_io list only because of blockdevice inode

From: Fengguang Wu
Date: Tue Jul 09 2013 - 10:32:30 EST


On Mon, Jul 08, 2013 at 06:06:02PM +0200, Jan Kara wrote:
> On Mon 24-06-13 10:07:49, Jan Kara wrote:
> > It is very likely that block device inode will be part of BDI dirty list
> > as well. However it doesn't make sence to sort inodes on the b_io list
> > just because of this inode (as it contains buffers all over the device
> > anyway). So save some CPU cycles which is valuable since we hold relatively
> > contented wb->list_lock.
> Ping? Fengguang, can you merge the patch please?

OK! It's a good optimization to have.

Thanks,
Fengguang
--
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/