| To: | Dave Chinner <david@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] xfs: fix superblock inprogress check |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Thu, 25 Aug 2016 01:08:12 -0700 |
| Cc: | linux-xfs@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1471844367-9679-1-git-send-email-david@xxxxxxxxxxxxx> |
| References: | <1471844367-9679-1-git-send-email-david@xxxxxxxxxxxxx> |
| User-agent: | Mutt/1.6.1 (2016-04-27) |
On Mon, Aug 22, 2016 at 03:39:27PM +1000, Dave Chinner wrote: > From: Dave Chinner <dchinner@xxxxxxxxxx> > > >From inspection, the superblock sb_inprogress check is done in the > verifier and triggered only for the primary superblock via a > "bp->b_bn == XFS_SB_DADDR" check. > > Unfortunately, the primary superblock is an uncached buffer, and > hence it is configured by xfs_buf_read_uncached() with: > > bp->b_bn = XFS_BUF_DADDR_NULL; /* always null for uncached buffers */ Hmm, I wonder why we did that, it seems a bit counter intuitive. But the patch itself looks fine, Reviewed-by: Christoph Hellwig <hch@xxxxxx> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] xfs/033: source mkfs output again if isize less than 512, Christoph Hellwig |
|---|---|
| Next by Date: | Re: [PATCH 1/5] xfs: don't log the entire end of the AGF, Christoph Hellwig |
| Previous by Thread: | Re: [PATCH] xfs: fix superblock inprogress check, Brian Foster |
| Next by Thread: | winter knitted neck warmer, simon.lilei@xxxxxxx |
| Indexes: | [Date] [Thread] [Top] [All Lists] |