]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdadm.h
Use O_DIRECT to read bitmap files.
authorNeil Brown <neilb@suse.de>
Mon, 15 May 2006 00:56:02 +0000 (00:56 +0000)
committerNeil Brown <neilb@suse.de>
Mon, 15 May 2006 00:56:02 +0000 (00:56 +0000)
commit4ccdb956000d19fd03c4192ce7b8b147e34a5af0
treeae3e0aba17da4ff0b35ca17a588980b6a879c739
parentc4d831e164da10be75f915f9e06c529e90f55da9
Use O_DIRECT to read bitmap files.

A pending patch to the kernel causes bitmap file updates
to not go through the page cache, so O_DIRECT is needed to
ensure that we read current data.

Signed-off-by: Neil Brown <neilb@suse.de>
bitmap.c
config.c
mdadm.h