diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/raid/md_k.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/raid/md_k.h b/include/linux/raid/md_k.h index 8c14ba565a45..817062bf7352 100644 --- a/include/linux/raid/md_k.h +++ b/include/linux/raid/md_k.h | |||
| @@ -278,6 +278,10 @@ struct mddev_s | |||
| 278 | * start of bitmap. May be | 278 | * start of bitmap. May be |
| 279 | * negative, but not '0' | 279 | * negative, but not '0' |
| 280 | */ | 280 | */ |
| 281 | long default_bitmap_offset; /* this is the offset to use when | ||
| 282 | * hot-adding a bitmap. It should | ||
| 283 | * eventually be settable by sysfs. | ||
| 284 | */ | ||
| 281 | 285 | ||
| 282 | struct list_head all_mddevs; | 286 | struct list_head all_mddevs; |
| 283 | }; | 287 | }; |
| @@ -314,6 +318,12 @@ struct mdk_personality_s | |||
| 314 | int (*resize) (mddev_t *mddev, sector_t sectors); | 318 | int (*resize) (mddev_t *mddev, sector_t sectors); |
| 315 | int (*reshape) (mddev_t *mddev, int raid_disks); | 319 | int (*reshape) (mddev_t *mddev, int raid_disks); |
| 316 | int (*reconfig) (mddev_t *mddev, int layout, int chunk_size); | 320 | int (*reconfig) (mddev_t *mddev, int layout, int chunk_size); |
| 321 | /* quiesce moves between quiescence states | ||
| 322 | * 0 - fully active | ||
| 323 | * 1 - no new requests allowed | ||
| 324 | * others - reserved | ||
| 325 | */ | ||
| 326 | void (*quiesce) (mddev_t *mddev, int state); | ||
| 317 | }; | 327 | }; |
| 318 | 328 | ||
| 319 | 329 | ||
