summaryrefslogtreecommitdiffstats
path: root/tests/bugs/glusterfs-server/bug-852147.t
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2019-10-22 15:41:41 +0300
committerSusant Palai <spalai@redhat.com>2019-12-17 05:45:42 +0000
commit49f524def676e62e0f0cfb8a674bc28923c28f13 (patch)
treef4b9eebfa5e7870a64593913cab4f735f5bda209 /tests/bugs/glusterfs-server/bug-852147.t
parent5ab835004371f2165d1c3f335aa0fd777c9f8c20 (diff)
dht-common.h/dht-helper.c: exctract the LOCK() from DHT_UPDATE_TIME
Currently, the code (and only place) that is using this macro is in dht_inode_ctx_time_update() where it is called 3 times in a row, which is essentially 3 cycles of LOCK/UNLOCK on the same lock. Instead, extract the LOCK()/UNLOCK() part of the macro and wrap those calls with it. Change-Id: I6312b985e3d97517857b55f342440accc4063db6 updates: bz#1193929 Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'tests/bugs/glusterfs-server/bug-852147.t')
0 files changed, 0 insertions, 0 deletions