pnfsblock: bail out partial page IO
authorPeng Tao <bergwolf@gmail.com>
Tue, 29 May 2012 05:57:58 +0000 (13:57 +0800)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 30 Jul 2012 22:52:06 +0000 (18:52 -0400)
Current block layout driver read/write code assumes page
aligned IO in many places. Add a checker to validate the assumption.
Otherwise there would be data corruption like when application does
open(O_WRONLY) and page unaliged write.

Signed-off-by: Peng Tao <tao.peng@emc.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

No differences found