Oops at xfs_bmbt_get_startoff in SLES 10 2.6.16
A message that is not in the archive (sent off-list or not yet received): 1416563271.242851240369384712.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com
Quoted 41 lines · ----- "Eric Sandeen
Quoted 5 lines · Felix Blyakher
Quoted 3 lines · Eric Sandeen
Quoted 2 lines · Felix Blyakher
On Apr 21, 2009, at 9:16 PM, Eric Sandeen wrote:
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines · Kevin Jamieson
Quoted 5 lines · Kevin Jamieson
Quoted 3 lines · Eric Sandeen
For SLES that usually is the best route...
However,
http://oss.sgi.com/archives/xfs/2009-02/msg00220.html
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
Quoted 4 lines
looks
applicable... don't think it ever got merged though.perhaps you could test it?
Thanks, Eric. I will test Lachlan's patch on our system.
To follow this up, since applying the patch from the above
thread
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
there
have been no re-occurrences of the issue on our test serversover
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
the past
month.And you hit it pretty reliably before, right? Sounds like we
need
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 2 lines
to
give that a pretty strong eyeball and get it merged, perhaps.I was looking at this patch too.
But I could never reproduce the problem, even with Lachlan's test program. Kevin, any idea what kind of io load triggered thisproblem?
Quoted 7 lines
Quoted 7 lines
Quoted 5 lines
The patch looks right, but I really want to prove the problem exists, and the patch addresses it.
Felix
FWIW I can't reproduce either, with the stated commandline.
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Should try it with a 1k blocksize, though - maybe Lachlan tested 4k
on
Quoted 3 lines
Quoted 1 line
16k page ia64?
That's what I've tested on.
Ah, well, I just spoke with Lachlan and he said he tested on
x86_64, 4k/4k. So hrm...
You'll probably need to tweak the arguments to the test program to generate the precise senario to trigger the race. I remember having to play around with them until I got it to crash reliably. It will depend on how fast your CPUs are, how much of the file is cached before it is paged to disk, how fast the disks are, etc...
The race requires a thread to be executing xfs_file_last_byte() while another thread is modifying the file's extent map - in particular shrinking the extent map by merging extents.
Quoted 7 lines
-Eric
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Lachlan,
any chance we could get you to resubmit the minimal locking fix for now?
We can play with the test program than to find some cause the other corruptions. We also still have that non-freed attr fork patch that was somewhat related which we still need get done :P
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 4 lines · ----- "Christoph Hellwig
Lachlan,
any chance we could get you to resubmit the minimal locking fix for now?
Okay, done. If people still see problems then we should take the rest of the patch too (of course I would suggest taking it anyway but it needs more soak testing).
Quoted 2 lines
We can play with the test program than to find some cause the other
I suggest increasing or decreasing the -l argument until you can reproduce the problem. Timing it so that the file's data is being flushed to disk (and therefore delayed allocations being converted and extents merged) at the same time the file is closed (ie the fput() is done) can be tricky.
It may be easier to reproduce if another program, running concurrently to the test program, is simply opening and close the file repeatedly.
Quoted 8 lines
corruptions. We also still have that non-freed attr fork patch that was
somewhat related which we still need get done :P_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs