diff options
author | George Wilson <[email protected]> | 2018-07-31 17:51:15 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-08-02 10:21:48 -0700 |
commit | 3d503a76e890d7711d5e906e025e092d0e244211 (patch) | |
tree | 3d82659f96cc5eb86b2c86589a59e70929c4ff83 /include/sys/dnode.h | |
parent | fd7265c646f40e364396af5014bbb83e809e124a (diff) |
Fix OpenZFS 9337 mismerge
This change reintroduces logic required by OpenZFS 9577. When
OpenZFS 9337, zfs get all is slow due to uncached metadata, was
merged in it ended up removing logic required by OpenZFS 9577,
remove zfs_dbuf_evict_key, and inadvertently reintroduced the
bug that 9577 was designed to fix.
This change re-enables the "evicting" flag to dbuf_rele_and_unlock
and dnode_rele_and_unlock and updates all callers to provide the
correct parameter.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: George Wilson <[email protected]>
Closes #7758
Diffstat (limited to 'include/sys/dnode.h')
-rw-r--r-- | include/sys/dnode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/dnode.h b/include/sys/dnode.h index 6fdde5067..0774e663f 100644 --- a/include/sys/dnode.h +++ b/include/sys/dnode.h @@ -408,7 +408,7 @@ int dnode_hold_impl(struct objset *dd, uint64_t object, int flag, int dn_slots, void *ref, dnode_t **dnp); boolean_t dnode_add_ref(dnode_t *dn, void *ref); void dnode_rele(dnode_t *dn, void *ref); -void dnode_rele_and_unlock(dnode_t *dn, void *tag); +void dnode_rele_and_unlock(dnode_t *dn, void *tag, boolean_t evicting); void dnode_setdirty(dnode_t *dn, dmu_tx_t *tx); void dnode_sync(dnode_t *dn, dmu_tx_t *tx); void dnode_allocate(dnode_t *dn, dmu_object_type_t ot, int blocksize, int ibs, |