svn commit: r348904 - stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

Alexander Motin mav at FreeBSD.org
Tue Jun 11 13:44:20 UTC 2019


Author: mav
Date: Tue Jun 11 13:44:19 2019
New Revision: 348904
URL: https://svnweb.freebsd.org/changeset/base/348904

Log:
  MFC r344318 (by pjd): Change assertion to log the incorrect io_type we've got.

Modified:
  stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_raidz.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_raidz.c
==============================================================================
--- stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_raidz.c	Tue Jun 11 13:40:27 2019	(r348903)
+++ stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_raidz.c	Tue Jun 11 13:44:19 2019	(r348904)
@@ -2020,7 +2020,7 @@ vdev_raidz_io_start(zio_t *zio)
 		return;
 	}
 
-	ASSERT(zio->io_type == ZIO_TYPE_READ);
+	ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ);
 
 	/*
 	 * Iterate over the columns in reverse order so that we hit the parity


More information about the svn-src-all mailing list