svn commit: r272499 - vendor-sys/illumos/dist/uts/common/fs/zfs

Xin LI delphij at FreeBSD.org
Sat Oct 4 07:39:00 UTC 2014


Author: delphij
Date: Sat Oct  4 07:38:59 2014
New Revision: 272499
URL: https://svnweb.freebsd.org/changeset/base/272499

Log:
  5174 add sdt probe for blocked read in dbuf_read()
  Reviewed by: Basil Crow <basil.crow at delphix.com>
  Reviewed by: Matthew Ahrens <mahrens at delphix.com>
  Reviewed by: Steven Hartland <killing at multiplay.co.uk>
  Reviewed by: Richard Elling <richard.elling at gmail.com>
  Reviewed by: Boris Protopopov <bprotopopov at hotmail.com>
  Reviewed by: Steven Hartland <killing at multiplay.co.uk>
  Reviewed by: Garrett D'Amore <garrett at damore.org>
  Approved by: Robert Mustacchi <rm at joyent.com>
  Author: Adam H. Leventhal <ahl at delphix.com>
  
  illumos/illumos-gate at f6164ad638e7346c4ae4ba393760a897cf6eb744

Modified:
  vendor-sys/illumos/dist/uts/common/fs/zfs/dbuf.c

Modified: vendor-sys/illumos/dist/uts/common/fs/zfs/dbuf.c
==============================================================================
--- vendor-sys/illumos/dist/uts/common/fs/zfs/dbuf.c	Sat Oct  4 07:37:17 2014	(r272498)
+++ vendor-sys/illumos/dist/uts/common/fs/zfs/dbuf.c	Sat Oct  4 07:38:59 2014	(r272499)
@@ -671,6 +671,8 @@ dbuf_read(dmu_buf_impl_t *db, zio_t *zio
 			    db->db_state == DB_FILL) {
 				ASSERT(db->db_state == DB_READ ||
 				    (flags & DB_RF_HAVESTRUCT) == 0);
+				DTRACE_PROBE2(blocked__read, dmu_buf_impl_t *,
+				    db, zio_t *, zio);
 				cv_wait(&db->db_changed, &db->db_mtx);
 			}
 			if (db->db_state == DB_UNCACHED)


More information about the svn-src-all mailing list