summaryrefslogtreecommitdiff
path: root/dissector_eth.h
AgeCommit message (Expand)AuthorFilesLines
2013-07-11dissector: rename __WITH_PROTOS into HAVE_DISSECTOR_PROTOSDaniel Borkmann1-2/+2
2013-06-04xutils: eliminate xutils, move rest to epoll2Daniel Borkmann1-1/+0
2013-03-15all: import netsniff-ng 0.5.8-rc0 sourceDaniel Borkmann1-0/+48
x/net-next.git/commit/?h=nds-private-remove&id=a3c06a389751192fdcbcdd8bba57bdb856eafe68'>a3c06a389751192fdcbcdd8bba57bdb856eafe68 (patch) treeb8bebb01e81cb0a22a19b5b04df0b8ae78b67dd1 parent31e10a41203dbc95e0c1e81ef49ad1773a50d4f9 (diff)
dm raid: enhance attempt_restore_of_faulty_devices() to support more devices
attempt_restore_of_faulty_devices() is limited to 64 when it should support the new maximum of 253 when identifying any failed devices. It clears any revivable devices via an MD personality hot remove and add cylce to allow for their recovery. Address by using existing functions to retrieve and update all failed devices' bitfield members in the dm raid superblocks on all RAID devices and check for any devices to clear in it. Whilst on it, don't call attempt_restore_of_faulty_devices() for any MD personality not providing disk hot add/remove methods (i.e. raid0 now), because such personalities don't support reviving of failed disks. Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat
-rw-r--r--drivers/md/dm-raid.c32
1 files changed, 24 insertions, 8 deletions
diff --git a/drivers/md/dm-raid.c b/drivers/md/dm-raid.c