Skip to contentSkip to conversation

2.6.27-based kernel failing xfstests xfs/182

DISCUSSION Chris Friesen 2 participants 3 messages May 13, 2013 – May 15, 2013

lore
Share & tools
lore
#0 lore raw

Hi,

I'm working on an embedded system running a 2.6.27-based kernel.

I'm digging into some intermittent xfs corruption issues. Yes, I realize the right answer is probably to upgrade, but for the usual embedded reasons that's tricky.

I'm seeing test xfs/182 fail with 40 or so files showing messages like:

file /opt/xfstest2/960 has incorrect size - sync failed

In our case the xfs filesystems used for testing are on top of lvm, which is in turn on top of two SAS drives in RAID1.

Any suggestions on where I should start looking? I'm looking at the "do_sync() and XFSQA test 182 failures...." thread on the mailing list from 2008, can someone point me to the commit that eventually resulted from that?

Thanks,
Chris

Signature · 9 lines
Chris Friesen
Software Designer
www.genband.com
office:+1.343.883.2717

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#1 lore raw
Quoted 13 lines · Chris Friesen

Hi,

I'm working on an embedded system running a 2.6.27-based kernel.

I'm digging into some intermittent xfs corruption issues. Yes, I realize the right answer is probably to upgrade, but for the usual embedded reasons that's tricky.

I'm seeing test xfs/182 fail with 40 or so files showing messages like:

file /opt/xfstest2/960 has incorrect size - sync failed

Quoted 7 lines

In our case the xfs filesystems used for testing are on top of lvm, which is in turn on top of two SAS drives in RAID1.

Any suggestions on where I should start looking? I'm looking at the "do_sync() and XFSQA test 182 failures...." thread on the mailing list from 2008, can someone point me to the commit that eventually resulted from that?

I doubt anyone can pinpoint a fix for you. I'd suggest that you find the kernel release where the test starts passing, and the work backwards from there...

Cheers,

Dave.

Signature · 7 lines
Dave Chinner
[email protected]

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

Re: 2.6.27-based kernel failing xfstests xfs/182 -- resolved, I think

In reply to Chris Friesen
Quoted 13 lines · Chris Friesen

Hi,

I'm working on an embedded system running a 2.6.27-based kernel.

I'm digging into some intermittent xfs corruption issues. Yes, I realize the right answer is probably to upgrade, but for the usual embedded reasons that's tricky.

I'm seeing test xfs/182 fail with 40 or so files showing messages like:

file /opt/xfstest2/960 has incorrect size - sync failed

Quoted 7 lines

In our case the xfs filesystems used for testing are on top of lvm, which is in turn on top of two SAS drives in RAID1.

Any suggestions on where I should start looking? I'm looking at the "do_sync() and XFSQA test 182 failures...." thread on the mailing list from 2008, can someone point me to the commit that eventually resulted from that?

I think I may have figured it out.

I assume this was part of the impetus for the patch series from Jan Kara starting with "[PATCH 0/8] Sync fixes and cleanups (version 4)" that went into 2.6.31.

Thanks,
Chris

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