diff options
author | Seth Jennings <sjenning@linux.vnet.ibm.com> | 2011-12-30 10:42:15 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-08 14:14:14 -0800 |
commit | 2a4830110b90deb4ee99b1ab8c8ebb120f27c0c8 (patch) | |
tree | 642f3ddca90439ff7fff2b76474319de2525807c /MAINTAINERS | |
parent | a9d3c9e3c575ee09c905e07ae7cc1d52e2548d05 (diff) | |
download | talos-op-linux-2a4830110b90deb4ee99b1ab8c8ebb120f27c0c8.tar.gz talos-op-linux-2a4830110b90deb4ee99b1ab8c8ebb120f27c0c8.zip |
staging: zcache: fix serialization bug in zv stats
In a multithreaded workload, the zv_curr_dist_counts
and zv_cumul_dist_counts statistics are being corrupted
because the increments and decrements in zv_create
and zv_free are not atomic.
This patch converts these statistics and their corresponding
increments/decrements/reads to atomic operations.
Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>
Acked-by: Dan Magenheimer <dan.magenheimer@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions