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> |
||
|---|---|---|
| .. | ||
| blocklayout.c | ||
| blocklayout.h | ||
| blocklayoutdev.c | ||
| blocklayoutdm.c | ||
| extents.c | ||
| Makefile | ||