diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2011-12-28 19:21:45 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-12 11:29:29 -0800 |
commit | 673a3083dc48d45a798ee509995899e11625aa9d (patch) | |
tree | d3f545904a2f99deaadaaf877890c2fe04a21cf2 /drivers/usb/core/buffer.c | |
parent | 0889c179651f57c6fdf4ed72e5027c5dcc90bda2 (diff) |
ore: Must support none-PAGE-aligned IO
commit 724577ca355795b0a25c93ccbeee927871ca1a77 upstream.
NFS might send us offsets that are not PAGE aligned. So
we must read in the reminder of the first/last pages, in cases
we need it for Parity calculations.
We only add an sg segments to read the partial page. But
we don't mark it as read=true because it is a lock-for-write
page.
TODO: In some cases (IO spans a single unit) we can just
adjust the raid_unit offset/length, but this is left for
later Kernels.
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/core/buffer.c')
0 files changed, 0 insertions, 0 deletions