NVMe: Fix discontiguous accesses
authorMatthew Wilcox <matthew.r.wilcox@intel.com>
Thu, 24 Feb 2011 13:46:00 +0000 (08:46 -0500)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 4 Nov 2011 19:52:59 +0000 (15:52 -0400)
commitd8ee9d69f275769aaad40ef7c944565ff8d2d24f
treee76aeab439b5f302042b3cd0d64cbe781cff456a
parent1ad2f8932a72bf375361727949ced2cb4e8cfcef
NVMe: Fix discontiguous accesses

When we submit subsequent portions of the I/O, we need to access the
updated block, not start reading again from the original position.
This was showing up as miscompares in the XFS randholes testcase.

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