Re: [PATCH] blk-mq: cache rq->q

2013-10-11 Thread Jens Axboe
On 10/10/2013 10:11 PM, Shaohua Li wrote: > > If a tag is freed, the request might be used very soon. There is a short > window > rq->q is null, so cache it. Thanks, good catch! Applied. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH] blk-mq: cache rq-q

2013-10-11 Thread Jens Axboe
On 10/10/2013 10:11 PM, Shaohua Li wrote: If a tag is freed, the request might be used very soon. There is a short window rq-q is null, so cache it. Thanks, good catch! Applied. -- Jens Axboe -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

[PATCH] blk-mq: cache rq->q

2013-10-10 Thread Shaohua Li
If a tag is freed, the request might be used very soon. There is a short window rq->q is null, so cache it. Signed-off-by: Shaohua Li --- block/blk-mq.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: master/block/blk-mq.c

[PATCH] blk-mq: cache rq-q

2013-10-10 Thread Shaohua Li
If a tag is freed, the request might be used very soon. There is a short window rq-q is null, so cache it. Signed-off-by: Shaohua Li s...@fusionio.com --- block/blk-mq.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: master/block/blk-mq.c