Print this page
patch nuke-the-dbuf-hash

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/zfs/sys/dbuf.h
          +++ new/usr/src/uts/common/fs/zfs/sys/dbuf.h
↓ open down ↓ 170 lines elided ↑ open up ↑
 171  171          /*
 172  172           * our parent buffer; if the dnode points to us directly,
 173  173           * db_parent == db_dnode_handle->dnh_dnode->dn_dbuf
 174  174           * only accessed by sync thread ???
 175  175           * (NULL when evicted)
 176  176           * May change from NULL to non-NULL under the protection of db_mtx
 177  177           * (see dbuf_check_blkptr())
 178  178           */
 179  179          struct dmu_buf_impl *db_parent;
 180  180  
 181      -        /*
 182      -         * link for hash table of all dmu_buf_impl_t's
 183      -         */
 184      -        struct dmu_buf_impl *db_hash_next;
 185      -
 186  181          /* our block number */
 187  182          uint64_t db_blkid;
 188  183  
 189  184          /*
 190  185           * Pointer to the blkptr_t which points to us. May be NULL if we
 191  186           * don't have one yet. (NULL when evicted)
 192  187           */
 193  188          blkptr_t *db_blkptr;
 194  189  
 195  190          /*
↓ open down ↓ 210 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX