[Top] [All Lists]

Re: 3.5.0-rc5: inconsistent lock state

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: 3.5.0-rc5: inconsistent lock state
From: Christian Kujau <lists@xxxxxxxxxxxxxxx>
Date: Thu, 5 Jul 2012 18:55:39 -0700 (PDT)
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <20120706010126.GT19223@dastard>
References: <alpine.DEB.2.01.1207041206390.5568@xxxxxxxxxxxxxx> <20120705074307.GA28127@xxxxxxxxxxxxx> <alpine.DEB.2.01.1207050535420.5568@xxxxxxxxxxxxxx> <20120705215940.GP19223@dastard> <alpine.DEB.2.01.1207051615421.5568@xxxxxxxxxxxxxx> <20120706010126.GT19223@dastard>
User-agent: Alpine 2.01 (DEB 1266 2009-07-14)
On Fri, 6 Jul 2012 at 11:01, Dave Chinner wrote:
> Applications can use attributes without you being aware of them.
> e.g. Samba, desktop search/indexing, etc might be using attributes
> even though you aren't explicitly using them....

Hm, it's some kind of server, samba is serving those mounts, but only as 
readonly shares. When running "getfattr -R" or "getfacl -R" on these xfs 
filesystems, only very few (<100) file have attribtues / ACLs set.

> > 50 bytes sounds more than enought for holding only unix permissions.
> Unix permissions are held in the inode core, not in the attribute
> space.

Even better, so I'm really at a loss what could use up this attribute 

> And i did say "typically". if you have a file that has 6-7 extents,
> then there won't be any space for attributes and it will put new
> attributes out of line immediately....

$ xfs_bmap foo | wc -l

And there are lots of files held by lots of extents, so this might be it.

Thanks for this guide through this attribute business. There's currently 
no problem with any of the filesystems but I was tipped off by Christoph's 
remark about "running out of inode attributes" which got me scared a 
little. I understand that it might be a performance issue having to do 
an extra lookup for attributes, but I still fail to see how (and where) 
they sneaked into the fs.

BOFH excuse #284:

Electrons on a bender

<Prev in Thread] Current Thread [Next in Thread>