diff options
author | Peng Tao <bergwolf@gmail.com> | 2012-05-29 07:57:58 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-07-31 00:52:06 +0200 |
commit | 159e0561e322dd8008fff59e36efff8d2bdd0b0e (patch) | |
tree | 19a15ff455d33cb25f1747027751e46b2e79efb0 /net/sunrpc | |
parent | nfs: fix fl_type tests in NFSv4 code (diff) | |
download | linux-159e0561e322dd8008fff59e36efff8d2bdd0b0e.tar.xz linux-159e0561e322dd8008fff59e36efff8d2bdd0b0e.zip |
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 <tao.peng@emc.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions