Files
mirror_zfs/include/sys
Matthew Ahrens fbeddd60b7 Illumos 4390 - I/O errors can corrupt space map when deleting fs/vol
4390 i/o errors when deleting filesystem/zvol can lead to space map corruption
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Saso Kiselkov <saso.kiselkov@nexenta.com>
Approved by: Dan McDonald <danmcd@omniti.com>

References:
  https://www.illumos.org/issues/4390
  https://github.com/illumos/illumos-gate/commit/7fd05ac

Porting notes:

Previous stack-reduction efforts in traverse_visitb() caused a fair
number of un-mergable pieces of code.  This patch should reduce its
stack footprint a bit more.

The new local bptree_entry_phys_t in bptree_add() is dynamically-allocated
using kmem_zalloc() for the purpose of stack reduction.

The new global zfs_free_leak_on_eio has been defined as an integer
rather than a boolean_t as was the case with the related zfs_recover
global.  Also, zfs_free_leak_on_eio's definition has been inserted into
zfs_debug.c for consistency with the existing definition of zfs_recover.
Illumos placed it in spa_misc.c.

Ported by: Tim Chase <tim@chase2k.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2545
2014-08-04 11:50:52 -07:00
..
2014-04-02 13:10:08 -07:00
2014-02-21 16:10:49 -08:00
2014-08-01 14:28:05 -07:00
2013-01-08 10:35:43 -08:00
2014-08-01 14:28:05 -07:00
2014-01-07 10:33:11 -08:00
2014-08-01 14:28:05 -07:00
2014-08-01 14:28:05 -07:00
2014-03-04 12:22:24 -08:00
2013-12-10 10:09:27 -08:00
2014-07-30 09:20:35 -07:00
2014-07-29 10:55:29 -07:00
2014-07-29 10:55:29 -07:00
2014-07-29 10:55:29 -07:00
2013-11-04 11:18:14 -08:00
2013-09-04 16:01:24 -07:00
2013-09-04 16:01:24 -07:00
2013-11-04 11:17:48 -08:00
2014-08-01 14:28:05 -07:00
2014-07-30 10:30:05 -07:00
2013-09-04 16:01:24 -07:00
2014-07-30 09:20:35 -07:00
2013-09-04 16:01:24 -07:00
2013-09-04 16:01:24 -07:00
2012-03-07 16:28:00 -08:00
2014-08-01 14:28:05 -07:00
2014-08-01 14:28:05 -07:00
2011-02-10 09:21:43 -08:00
2013-11-04 10:55:25 -08:00
2013-12-18 16:46:35 -08:00
2014-07-28 14:29:58 -07:00
2011-03-02 11:43:50 -08:00
2013-11-04 10:55:25 -08:00
2014-07-25 16:40:07 -07:00
2014-07-28 14:29:58 -07:00
2013-11-04 10:55:25 -08:00
2014-07-30 09:20:35 -07:00
2013-12-18 16:46:35 -08:00
2011-02-10 09:27:21 -08:00
2014-08-01 14:28:05 -07:00
2013-11-04 10:55:25 -08:00
2013-12-18 16:46:35 -08:00
2014-01-29 15:50:44 -08:00
2013-08-15 16:19:07 -07:00
2014-07-17 15:15:07 -07:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-11-04 10:55:25 -08:00
2013-11-05 12:14:56 -08:00
2014-08-01 14:28:05 -07:00
2013-12-18 16:46:35 -08:00
2013-12-16 09:15:57 -08:00