block: add support for limiting gaps in SG lists
authorJens Axboe <axboe@fb.com>
Wed, 25 Jun 2014 20:59:36 +0000 (14:59 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 30 Mar 2015 18:54:54 +0000 (12:54 -0600)
commitd7ce6b4554624064893e58787b3a67be5ddde309
tree1ff20055260815496c078c0c5e03870379f3bfcf
parent38b1e8430623353451a8464d3edfe220ff0fe063
block: add support for limiting gaps in SG lists

Another restriction inherited for NVMe - those devices don't support
SG lists that have "gaps" in them. Gaps refers to cases where the
previous SG entry doesn't end on a page boundary. For NVMe, all SG
entries must start at offset 0 (except the first) and end on a page
boundary (except the last).

Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-merge.c
fs/bio.c
include/linux/bio.h
include/linux/blkdev.h