On Fri, Apr 15, 2005 at 03:44:41PM -0400, Thomas J. Teixeira wrote:
> Resending this since it didn't seem to go through the first time -- I'm
> looking for kernel diagnostic tools.
KDB is the tool we use for this sort of work. Get it from XFS CVS,
where there is also XFS extensions for interpreting and dumping out
XFS specific data structures. The current CVS revision is unlikely
to work on 2.6.6 though, since its moved on from then, but you may
be able to coerce CVS into extracting the right version if you must
Your post reminded me of another fix - if you are on 2.6.6 you will
likely not have this... (see xfs_aops.c CVS revision history)
date: 2004/09/30 01:37:19; author: nathans; state: Exp; lines: +19 -12
Fix sync issues - use correct writepage page re-dirty interface, and do
not clear dirty flag if page only partially written.
IIRC, that was merged in 2.6.9 (but don't quote me on that, it was
This may well resolve the issue you're seeing, it resolved all the
known data sync problems at the time, although there now seems to be
a harder-to-hit issue that I'm working through with Rich and James.