Messages in this thread | | | Date | Wed, 10 Sep 2014 12:02:47 -0700 | From | Christoph Hellwig <> | Subject | Re: [PATCH 8/8] blk-mq: support per-distpatch_queue flush machinery |
| |
On Wed, Sep 10, 2014 at 09:40:11AM +0800, Ming Lei wrote: > I am wondering we can do that because lifetime is totally different > between flush requests and tag_set requests which are initialized > before request queue is created.
We shouldn't do it in the tag sets, but where we allocate and free each hctx: blk_mq_init_queue and blk_mq_free_hw_queues.
| |