diff options
author | Ian Dall <ian@beware.dropbear.id.au> | 2007-07-09 03:29:04 +0200 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-07-09 03:29:04 +0200 |
commit | 7d19ad0de31cd0b94e69ac5f2efee98254f27316 (patch) | |
tree | 60c296afcfd59fb38264cd5bf09980535536f356 /mdadm.c | |
parent | Enhance raid4 support: --assemble and --monitor wasn't quite happy with it. (diff) | |
download | mdadm-7d19ad0de31cd0b94e69ac5f2efee98254f27316.tar.xz mdadm-7d19ad0de31cd0b94e69ac5f2efee98254f27316.zip |
Allow "--write-behind=" to be done in grow mode.
From: Ian Dall <ian@beware.dropbear.id.au>
I have a small patch to mdadm which allows the write-behind amount to be
set a array grow time (instead of currently only at grow or create
time). I have tested this fairly extensively on some arrays built out of
loop back devices, and once on a real live array.
Diffstat (limited to 'mdadm.c')
-rw-r--r-- | mdadm.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -844,6 +844,7 @@ int main(int argc, char *argv[]) bitmap_chunk = bitmap_chunk ? bitmap_chunk * 1024 : 512; continue; + case O(GROW, WriteBehind): case O(BUILD, WriteBehind): case O(CREATE, WriteBehind): /* write-behind mode */ write_behind = DEFAULT_MAX_WRITE_BEHIND; |