]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit505067c6b5c852ec2818d554988a344aaeef3de4
treeb476b0701562e54da42f4664f4ee81e8bb39f563
parent2a940a257d59e6930348b67960d4da3ab6b3ddb2
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>
drivers/md/md-cluster.c
drivers/md/md-cluster.h
drivers/md/md.c
drivers/md/raid1.c