Re: [PATCH v2 3/7] blkcg: associate a request with its blkcg_gq instead of request_list

2017-11-15 Thread Tejun Heo
Hello, On Tue, Nov 14, 2017 at 03:17:43PM -0800, Shaohua Li wrote: > After patch 5, we don't really need the blk_put_rl, blk_get_rl, blk_rq_set_rl > functions. I'd like to delete them and only keep blk_rq_rl. The name > blk_rq_set_rl is confusing too. Yeah, we can switch the legacy rq to switch t

Re: [PATCH v2 3/7] blkcg: associate a request with its blkcg_gq instead of request_list

2017-11-14 Thread Shaohua Li
On Mon, Nov 13, 2017 at 12:15:23PM -0800, Tejun Heo wrote: > From c856a199ec70e4022e997609f1b17b9106408777 Mon Sep 17 00:00:00 2001 > From: Tejun Heo > Date: Mon, 13 Nov 2017 12:11:57 -0800 > > On the legacy request_queue, each blkcg_gq has a dedicated > request_list that requests for the cgroup

[PATCH v2 3/7] blkcg: associate a request with its blkcg_gq instead of request_list

2017-11-13 Thread Tejun Heo
>From c856a199ec70e4022e997609f1b17b9106408777 Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Mon, 13 Nov 2017 12:11:57 -0800 On the legacy request_queue, each blkcg_gq has a dedicated request_list that requests for the cgroup are allocated from. Each request points to the originating request_li