| To: | Dave Chinner <david@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 5/9] repair: detect CRC errors in AG headers |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Mon, 21 Apr 2014 00:11:06 -0700 |
| Cc: | xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1397550301-31883-6-git-send-email-david@xxxxxxxxxxxxx> |
| References: | <1397550301-31883-1-git-send-email-david@xxxxxxxxxxxxx> <1397550301-31883-6-git-send-email-david@xxxxxxxxxxxxx> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
On Tue, Apr 15, 2014 at 06:24:57PM +1000, Dave Chinner wrote: > From: Dave Chinner <dchinner@xxxxxxxxxx> > > repair doesn't currently detect verifier errors in AG header > blocks - apart from the primary superblock they are not detected. > They are, fortunately, corrected in the important cases (AGF, AGI > and AGFL) because these structures are rebuilt in phase 5, but if > you run xfs_repair in checking mode it won't report them as bad. Shouldn't we apply the same scheme as for directories here, that is if it fails with a verifier error re-read without the verifier and then still do the full check as well? Btw, it might make sense to have special read_buf variants in libxfs that always return a valid buffer even if the verifier fails, just telling us about it without having to re-read. |
| Previous by Date: | Re: [PATCH 4/9] repair: detect and correct CRC errors in directory blocks, Christoph Hellwig |
|---|---|
| Next by Date: | Re: [PATCH 7/9] repair: remove more dirv1 leftovers, Christoph Hellwig |
| Previous by Thread: | Re: [PATCH 5/9] repair: detect CRC errors in AG headers, Dave Chinner |
| Next by Thread: | Re: [PATCH 5/9] repair: detect CRC errors in AG headers, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |