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

2017-09-15 Thread Ming Lei
Hi, 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 for

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

2017-09-15 Thread Ming Lei
Hi, 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 for