diff options
author | NeilBrown <neilb@suse.de> | 2009-12-13 20:49:56 -0500 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-12-13 20:51:41 -0500 |
commit | ece5cff0da9e696c360fff592cb5f51b6419e4d6 (patch) | |
tree | 1c5cab0e89ae466be9edb476ceb91e5c898fafa6 /drivers/md/md.h | |
parent | 624ce4f5658fa3e0303c1217bba2706142fe7568 (diff) |
md: Support write-intent bitmaps with externally managed metadata.
In this case, the metadata needs to not be in the same
sector as the bitmap.
md will not read/write any bitmap metadata. Config must be
done via sysfs and when a recovery makes the array non-degraded
again, writing 'true' to 'bitmap/can_clear' will allow bits in
the bitmap to be cleared again.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/md.h')
-rw-r--r-- | drivers/md/md.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h index fce02073f1a4..d9138885b87f 100644 --- a/drivers/md/md.h +++ b/drivers/md/md.h | |||
@@ -296,6 +296,7 @@ struct mddev_s | |||
296 | unsigned long chunksize; | 296 | unsigned long chunksize; |
297 | unsigned long daemon_sleep; /* how many seconds between updates? */ | 297 | unsigned long daemon_sleep; /* how many seconds between updates? */ |
298 | unsigned long max_write_behind; /* write-behind mode */ | 298 | unsigned long max_write_behind; /* write-behind mode */ |
299 | int external; | ||
299 | } bitmap_info; | 300 | } bitmap_info; |
300 | 301 | ||
301 | struct list_head all_mddevs; | 302 | struct list_head all_mddevs; |