Messages in this thread | | | From | Dave Chinner <> | Subject | [PATCH 0/2 v2] percpu_counter: xfs requires custom compare batch size | Date | Wed, 13 May 2015 09:52:32 +1000 |
| |
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.
| |