summaryrefslogtreecommitdiffstats
path: root/fs/file_table.c
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2016-06-09 03:22:20 +0200
committerJens Axboe <axboe@fb.com>2016-06-09 17:55:15 +0200
commit52b9c330c6a8a4b5a1819bdaddf4ec76ab571e81 (patch)
tree2562975e06a4fe0d1263ebd0db94161b3f8a76f2 /fs/file_table.c
parentblock: better packing for struct request (diff)
downloadlinux-52b9c330c6a8a4b5a1819bdaddf4ec76ab571e81.tar.xz
linux-52b9c330c6a8a4b5a1819bdaddf4ec76ab571e81.zip
blk-mq: actually hook up defer list when running requests
If ->queue_rq() returns BLK_MQ_RQ_QUEUE_OK, we use continue and skip over the rest of the loop body. However, dptr is assigned later in the loop body, and the BLK_MQ_RQ_QUEUE_OK case is exactly the case that we'd want it for. NVMe isn't actually using BLK_MQ_F_DEFER_ISSUE yet, nor is any other in-tree driver, but if the code's going to be there, it might as well work. Fixes: 74c450521dd8 ("blk-mq: add a 'list' parameter to ->queue_rq()") Signed-off-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions