HomeFreeBSD

cache: eliminate cache_zap_locked_vnode

Description

cache: eliminate cache_zap_locked_vnode

It is only ever called for negative entries and for those it is
just a wrapper around cache_zap_negative_locked_vnode_kl which
always succeeds.

This also fixes a bug where cache_lookup_fallback should have been
calling cache_zap_locked_bucket instead. Note that in order to trigger
the bug NOCACHE must not be set, which currently only happens when
creating a new coredump (and then the coredump-to-be has to have a
negative entry).

Details

Provenance
mjgAuthored on Sep 24 2020, 3:38 AM
Parents
rG4cd407ec933b: dd a new option (-H) to daemon(8) to catch SIGHUP and re-open output_file fileā€¦
Branches
Unknown
Tags
Unknown

Event Timeline