Whamcloud - gitweb
LU-14513 osd: release o_guard before quota acquisition 18/42018/11
authorAlex Zhuravlev <bzzz@whamcloud.com>
Fri, 12 Mar 2021 06:17:11 +0000 (09:17 +0300)
committerOleg Drokin <green@whamcloud.com>
Mon, 21 Jun 2021 22:16:29 +0000 (22:16 +0000)
commit356248c8a14571049d0ae9eb09c5107397b92d65
treec1e28d7a85ddeda327817719d9134408f15b11de
parent905b7685c1cc32c25406c70201748d36eef05736
LU-14513 osd: release o_guard before quota acquisition

to avoid deadlocks as regular transactions (like write) start
a transaction, then grab o_guard.

Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: I2678677ed6c213e4bed30cc1218e48b8f2900dc4
Reviewed-on: https://review.whamcloud.com/42018
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Wang Shilong <wshilong@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osd-zfs/osd_object.c