HomeFreeBSD

Skip evicting dbufs when walking the dbuf hash

Description

Skip evicting dbufs when walking the dbuf hash

When a dbuf is in the DB_EVICTING state it may no longer be on the
dn_dbufs list. In which case it's unsafe to call DB_DNODE_ENTER.
Therefore, any dbuf which is found in this safe must be skipped.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2553
Closes #2495

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Feb 6 2015, 1:00 AM
Parents
rGaa506dcb3d2e: Fix build error when make deb
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGe2c4acde5593: Skip evicting dbufs when walking the dbuf hash (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Feb 6 2015, 5:24 PM