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
..
2019-04-06 09:37:10 +00:00
2018-11-29 03:44:02 +00:00
2019-01-27 00:46:06 +00:00
2019-04-25 18:42:07 +00:00
2018-12-05 16:43:03 +00:00
2018-12-08 06:30:41 +00:00
2019-04-25 18:42:07 +00:00
2018-10-30 21:35:56 +00:00
2018-10-22 02:35:12 +00:00
2017-12-13 16:30:39 +00:00
2019-04-05 19:31:26 +00:00
2018-12-29 21:18:01 +00:00
2019-03-12 05:10:41 +00:00
2018-10-12 00:32:45 +00:00
2018-08-18 19:45:56 +00:00
2018-06-01 13:26:45 +00:00
2019-02-20 09:38:19 +00:00
2018-11-20 14:58:41 +00:00
2019-04-06 09:37:10 +00:00
2018-06-01 13:26:45 +00:00
2018-11-19 00:54:31 +00:00
2019-04-10 13:02:33 +00:00
2018-10-23 21:43:41 +00:00