Re: [PATCH 02/10] block: fix genhd refcounting inblkio_policy_parse_and_set()

From: Tejun Heo
Date: Wed Oct 19 2011 - 18:06:02 EST


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