| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 0/2 v2] percpu_counter: xfs requires custom compare batch size |
| From: | Dave Chinner <david@xxxxxxxxxxxxx> |
| Date: | Wed, 13 May 2015 09:52:32 +1000 |
| Cc: | linux-kernel@xxxxxxxxxxxxxxx, peterz@xxxxxxxxxxxxx, tj@xxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
Hi folks, This is v2 of the regression fix for the new generic per-cpu superblock counter code in XFS. The problems fixed arise from using custom batch sizes for addition and decrement exceeding the "accurate compare" bounds in percpu_counter_compare() and hence resulting in incorrect comparisons being made. This regression was introduced in 4.1-rc1 and it requires a small tweak to the percpu counter infrastructure to fix, hence the two patches. Comments welcome! -Dave. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: any chance for xfs shrinking?, Dave Chinner |
|---|---|
| Next by Date: | [PATCH 1/2] percpu_counter: batch size aware __percpu_counter_compare(), Dave Chinner |
| Previous by Thread: | [PATCH 0/2 V3] allow UUID changes on V5/CRC filesystems, Eric Sandeen |
| Next by Thread: | [PATCH 1/2] percpu_counter: batch size aware __percpu_counter_compare(), Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |