pnfsblock: fix non-aligned DIO write
authorPeng Tao <bergwolf@gmail.com>
Thu, 23 Aug 2012 16:27:53 +0000 (00:27 +0800)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 1 Oct 2012 22:38:35 +0000 (15:38 -0700)
commit96c9eae638765c2bf2ca4f5a6325484f9bb69aa7
tree9824f378029107b3f7be58df63a8c17a08f9b84b
parentf742dc4a32587bff50b13dde9d8894b96851951a
pnfsblock: fix non-aligned DIO write

For DIO writes, if it is not blocksize aligned, we need to do
internal serialization. It may slow down writers anyway. So we
just bail them out and resend to MDS.

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>
fs/nfs/blocklayout/blocklayout.c
This page took 0.025773 seconds and 5 git commands to generate.