[PATCH 0/2 v2] percpu_counter: xfs requires custom compare batch size
Dave Chinner
david at fromorbit.com
Tue May 12 18:52:32 CDT 2015
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.
More information about the xfs
mailing list