From: Christoph Hellwig <hch@infradead.org>
To: xfs@oss.sgi.com
Subject: Re: [PATCH 0/3] repair btree validation improvements
Date: Wed, 23 Dec 2009 08:55:15 -0500 [thread overview]
Message-ID: <20091223135515.GA29509@infradead.org> (raw)
In-Reply-To: <20091201150503.958283878@bombadil.infradead.org>
ping?
On Tue, Dec 01, 2009 at 10:05:03AM -0500, Christoph Hellwig wrote:
> This patchset contains some improvements to the allocation btree checking
> in xfs_repair. Patches 2 / 3 are straight ports of code used for xfs_check
> in xfs_db and bring the level of btree-related checks up to the standard
> of xfs_check, making xfs_repair -n a fully suitable replacement for xfs_check.
>
> Patch 1 is a bug fixes found while validating the other patches.
>
> With this code we could in theory start chaning xfs_check to use xfs_repair
> as backend instead of xfs_db, but there are two issues still preventing this
> for now:
>
> - xfs_check is supposed to not give any output when a filesystem is clean
> while xfs_repair is quite noisy
> - xfs_check has a -s option to only complain about serious structural
> issues while xfs_repair lacks the infrastructure for it.
> - xfs_check has -i and -b options to only examine specific blocks or inodes
> in details, while xfs_repair lacks the infrastructure for this.
>
> While we could add support for this in xfs_repair I wonder if we should
> just leave xfs_check as-is and instead tie up xfs_repair -n to fsck.xfs
> if used with the -f option or the /forcefsck file. Most fsck programs
> are a least a bit noisy to we would fit right in and there's not need
> to implement the additional check options.
>
> We can't really get rid of the check code in xfs_db anyway as it's also
> used for xfs_ncheck and useful db commands like blockuse. A second codebase
> also provides a useful validation for xfs_repair.
>
> _______________________________________________
> xfs mailing list
> xfs@oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs
---end quoted text---
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
prev parent reply other threads:[~2009-12-23 13:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-01 15:05 [PATCH 0/3] repair btree validation improvements Christoph Hellwig
2009-12-01 15:05 ` [PATCH 1/3] repair: fix freespace btree record validation Christoph Hellwig
2009-12-30 22:25 ` Dave Chinner
2009-12-01 15:05 ` [PATCH 2/3] repair: add more fresspace btree checks Christoph Hellwig
2009-12-30 22:26 ` Dave Chinner
2009-12-01 15:05 ` [PATCH 3/3] repair: compare superblock / AG headers fields against manual counts Christoph Hellwig
2009-12-30 22:43 ` Dave Chinner
2010-01-02 11:10 ` Christoph Hellwig
2009-12-23 13:55 ` Christoph Hellwig [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091223135515.GA29509@infradead.org \
--to=hch@infradead.org \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox