markj 25e41e0131 Reimplement support for userland core dump compression using a new interface
in kern_gzio.c. The old gzio interface was somewhat inflexible and has not
worked properly since r272535: currently, the gzio functions are called with
a range lock held on the output vnode, but kern_gzio.c does not pass the
IO_RANGELOCKED flag to vn_rdwr() calls, resulting in deadlock when vn_rdwr()
attempts to reacquire the range lock. Moreover, the new gzio interface can
be used to implement kernel core compression.

This change also modifies the kernel configuration options needed to enable
userland core dump compression support: gzio is now an option rather than a
device, and the COMPRESS_USER_CORES option is removed. Core dump compression
is enabled using the kern.compress_user_cores sysctl/tunable.

Differential Revision:	https://reviews.freebsd.org/D1832
Reviewed by:	rpaulo
Discussed with:	kib
2015-03-09 03:50:53 +00:00
..
2015-01-22 11:12:42 +00:00
2013-10-18 11:25:08 +00:00
2014-03-11 10:13:06 +00:00
2014-07-02 13:24:21 +00:00
2013-10-16 09:12:40 +00:00
2014-07-07 00:27:09 +00:00
2015-03-06 16:43:54 +00:00
2014-09-28 11:32:46 +00:00
2014-07-07 00:27:09 +00:00
2015-03-07 18:25:58 +00:00
2014-01-21 20:48:02 +00:00
2014-11-13 05:26:14 +00:00
2014-07-30 00:28:29 +00:00
2015-02-24 17:36:44 +00:00
2015-01-23 21:08:24 +00:00
2015-01-23 21:08:24 +00:00
2014-11-06 08:12:34 +00:00
2015-01-23 21:08:24 +00:00
2015-03-01 00:22:16 +00:00
2014-11-05 02:08:37 +00:00
2014-11-06 08:12:34 +00:00