dbuf_evict_notify() does not need dbuf_evict_lock
dbuf_evict_notify() holds the dbuf_evict_lock while checking if it should do the eviction itself
(because the evict thread is not able to keep up). This can result in massive lock contention.
It isn't necessary to hold the lock, because if we make the wrong choice occasionally, nothing
bad will happen.
Updated by Electric Monk over 2 years ago
- % Done changed from 0 to 100
- Status changed from New to Closed
commit dbfd9f930004c390a2ce2cf850c71b4f880eef9c Author: Matthew Ahrens <email@example.com> Date: 2017-06-08T01:56:23.000Z 8156 dbuf_evict_notify() does not need dbuf_evict_lock Reviewed by: Dan Kimmel <firstname.lastname@example.org> Reviewed by: Paul Dagnelie <email@example.com> Approved by: Robert Mustacchi <firstname.lastname@example.org>