diff options
author | Guoqing Jiang <gqjiang@suse.com> | 2017-10-24 09:11:51 +0200 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2017-11-02 05:32:23 +0100 |
commit | cb8a7a7e1098e74d36378b992a6d012668ec10d9 (patch) | |
tree | 54461d8655ba8219f2c1bce3669a8503cd2e5c06 /drivers/md/raid10.h | |
parent | md-cluster/raid10: set "do_balance = 0" if area is resyncing (diff) | |
download | linux-cb8a7a7e1098e74d36378b992a6d012668ec10d9.tar.xz linux-cb8a7a7e1098e74d36378b992a6d012668ec10d9.zip |
md-cluster: Suspend writes in RAID10 if within range
If there is a resync going on, all nodes must suspend
writes to the range. This is recorded in suspend_info
and suspend_list.
If there is an I/O within the ranges of any of the
suspend_info, area_resyncing will return 1.
Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/md/raid10.h')
0 files changed, 0 insertions, 0 deletions