Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2019 13:44:19 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r348904 - stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Message-ID:  <201906111344.x5BDiJNW093551@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906111344.x5BDiJNW093551>