Ramzec requested changes on this pull request.


> @@ -2940,7 +2916,8 @@ dbuf_rele_and_unlock(dmu_buf_impl_t *db, void *tag)
                                    db->db.db_size, db);
                                mutex_exit(&db->db_mtx);
 
-                               if (db->db_caching_status == DB_DBUF_CACHE) {
+                               if (db->db_caching_status == DB_DBUF_CACHE &&
+                                   !evicting) {
                                        dbuf_evict_notify();

What if pass "evicting" param to the function as a "don't_do_direct_eviction" 
param so eviction thread will always be awakened ASAP?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/645#pullrequestreview-125409966
------------------------------------------
openzfs: openzfs-developer
Permalink: 
https://openzfs.topicbox.com/groups/developer/Tb73a3d2cba6f4c23-M2e6004a0219f621a107ea3ad
Delivery options: https://openzfs.topicbox.com/groups

Reply via email to