diff options
author | Peng Tao <bergwolf@gmail.com> | 2012-08-24 00:27:52 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-31 10:10:32 -0700 |
commit | d1e1f0083e6cb81df51838f8a7824436edd96a95 (patch) | |
tree | 1ee57fd9f1c6b98626cdcc49f5ec3e67d4537bcd /arch/arm/mach-mx5/crm_regs.h | |
parent | 2865269348c0cf5448544f971d1c64afe7cdbc98 (diff) |
pnfsblock: fix non-aligned DIO read
commit f742dc4a32587bff50b13dde9d8894b96851951a upstream.
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.
Signed-off-by: Peng Tao <tao.peng@emc.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/mach-mx5/crm_regs.h')
0 files changed, 0 insertions, 0 deletions