diff options
author | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2014-06-07 09:39:37 +0200 |
---|---|---|
committer | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2015-02-23 16:59:07 +0100 |
commit | 589a1c491621ab81a1955d17d634636522c1b4c1 (patch) | |
tree | b476b0701562e54da42f4664f4ee81e8bb39f563 /drivers/md/md.c | |
parent | Resync start/Finish actions (diff) | |
download | linux-589a1c491621ab81a1955d17d634636522c1b4c1.tar.xz linux-589a1c491621ab81a1955d17d634636522c1b4c1.zip |
Suspend writes in RAID1 if within range
If there is a resync going on, all nodes must suspend writes to the
range. This is recorded in the suspend_info/suspend_list.
If there is an I/O within the ranges of any of the suspend_info,
should_suspend will return 1.
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r-- | drivers/md/md.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index a1af24d369fc..fe0484648de4 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c @@ -68,6 +68,7 @@ static LIST_HEAD(pers_list); static DEFINE_SPINLOCK(pers_lock); struct md_cluster_operations *md_cluster_ops; +EXPORT_SYMBOL(md_cluster_ops); struct module *md_cluster_mod; EXPORT_SYMBOL(md_cluster_mod); |