OpenSolaris

Printable Version Enter a New Search
Bug ID 6571465
Synopsis leak in arc_meta_used accounting
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:zfs
Keywords
Responsible Engineer Mark Maybee
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_68
Fixed In snv_68
Release Fixed solaris_nevada(snv_68) , solaris_10u6(s10u6_01) (Bug ID:2156390)
Related Bugs 6542676 , 6572908
Submit Date 19-June-2007
Last Update Date 29-April-2008
Description
As discovered by Pavel Jakub Dawidek, while attempting to port the latest
ZFS changes to FreeBSD:

	"After runing find(1) on file system with ~5.000.000 files and exporting 
	the pool I see that arc_meta_used is greater than zero."

Once the pool has been exported, there should be no residual meta-data left in the
ARC, so the arc_meta_used bean counter should report zero.

In tests on Solaris I have noted the same problem.  We appear to be missing a
matching 'arc_space_return()' for one or more of the 'arc_space_consume()' calls.
Work Around
N/A
Comments
N/A