diff options
author | Stephan Günther <guenther@tum.de> | 2015-11-08 02:07:02 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-11-11 17:36:56 +0100 |
commit | a310acd7a7ea53533886c11bb7edd11ffd61a036 (patch) | |
tree | 233c4cfac009f9fc03dd1817d4fa056619deaa01 /fs/block_dev.c | |
parent | blk-mq: mark __blk_mq_complete_request() static (diff) | |
download | linux-a310acd7a7ea53533886c11bb7edd11ffd61a036.tar.xz linux-a310acd7a7ea53533886c11bb7edd11ffd61a036.zip |
NVMe: use split lo_hi_{read,write}q
Some controllers may require ordered split transfers even on 64bit
machines, e.g. Apple's NVMe controller as found in the MacBook8,1 and
MacBookAir7,1 (256/512GB models).
This patch enforces ordered split transfers on 64bit platforms, which
works around that issue for all controllers. As pointed out by Christoph
[1] there should be no performance impact due to that modification.
[1] http://lists.infradead.org/pipermail/linux-nvme/2015-November/002965.html
Signed-off-by: Stephan Guenther <guenther@tum.de>
Signed-off-by: Maurice Leclaire <leclaire@in.tum.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Updated by me to explicitly use lo_hi_read/writeq instead of playing
define tricks.
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions