summaryrefslogtreecommitdiffstats
path: root/xlators/performance/nl-cache
diff options
context:
space:
mode:
authorSoumya Koduri <skoduri@redhat.com>2018-12-18 22:07:55 +0530
committerShyamsundar Ranganathan <srangana@redhat.com>2019-01-09 15:16:24 +0000
commite1257564b85901a31a05afa0316ebc0c52d00cff (patch)
tree05fc67b70a2bc9d4177abde25118b37689a4429e /xlators/performance/nl-cache
parentcee5f93ac00f628539f0367bc4958d59b98af011 (diff)
gfapi: Access fs->oldvolfile under mutex lock
In some cases (for eg., when there are multiple RPC_CLNT_CONNECT notifications), multiple threads may fetch volfile and try to update it in 'fs' object simultaneously. Hence protect those variables' access under fs->mutex lock. This is backport of below two mainline patches - - https://review.gluster.org/#/c/glusterfs/+/21882/ - https://review.gluster.org/#/c/glusterfs/+/21927/ Change-Id: Idaee9548560db32d83f4c04ebb1f375fee7864a9 fixes: bz#1663131 Signed-off-by: Soumya Koduri <skoduri@redhat.com> (cherry picked from commit 8fe3c6107a2b431d7cc0b8cfaeeb7941cf9590f9)
Diffstat (limited to 'xlators/performance/nl-cache')
0 files changed, 0 insertions, 0 deletions