Re: [PATCH V3 0/7] blk-mq: don't allocate driver tag beforehand for flush rq

2017-11-04 Thread Jens Axboe
On 11/04/2017 08:18 AM, Jens Axboe wrote: > On 11/03/2017 10:17 PM, Ming Lei wrote: >> On Thu, Nov 02, 2017 at 11:24:31PM +0800, Ming Lei wrote: >>> Hi Jens, >>> >>> This patchset avoids to allocate driver tag beforehand for flush rq >>> in case of I/O scheduler, then flush rq isn't treated

Re: [PATCH V3 0/7] blk-mq: don't allocate driver tag beforehand for flush rq

2017-11-04 Thread Jens Axboe
On 11/03/2017 10:17 PM, Ming Lei wrote: > On Thu, Nov 02, 2017 at 11:24:31PM +0800, Ming Lei wrote: >> Hi Jens, >> >> This patchset avoids to allocate driver tag beforehand for flush rq >> in case of I/O scheduler, then flush rq isn't treated specially >> wrt. get/put driver tag, code gets cleanup

Re: [PATCH V3 0/7] blk-mq: don't allocate driver tag beforehand for flush rq

2017-11-03 Thread Ming Lei
On Thu, Nov 02, 2017 at 11:24:31PM +0800, Ming Lei wrote: > Hi Jens, > > This patchset avoids to allocate driver tag beforehand for flush rq > in case of I/O scheduler, then flush rq isn't treated specially > wrt. get/put driver tag, code gets cleanup much, such as, > reorder_tags_to_front() is

[PATCH V3 0/7] blk-mq: don't allocate driver tag beforehand for flush rq

2017-11-02 Thread Ming Lei
Hi Jens, This patchset avoids to allocate driver tag beforehand for flush rq in case of I/O scheduler, then flush rq isn't treated specially wrt. get/put driver tag, code gets cleanup much, such as, reorder_tags_to_front() is removed, and we needn't to worry about request order in dispatch list