Exclude data from cores unconditionally and metadata conditionally

This change allows us to align the code dump logic across platforms.

Reviewed-by: Jorgen Lundman <lundman@lundman.net>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Don Brady <don.brady@delphix.com>
Signed-off-by: Matt Macy <mmacy@FreeBSD.org>
Closes #9691
This commit is contained in:
Matthew Macy
2019-12-09 12:29:56 -08:00
committed by Tony Hutter
parent 2525b71c68
commit d2233a08fa
2 changed files with 12 additions and 2 deletions
+1
View File
@@ -278,6 +278,7 @@ enum zio_wait_type {
typedef void zio_done_func_t(zio_t *zio);
extern int zio_exclude_metadata;
extern int zio_dva_throttle_enabled;
extern const char *zio_type_name[ZIO_TYPES];