| To: | Dave Chinner <david@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 5/5] repair: prevent blkmap extent count overflows |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Mon, 10 Oct 2011 10:17:38 -0400 |
| Cc: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1318208915-14975-6-git-send-email-david@xxxxxxxxxxxxx> |
| References: | <1318208915-14975-1-git-send-email-david@xxxxxxxxxxxxx> <1318208915-14975-6-git-send-email-david@xxxxxxxxxxxxx> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
> Add overflow detection code into the blkmap allocation code to avoid > this problem. The code looks a bit odd with the conditional defintion of BLKMAP_NEXTS_MAX, and the ifdefed printfs after that, but I can't think of a better way to handle it either. Reviewed-by: Christoph Hellwig <hch@xxxxxx> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 4/5] repair: don't cache large blkmap allocations, Christoph Hellwig |
|---|---|
| Next by Date: | Re: [PATCH 0/5, v3] repair: sector size and blkmap fixes, Christoph Hellwig |
| Previous by Thread: | [PATCH 5/5] repair: prevent blkmap extent count overflows, Dave Chinner |
| Next by Thread: | Re: [PATCH 5/5] repair: prevent blkmap extent count overflows, Alex Elder |
| Indexes: | [Date] [Thread] [Top] [All Lists] |