diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2011-12-28 19:21:45 +0200 |
---|---|---|
committer | Boaz Harrosh <bharrosh@panasas.com> | 2012-01-08 10:43:13 +0200 |
commit | 724577ca355795b0a25c93ccbeee927871ca1a77 (patch) | |
tree | ca3cdb4e7f1b9ab7963503227e1ca555c3535b3f /fs/ext2/xattr_security.c | |
parent | 361aba569f55dd159b850489a3538253afbb3973 (diff) | |
download | op-kernel-dev-724577ca355795b0a25c93ccbeee927871ca1a77.zip op-kernel-dev-724577ca355795b0a25c93ccbeee927871ca1a77.tar.gz |
ore: Must support none-PAGE-aligned IO
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.
[Bug in 3.2.0 Kernel]
CC: Stable Tree <stable@kernel.org>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Diffstat (limited to 'fs/ext2/xattr_security.c')
0 files changed, 0 insertions, 0 deletions