git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe6e1e8
)
pnfsblock: fix non-aligned DIO read
author
Peng Tao
<bergwolf@gmail.com>
Thu, 23 Aug 2012 16:27:52 +0000
(
00:27
+0800)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Mon, 1 Oct 2012 22:38:29 +0000
(15:38 -0700)
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 <stable@vger.kernel.org> [since v3.4]
Signed-off-by: Peng Tao <tao.peng@emc.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
No differences found