diff options
author | Neil Brown <neilb@suse.de> | 2006-05-15 00:56:02 +0000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2006-05-15 00:56:02 +0000 |
commit | 4ccdb956000d19fd03c4192ce7b8b147e34a5af0 (patch) | |
tree | ae3e0aba17da4ff0b35ca17a588980b6a879c739 /config.c | |
parent | c4d831e164da10be75f915f9e06c529e90f55da9 (diff) | |
download | mdadm-4ccdb956000d19fd03c4192ce7b8b147e34a5af0.tar.gz mdadm-4ccdb956000d19fd03c4192ce7b8b147e34a5af0.tar.xz mdadm-4ccdb956000d19fd03c4192ce7b8b147e34a5af0.zip |
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>
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -273,7 +273,7 @@ void arrayline(char *line) mis.super_minor = UnSet; mis.level = UnSet; mis.raid_disks = UnSet; - mis.spare_disks = UnSet; + mis.spare_disks = 0; mis.devices = NULL; mis.devname = NULL; mis.spare_group = NULL; |