]> git.proxmox.com Git - mirror_zfs.git/commit
Skip evicting dbufs when walking the dbuf hash
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 6 Feb 2015 01:00:05 +0000 (17:00 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 6 Feb 2015 17:24:28 +0000 (09:24 -0800)
commite2c4acde55931ae58d5bf5fd394567a96e942a5c
treed5f709c4c8dc01b99bb060c4bb6824a0115a5f91
parentaa506dcb3d2ec4a26d0e20854fa0bf370738a422
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
module/zfs/dbuf_stats.c