From: Peng Tao Date: Tue, 29 May 2012 05:57:58 +0000 (+0800) Subject: pnfsblock: bail out partial page IO X-Git-Tag: v3.6-rc1~29^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=159e0561e322dd8008fff59e36efff8d2bdd0b0e;p=pandora-kernel.git pnfsblock: bail out partial page IO 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 Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed