diff options
author | Peng Tao <bergwolf@gmail.com> | 2012-05-29 13:57:58 +0800 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-07-30 18:52:06 -0400 |
commit | 159e0561e322dd8008fff59e36efff8d2bdd0b0e (patch) | |
tree | 19a15ff455d33cb25f1747027751e46b2e79efb0 /net/core | |
parent | f44106e2173f08ccb1c9195d85a6c22388b461c1 (diff) | |
download | linux-159e0561e322dd8008fff59e36efff8d2bdd0b0e.tar.bz2 |
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/core')
0 files changed, 0 insertions, 0 deletions