summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-target.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-10-18 03:13:47 +0200
committerNeilBrown <neilb@suse.de>2011-10-18 03:13:47 +0200
commitd30519fc59c5cc2f7772fa67b16b1a2426d36c95 (patch)
tree3aae0a21c16816e1989ea90db23a5b123a5a6a12 /drivers/md/dm-target.c
parentmd: add proper write-congestion reporting to RAID1 and RAID10. (diff)
downloadlinux-d30519fc59c5cc2f7772fa67b16b1a2426d36c95.tar.xz
linux-d30519fc59c5cc2f7772fa67b16b1a2426d36c95.zip
md: clear In_sync bit on devices added to an active array.
When we add a device to an active array it can be meaningful to set the 'insync' flag. This indicates that the device is in-sync with the array except for locations recorded in the bitmap. A bitmap-based recovery can then bring it completely in-sync. Internally we move that flag to 'saved_raid_disk' but forgot to clear In_sync like we do in add_new_disk. So clear In_sync after moving its value to saved_raid_disk. Reported-by: Andrei Warkentin <andreiw@vmware.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/dm-target.c')
0 files changed, 0 insertions, 0 deletions