FreeBSD Bugzilla – Attachment 184417 Details for
Bug 220691
ZFS instantly panics on boot from degraded volume or after a drive failure
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
bug-220691.patch (text/plain), 719 bytes, created by
Andriy Gapon
on 2017-07-17 06:20:45 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Andriy Gapon
Created:
2017-07-17 06:20:45 UTC
Size:
719 bytes
patch
obsolete
>Index: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c >=================================================================== >--- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c (revision 321064) >+++ sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c (working copy) >@@ -1090,6 +1090,14 @@ vdev_geom_io_done(zio_t *zio) > { > struct bio *bp = zio->io_bio; > >+ if (bp == NULL) { >+ ASSERT3S(zio->io_error, !=, 0); >+ IMPLY(zio->io_type == ZIO_TYPE_READ || >+ zio->io_type == ZIO_TYPE_WRITE, >+ zio->io_error == ENXIO); >+ return; >+ } >+ > if (zio->io_type == ZIO_TYPE_READ) { > abd_return_buf_copy(zio->io_abd, bp->bio_data, zio->io_size); > } else if (zio->io_type == ZIO_TYPE_WRITE) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 220691
: 184417