]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
pnfsblock: fix non-aligned DIO write
authorPeng Tao <bergwolf@gmail.com>
Thu, 23 Aug 2012 16:27:53 +0000 (00:27 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Oct 2012 17:10:32 +0000 (10:10 -0700)
commite8a8c5319cf390ab1895d78f6ffcd2c8038f0075
tree4a217114987944987ce9130c035e9ba6f833bbe6
parentd1e1f0083e6cb81df51838f8a7824436edd96a95
pnfsblock: fix non-aligned DIO write

commit 96c9eae638765c2bf2ca4f5a6325484f9bb69aa7 upstream.

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.

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>
fs/nfs/blocklayout/blocklayout.c