diff options
author | NeilBrown <neilb@suse.de> | 2010-06-01 05:37:27 -0400 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-07-25 22:52:27 -0400 |
commit | 390ee602a142a93f2c7eb7bffee8e277058b8e0a (patch) | |
tree | 33a23748dd5ff4ea76b34ed3e458c6da91185376 /drivers/md/md.h | |
parent | e8bb9a839a26f076379e9cb9f46a879d210156f1 (diff) |
md: export various start/stop interfaces
export entry points for starting and stopping md arrays.
This will be used by a module to make md/raid5 work under
dm.
Also stop calling md_stop_writes from md_stop, as that won't
work well with dm - it will want to call the two separately.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/md.h')
-rw-r--r-- | drivers/md/md.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h index cc8030543e82..6e7e3495f6e4 100644 --- a/drivers/md/md.h +++ b/drivers/md/md.h | |||
@@ -487,5 +487,12 @@ extern void md_integrity_add_rdev(mdk_rdev_t *rdev, mddev_t *mddev); | |||
487 | extern int strict_strtoul_scaled(const char *cp, unsigned long *res, int scale); | 487 | extern int strict_strtoul_scaled(const char *cp, unsigned long *res, int scale); |
488 | extern void restore_bitmap_write_access(struct file *file); | 488 | extern void restore_bitmap_write_access(struct file *file); |
489 | 489 | ||
490 | extern void mddev_init(mddev_t *mddev); | ||
491 | extern int md_run(mddev_t *mddev); | ||
492 | extern void md_stop(mddev_t *mddev); | ||
493 | extern void md_stop_writes(mddev_t *mddev); | ||
490 | extern void md_rdev_init(mdk_rdev_t *rdev); | 494 | extern void md_rdev_init(mdk_rdev_t *rdev); |
495 | |||
496 | extern void mddev_suspend(mddev_t *mddev); | ||
497 | extern void mddev_resume(mddev_t *mddev); | ||
491 | #endif /* _MD_MD_H */ | 498 | #endif /* _MD_MD_H */ |