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.c...@delphix.com>
  Reviewed by: Matthew Ahrens <mahr...@delphix.com>
  Reviewed by: Steven Hartland <kill...@multiplay.co.uk>
  Reviewed by: Richard Elling <richard.ell...@gmail.com>
  Reviewed by: Boris Protopopov <bprotopo...@hotmail.com>
  Reviewed by: Steven Hartland <kill...@multiplay.co.uk>
  Reviewed by: Garrett D'Amore <garr...@damore.org>
  Approved by: Robert Mustacchi <r...@joyent.com>
  Author: Adam H. Leventhal <a...@delphix.com>
  
  illumos/illumos-gate@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)
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to