diff options
author | Peng Tao <[email protected]> | 2012-08-24 00:27:52 +0800 |
---|---|---|
committer | Trond Myklebust <[email protected]> | 2012-10-01 15:38:29 -0700 |
commit | f742dc4a32587bff50b13dde9d8894b96851951a (patch) | |
tree | beedd26b6424ab5bc8dd63fcc04644c5023a4803 /net/lapb/lapb_in.c | |
parent | fe6e1e8d9fad86873eb74a26e80a8f91f9e870b5 (diff) |
pnfsblock: fix non-aligned DIO read
For DIO read, if it is not sector aligned, we should reject it
and resend via MDS. Otherwise there might be data corruption.
Also teach bl_read_pagelist to handle partial page reads for DIO.
Cc: stable <[email protected]> [since v3.4]
Signed-off-by: Peng Tao <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions