aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/md.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-06-01 05:37:27 -0400
committerNeilBrown <neilb@suse.de>2010-07-25 22:52:27 -0400
commit390ee602a142a93f2c7eb7bffee8e277058b8e0a (patch)
tree33a23748dd5ff4ea76b34ed3e458c6da91185376 /drivers/md/md.h
parente8bb9a839a26f076379e9cb9f46a879d210156f1 (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.h7
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);
487extern int strict_strtoul_scaled(const char *cp, unsigned long *res, int scale); 487extern int strict_strtoul_scaled(const char *cp, unsigned long *res, int scale);
488extern void restore_bitmap_write_access(struct file *file); 488extern void restore_bitmap_write_access(struct file *file);
489 489
490extern void mddev_init(mddev_t *mddev);
491extern int md_run(mddev_t *mddev);
492extern void md_stop(mddev_t *mddev);
493extern void md_stop_writes(mddev_t *mddev);
490extern void md_rdev_init(mdk_rdev_t *rdev); 494extern void md_rdev_init(mdk_rdev_t *rdev);
495
496extern void mddev_suspend(mddev_t *mddev);
497extern void mddev_resume(mddev_t *mddev);
491#endif /* _MD_MD_H */ 498#endif /* _MD_MD_H */