Bug 217129 - GFS2 and ACL bug?
Summary: GFS2 and ACL bug?
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: GFS
Version: rawhide
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Steve Whitehouse
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 218478
TreeView+ depends on / blocked
 
Reported: 2006-11-24 07:07 UTC by Gary Lindstrom
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version: 2.6.19-1.2895
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-01-15 09:31:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Kernel errors for gfs2 with ACL mount option (53.59 KB, application/octet-stream)
2006-11-24 07:09 UTC, Gary Lindstrom
no flags Details

Description Gary Lindstrom 2006-11-24 07:07:46 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061107 Fedora/1.5.0.8-1.fc6 Firefox/1.5.0.8

Description of problem:
Steve,

Got this (see attachment to this bz) after mounting the gfs2 volume with acl option.  Not really sure if it is new or related to my previous deadlock problems, but thought I better submit it.  Maybe your latest patches are not in this kernel and this is taken care of in your tree.  I was doing a couple finds.  You will all see a sysreq dump included in case it helps.  Runnig devel version, kernel kernel-devel-2.6.18-1.2849.fc6 and the latest updates to cman, clvm, openais, etc.

FWIW, the find process is hung chewing through 100% CPU, I assume spinning on a lock...


Version-Release number of selected component (if applicable):


How reproducible:
Sometimes


Steps to Reproduce:
Sorta reproducible (intermittant)

1.  Mount gfs2 volume with acl?
2.  use find to find a file

Actual Results:
Find a file (or not) with kernel errors

Expected Results:
Find a file (or not) without kernel errors///

Additional info:

Comment 1 Gary Lindstrom 2006-11-24 07:09:16 UTC
Created attachment 142039 [details]
Kernel errors for gfs2 with ACL mount option

Kernel errors and sysreq dump of problem...

Comment 2 Steve Whitehouse 2006-11-24 12:08:23 UTC
This is caused by some incorrect logic when checking the acl which hasn't
correctly worked out whether the inode is already locked or not and has tried to
lock it again. I'll try to come up with a patch shortly.

Comment 3 Steve Whitehouse 2006-11-27 09:48:06 UTC
I've just pushed a patch to the -nmw git tree to fix this problem.

Comment 4 Steve Whitehouse 2006-11-28 12:00:17 UTC
This is the URL of the fix:

http://www.kernel.org/git/?p=linux/kernel/git/steve/gfs2-2.6-nmw.git;a=commitdiff;h=1280e45239c48cc93758fcb862458e139ce340a2

I would have posted it yesterday, but it seems that kernel.org is very slow to
update these days. You can get a plain version from the "plain" link at the top
of the web page.


Comment 5 Steve Whitehouse 2007-01-15 09:31:35 UTC
Fixed in FC6 kernel 2.6.19-1.2895


Note You need to log in before you can comment on or make changes to this bug.