MFV r272499:

Illumos issue:
    5174 add sdt probe for blocked read in dbuf_read()

MFC after:	2 weeks
This commit is contained in:
Xin LI 2014-10-04 08:55:08 +00:00
commit 4750c382a9

View File

@ -671,6 +671,8 @@ dbuf_read(dmu_buf_impl_t *db, zio_t *zio, uint32_t flags)
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)