[lkml]   [2012]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 08/17] blkcg: shoot down blkio_groups on elevator switch

On Mon, Jan 23, 2012 at 10:20:55AM -0500, Vivek Goyal wrote:
> What happens to per device rules (per device weight and per device
> throttling rules)? IIUC, in new scheme of things, upon elevator switch
> these rules will be gone.
> I can understand per device weight rules disappearing but what about
> throttling rules. They are independent of IO scheduler and change of
> io scheduler should not cause per device throttling rules to get lost.
> This just gets worse if elevator switch fails and we fall back to old
> elevator. But now we have lost of the rules as rules were part of
> blkg.conf and old groups are gone.

As any other choices, it's about trade off and there multiple aspects
to consider. Both elevator and policy changes are extremely low
frequency and inherently disruptive operations and having persistency
across them doesn't justify adding the amount of complexity and design
convolutions we have now, especially not when rule persistency across
those switches can be implemented with mostly trivial switching script
from userland.



 \ /
  Last update: 2012-01-23 16:41    [W:0.091 / U:1.340 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site