diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-11-10 20:23:49 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-11-10 20:23:49 -0500 |
commit | 3419b45039c6b799c974a8019361c045e7ca232c (patch) | |
tree | 36a63602036cc50f34fadcbd5d5d8fca94e44297 /drivers/nvdimm/btt.c | |
parent | 01504f5e9e071f1dde1062e3be15f54d4555308f (diff) | |
parent | c1c534609fe8a859f9c8108a5591e6e8a97e34d1 (diff) |
Merge branch 'for-4.4/io-poll' of git://git.kernel.dk/linux-block
Pull block IO poll support from Jens Axboe:
"Various groups have been doing experimentation around IO polling for
(really) fast devices. The code has been reviewed and has been
sitting on the side for a few releases, but this is now good enough
for coordinated benchmarking and further experimentation.
Currently O_DIRECT sync read/write are supported. A framework is in
the works that allows scalable stats tracking so we can auto-tune
this. And we'll add libaio support as well soon. Fow now, it's an
opt-in feature for test purposes"
* 'for-4.4/io-poll' of git://git.kernel.dk/linux-block:
direct-io: be sure to assign dio->bio_bdev for both paths
directio: add block polling support
NVMe: add blk polling support
block: add block polling support
blk-mq: return tag/queue combo in the make_request_fn handlers
block: change ->make_request_fn() and users to return a queue cookie
Diffstat (limited to 'drivers/nvdimm/btt.c')
-rw-r--r-- | drivers/nvdimm/btt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/nvdimm/btt.c b/drivers/nvdimm/btt.c index eae93ab8ffcd..efb2c1ceef98 100644 --- a/drivers/nvdimm/btt.c +++ b/drivers/nvdimm/btt.c | |||
@@ -1150,7 +1150,7 @@ static int btt_do_bvec(struct btt *btt, struct bio_integrity_payload *bip, | |||
1150 | return ret; | 1150 | return ret; |
1151 | } | 1151 | } |
1152 | 1152 | ||
1153 | static void btt_make_request(struct request_queue *q, struct bio *bio) | 1153 | static blk_qc_t btt_make_request(struct request_queue *q, struct bio *bio) |
1154 | { | 1154 | { |
1155 | struct bio_integrity_payload *bip = bio_integrity(bio); | 1155 | struct bio_integrity_payload *bip = bio_integrity(bio); |
1156 | struct btt *btt = q->queuedata; | 1156 | struct btt *btt = q->queuedata; |
@@ -1198,6 +1198,7 @@ static void btt_make_request(struct request_queue *q, struct bio *bio) | |||
1198 | 1198 | ||
1199 | out: | 1199 | out: |
1200 | bio_endio(bio); | 1200 | bio_endio(bio); |
1201 | return BLK_QC_T_NONE; | ||
1201 | } | 1202 | } |
1202 | 1203 | ||
1203 | static int btt_rw_page(struct block_device *bdev, sector_t sector, | 1204 | static int btt_rw_page(struct block_device *bdev, sector_t sector, |