-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix some DEBUG problems, especially ASSERTs
If compiled with DEBUG ldi_iokit_io_intr would dereference NULL after a device removal. Fix numerous noisy ASSERTs: Change abd_copy to abd_copy_off because of frequent ASSERT on size in arc_write_ready EQUIV in arc_buf_try_copy_decompressed_data was failing because copied was true, but freeze was NULL. Code elsewhere guards freezing and thawing against zfs_debug & ZFS_DEBUG_MODIFY. We should do that here too. Also allow userland EQUIV checks again. Similar change in arc_buf_fill. Catch abd_copy ASSERT: zfs`abd_copy+0xed zfs`zio_vdev_io_start+0x159 zfs`zio_nowait+0x282 zfs`vdev_mirror_io_start+0x349 zfs`zio_vdev_io_start+0x65c zfs`__zio_execute+0x1d2 spl`taskq_thread+0x205 kernel`call_continuation+0x17 524 Fix assert in vdev_uberblock_sync Fix "abd.c abd_zero_off 1223 : ASSERT3( size > 0) failed (0 > 0)" Take several ASSERTs from openzfs's and zol's arc.c Many whitespace and indentation fixes in arc.c Fix abd assertions in vdev_disk.c following approach taken for the similar assertions in vdev_file.c. Fix l2arc_feed_thread and other l2arc ASSERT and whitespace Fix an ASSERT from upstream that results in sporadic "kernel[0]: arc.c l2arc_read_done 8133 : ASSERT3( arc_hdr_size(hdr) < zio->io_size) failed (444928 < 444928)", where the compared sizes are equal.
- Loading branch information
Showing
5 changed files
with
101 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters