Re: [PATCH 34/36] block: implement bio_associate_current()

From: Tejun Heo
Date: Wed Feb 22 2012 - 14:07:52 EST


Hey, Jeff.

On Wed, Feb 22, 2012 at 08:45:02AM -0500, Jeff Moyer wrote:
> Tejun Heo <tj@xxxxxxxxxx> writes:
>
> > -v2: #ifdef CONFIG_BLK_CGROUP added around bio->bi_ioc dereference in
> > rq_ioc() to fix build breakage.
>
> This is useful for cfq without blk cgroups as well, right? Why have you
> limited the scope like this?

Because blk-throttle is the only current user. We can move the
BLK_CGROUP to cover just bi_css later on as we add more users.

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/