path: root/xlators/debug/io-stats/src/io-stats.c
diff options
authorNiels de Vos <>2017-04-07 13:02:08 +0200
committerJeff Darcy <>2017-04-10 11:05:56 -0400
commitec0e1176d476ef5765efe7713ce6a57f2f081722 (patch)
treef3a3aacfc9aa0342d62d44e1decb49c17041b77b /xlators/debug/io-stats/src/io-stats.c
parent44b1a68bc9bc1605d208d50fbafae85967085e58 (diff)
mem-pool: use gf_atomic_t for atomic counters
Reduce the usage of __sync_fetch_and_add() builtins in mem-pool. The new gf_atomic_t type can be used instead, so that the architecture and compiler specific builtins are hidden from the mem-pool implementation. BUG: 1437037 Change-Id: Icbeeb187dd2b835b35f32f54f821ceddfc7b2638 Signed-off-by: Niels de Vos <> Reviewed-on: NetBSD-regression: NetBSD Build System <> CentOS-regression: Gluster Build System <> Smoke: Gluster Build System <> Reviewed-by: Kaleb KEITHLEY <> Reviewed-by: Amar Tumballi <>
Diffstat (limited to 'xlators/debug/io-stats/src/io-stats.c')
0 files changed, 0 insertions, 0 deletions