]> git.ipfire.org Git - thirdparty/mdadm.git/commit - raid6check.c
raid6check: use O_DIRECT instead of O_SYNC.
authorNeilBrown <neilb@suse.de>
Mon, 20 Jul 2015 07:17:37 +0000 (17:17 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 20 Jul 2015 07:17:37 +0000 (17:17 +1000)
commit12ee2a8d75067a9cadfedecf2af36f6c2aedf25d
tree674c83653de99f43a9ab2615aaa26ad24297319a
parenteae01ef02fe3a7dd9b71129343f905ac212c6658
raid6check: use O_DIRECT instead of O_SYNC.

O_DIRECT is more direct and is faster.
This requires aligned memory allocation, but that isn't hard.

Signed-off-by: NeilBrown <neilb@suse.de>
raid6check.c