Suspend writes in RAID1 if within range
authorGoldwyn Rodrigues <rgoldwyn@suse.com>
Sat, 7 Jun 2014 07:39:37 +0000 (02:39 -0500)
committerGoldwyn Rodrigues <rgoldwyn@suse.com>
Mon, 23 Feb 2015 15:59:07 +0000 (09:59 -0600)
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>

No differences found