freebsd-dev/sys/geom/raid
Conrad Meyer 6b6e2954dd List-ify kernel dump device configuration
Allow users to specify multiple dump configurations in a prioritized list.
This enables fallback to secondary device(s) if primary dump fails.  E.g.,
one might configure a preference for netdump, but fallback to disk dump as a
second choice if netdump is unavailable.

This change does not list-ify netdump configuration, which is tracked
separately from ordinary disk dumps internally; only one netdump
configuration can be made at a time, for now.  It also does not implement
IPv6 netdump.

savecore(8) is already capable of scanning and iterating multiple devices
from /etc/fstab or passed on the command line.

This change doesn't update the rc or loader variables 'dumpdev' in any way;
it can still be set to configure a single dump device, and rc.d/savecore
still uses it as a single device.  Only dumpon(8) is updated to be able to
configure the more complicated configurations for now.

As part of revving the ABI, unify netdump and disk dump configuration ioctl
/ structure, and leave room for ipv6 netdump as a future possibility.
Backwards-compatibility ioctls are added to smooth ABI transition,
especially for developers who may not keep kernel and userspace perfectly
synced.

Reviewed by:	markj, scottl (earlier version)
Relnotes:	maybe
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D19996
2019-05-06 18:24:07 +00:00
..
g_raid_ctl.c
g_raid_md_if.m
g_raid_tr_if.m
g_raid.c Use g_handleattr() to reply to GEOM::candelete queries. 2019-01-02 15:52:16 +00:00
g_raid.h List-ify kernel dump device configuration 2019-05-06 18:24:07 +00:00
md_ddf.c Squash error from geom by sizing ident strings to DISK_IDENT_SIZE. 2018-04-05 13:56:40 +00:00
md_ddf.h
md_intel.c Squash error from geom by sizing ident strings to DISK_IDENT_SIZE. 2018-04-05 13:56:40 +00:00
md_jmicron.c
md_nvidia.c
md_promise.c
md_sii.c
tr_concat.c
tr_raid0.c Fix use-after-free in RAID0 error reporting of GEOM_RAID. 2018-09-24 16:58:55 +00:00
tr_raid1.c
tr_raid1e.c
tr_raid5.c