Messages in this thread | | | Date | Wed, 19 Oct 2011 15:05:53 -0700 | From | Tejun Heo <> | Subject | Re: [PATCH 02/10] block: fix genhd refcounting in blkio_policy_parse_and_set() |
| |
Hello,
On Wed, Oct 19, 2011 at 12:59:32PM -0400, Vivek Goyal wrote: > Are you trying to tie the rules with actual presence of device. Current > model is that we just check for a valid device while somebody is > specifying the rule. After that device can go away and rule can still > be there. We are just trying to make sure that when you are putting > the rule, atleast at that time device is present.
Hmmm.... I don't know. If we're gonna bind rule existence to that of device, wouldn't it be better to simply not check whether the device exists? The current behavior seems pretty confusing to me.
Thanks.
-- tejun
| |