NVMe: Handle bios that contain non-virtually contiguous addresses
authorMatthew Wilcox <matthew.r.wilcox@intel.com>
Wed, 23 Feb 2011 20:20:00 +0000 (15:20 -0500)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 4 Nov 2011 19:52:59 +0000 (15:52 -0400)
commit1ad2f8932a72bf375361727949ced2cb4e8cfcef
tree5f95cca42d31666591987800db5c488c8ae09aa7
parent00df5cb4eb927078850086f8becc3286a69ea12e
NVMe: Handle bios that contain non-virtually contiguous addresses

NVMe scatterlists must be virtually contiguous, like almost all I/Os.
However, when the filesystem lays out files with a hole, it can be that
adjacent LBAs map to non-adjacent virtual addresses.  Handle this by
submitting one NVMe command at a time for each virtually discontiguous
range.

Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme.c