diff options
author | NeilBrown <neilb@suse.de> | 2006-06-26 09:27:49 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 18:58:38 +0200 |
commit | ce25c31bdd3b39266debd86a7732007e05983a67 (patch) | |
tree | 1afafa2a68eb71b702db0a24aff2feb52b9f56c7 /drivers/md/raid10.c | |
parent | [PATCH] md/bitmap: change md/bitmap file handling to use bmap to file blocks (diff) | |
download | linux-ce25c31bdd3b39266debd86a7732007e05983a67.tar.xz linux-ce25c31bdd3b39266debd86a7732007e05983a67.zip |
[PATCH] md: Change md/bitmap file handling to use bmap to file blocks-fix
Fix problems with new bmap based access to bitmap files.
1/ When not using a file based bitmap, attach a NULL list of buffers
to each page so the common free_buffer routine can cope.
2/ Use submit_bh to read as well as write, rather than vfs_read.
This makes read and write more symetric.
3/ sync the file before reading, to ensure that the page cache has no
dirty pages that might get written out later.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/md/raid10.c')
0 files changed, 0 insertions, 0 deletions