George Wilson 5d1f7fb647 Illumos #3956, #3957, #3958, #3959, #3960, #3961, #3962
3956 ::vdev -r should work with pipelines
3957 ztest should update the cachefile before killing itself
3958 multiple scans can lead to partial resilvering
3959 ddt entries are not always resilvered
3960 dsl_scan can skip over dedup-ed blocks if physical birth != logical birth
3961 freed gang blocks are not resilvered and can cause pool to suspend
3962 ztest should print out zfs debug buffer before exiting
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Adam Leventhal <ahl@delphix.com>
Approved by: Richard Lowe <richlowe@richlowe.net>

References:
  https://www.illumos.org/issues/3956
  https://www.illumos.org/issues/3957
  https://www.illumos.org/issues/3958
  https://www.illumos.org/issues/3959
  https://www.illumos.org/issues/3960
  https://www.illumos.org/issues/3961
  https://www.illumos.org/issues/3962
  illumos/illumos-gate@b4952e17e8

Ported-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>

Porting notes:

1. zfs_dbgmsg_print() is only used in userland. Since we do not have
   mdb on Linux, it does not make sense to make it available in the
   kernel. This means that a build failure will occur if any future
   kernel patch depends on it. However, that is unlikely given that
   this functionality was added to support zdb.

2. zfs_dbgmsg_print() is only invoked for -VVV or greater log levels.
   This preserves the existing behavior of minimal noise when running
   with -V, and -VV.

3. In vdev_config_generate() the call to nvlist_alloc() was not
   changed to fnvlist_alloc() because we must pass KM_PUSHPAGE in
   the txg_sync context.
2013-11-05 12:23:05 -08:00
..
2013-11-05 12:14:48 -08:00
2013-09-04 16:01:24 -07:00
2013-11-04 10:55:25 -08:00
2013-10-25 13:59:40 -07:00
2013-11-05 12:15:00 -08:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-11-04 11:27:41 -08:00
2013-11-05 12:15:00 -08:00
2013-10-31 14:58:04 -07:00
2013-11-05 12:16:14 -08:00
2013-11-04 10:55:25 -08:00
2013-11-05 12:14:21 -08:00
2013-11-04 10:55:25 -08:00
2013-11-04 10:55:25 -08:00
2013-11-04 11:27:41 -08:00
2013-10-31 14:58:04 -07:00
2013-11-04 11:18:14 -08:00
2013-11-04 10:55:25 -08:00
2013-11-05 12:14:21 -08:00
2013-11-04 10:55:25 -08:00
2013-10-31 14:58:04 -07:00
2013-11-04 11:18:14 -08:00
2012-10-15 16:01:54 -07:00
2010-08-31 08:38:46 -07:00
2013-10-22 10:12:39 -07:00
2013-10-30 14:51:27 -07:00
2013-10-25 13:59:40 -07:00
2013-10-31 14:58:04 -07:00
2013-09-04 16:01:24 -07:00
2013-09-25 15:44:22 -07:00
2013-11-04 10:55:25 -08:00
2010-08-31 13:41:59 -07:00
2010-08-31 13:41:58 -07:00
2013-11-04 10:55:25 -08:00
2013-10-31 14:58:04 -07:00
2013-11-05 12:14:48 -08:00
2013-10-31 09:16:03 -07:00
2013-09-04 16:01:24 -07:00
2013-11-04 10:55:25 -08:00
2013-10-31 14:58:04 -07:00
2012-08-27 12:01:37 -07:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-11-05 12:17:07 -08:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-11-04 10:55:25 -08:00
2013-11-04 10:55:25 -08:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-11-04 10:55:25 -08:00
2013-10-31 14:58:04 -07:00
2013-11-04 10:55:25 -08:00
2010-08-31 13:41:58 -07:00
2013-11-04 10:55:25 -08:00
2013-10-31 14:58:04 -07:00
2013-05-01 17:05:52 -07:00
2013-10-30 14:51:27 -07:00
2013-11-05 12:15:50 -08:00
2013-11-04 10:55:25 -08:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-11-04 10:55:25 -08:00
2013-11-04 10:55:25 -08:00
2013-11-04 11:27:41 -08:00
2013-11-05 12:14:21 -08:00
2013-11-04 10:55:25 -08:00
2013-11-04 10:55:25 -08:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-11-05 12:14:56 -08:00
2013-08-15 16:19:07 -07:00
2013-10-29 14:54:26 -07:00
2013-10-29 14:54:26 -07:00
2013-10-29 14:54:26 -07:00
2010-09-17 16:24:15 -07:00
2013-11-05 12:14:21 -08:00