aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/md.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-12-13 20:49:53 -0500
committerNeilBrown <neilb@suse.de>2009-12-13 20:51:41 -0500
commit42a04b5078ce73a32f85762551d5703c5bd646a1 (patch)
tree3ef384933cd33d000516c292712da9a99e273360 /drivers/md/md.h
parentc3d9714e88c8685cf9bc837c3241fc005f95fb82 (diff)
md: move offset, daemon_sleep and chunksize out of bitmap structure
... and into bitmap_info. These are all configuration parameters that need to be set before the bitmap is created. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/md.h')
-rw-r--r--drivers/md/md.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h
index 50e62ef32e9d..4b07e0ab3841 100644
--- a/drivers/md/md.h
+++ b/drivers/md/md.h
@@ -291,6 +291,9 @@ struct mddev_s
291 * eventually be settable by sysfs. 291 * eventually be settable by sysfs.
292 */ 292 */
293 struct mutex mutex; 293 struct mutex mutex;
294 unsigned long chunksize;
295 unsigned long daemon_sleep; /* how many seconds between updates? */
296 unsigned long max_write_behind; /* write-behind mode */
294 } bitmap_info; 297 } bitmap_info;
295 298
296 struct list_head all_mddevs; 299 struct list_head all_mddevs;