| To: | Rich Johnston <rjohnston@xxxxxxx> |
|---|---|
| Subject: | Re: [PATCH V2] xfs_repair: skip freelist scan of corrupt agf in no-modify mode |
| From: | Eric Sandeen <sandeen@xxxxxxxxxxx> |
| Date: | Fri, 08 Mar 2013 14:31:51 -0600 |
| Cc: | xfs-oss <xfs@xxxxxxxxxxx>, Ole Tange <tange@xxxxxxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <513A4A9B.3050802@xxxxxxx> |
| References: | <51313DE8.5080104@xxxxxxxxxxx> <51326DC0.8030403@xxxxxxxxxxx> <513A4A9B.3050802@xxxxxxx> |
| User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130216 Thunderbird/17.0.3 |
On 3/8/13 2:31 PM, Rich Johnston wrote: > This version looks good. ;) > > Reviewed-by: Rich Johnston <rjohnston@xxxxxxx> > > This has been committed. Thanks; from what Dave said there are probably other spots that need love as well. -Eric > commit 7e8e3cce00f38ee1533df0e7bda6bcb584b03e96 > Author: Eric Sandeen <sandeen@xxxxxxxxxxx> > Date: Sat Mar 2 21:23:12 2013 +0000 > > xfsprogs: xfs_repair skip freelist scan of corrupt agf in no-modify mode > > In xfs_repair's no-modify mode (-n), verify_set_agf doesn't fix up > bad freelist blocks that it finds. When we get to scan_freelist, > this can wreak havoc if, for example, first > last and the loop > never exits; we index agfl->agfl_bno[i] off into the weeds. > > To fix this, re-check the values in no-modify mode, and if > they're off, warn about it and skip the scan. > > > |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH V2] xfs_repair: skip freelist scan of corrupt agf in no-modify mode, Rich Johnston |
|---|---|
| Next by Date: | Re: xfs_repair segfaults, Eric Sandeen |
| Previous by Thread: | Re: [PATCH V2] xfs_repair: skip freelist scan of corrupt agf in no-modify mode, Rich Johnston |
| Next by Thread: | Re: [PATCH V2] xfs_repair: skip freelist scan of corrupt agf in no-modify mode, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |