Re: [PATCH] [RFC] xfs: make xfs btree stats less huge

Carlos Maiolino <[email protected]> Tue, 13 Sep 2016 11:06:57 +0200
Newsgroups gmane.comp.file-systems.xfs.general
Message-ID <[email protected]>
On Tue, Sep 13, 2016 at 06:28:42PM +1000, Dave Chinner wrote:
> From: Dave Chinner <[email protected]>
> 
> Embedding a switch statement in every btree stats inc/add adds a lot
> of code overhead to the core btree infrastructure paths. Stats are
> supposed to be small and lightweight, but the btree stats have
> become big and bloated as we've added more btrees. It needs fixing
> because the reflink code will just add more overhead again.

Talking about stats, is there any documentation for that? I was using the log
stats while working on the fail_at_unmount hang, and I couldn't find anything
other than looking into the code to see what each number means.

Cheers

-- 
Carlos

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs