Re: [PATCH 08/17] blkcg: shoot down blkio_groups on elevator switch

From: Tejun Heo
Date: Mon Jan 23 2012 - 11:20:38 EST


On Mon, Jan 23, 2012 at 11:13:08AM -0500, Vivek Goyal wrote:
> How about draining throttle groups only on queue exit (blk_cleanup_queue())
> and not on elevator switch.

It's for possible policy changes and to fully manage blkg from blkcg.
blkg itself needs to change as applied policies change and need to be
flushed.

--
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/