summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorXavi Hernandez <xhernandez@redhat.com>2019-07-04 13:21:33 +0200
committerRinku Kothiya <rkothiya@redhat.com>2019-07-20 07:42:59 +0000
commite69bc0a183d9cbbace0bc36de87707fc059f2c35 (patch)
treedff23cc1f20765bbbc85e4544523f62e682af482 /xlators
parent4ad6dd3ca8cd558b853c7df0d6cd34dd22dff7d3 (diff)
core: fix deadlock between statedump and fd_anonymous()
There exists a deadlock between statedump generation and fd_anonymous() function because they are acquiring inode table lock and inode lock in reverse order. This patch modifies fd_anonymous() so that it takes inode lock only when it's really necessary, avoiding the deadlock. Backport of: > Change-Id: I24355447f0ea1b39e2546782ad07f0512cc381e7 > BUG: 1727068 > Signed-off-by: Xavi Hernandez <xhernandez@redhat.com> Change-Id: I24355447f0ea1b39e2546782ad07f0512cc381e7 Fixes: bz#1729950 Signed-off-by: Xavi Hernandez <xhernandez@redhat.com>
Diffstat (limited to 'xlators')
0 files changed, 0 insertions, 0 deletions