Whamcloud - gitweb
LU-15117 ofd: don't take lock for dt_bufs_get() 29/47029/5
authorAlex Zhuravlev <bzzz@whamcloud.com>
Mon, 11 Apr 2022 08:30:44 +0000 (11:30 +0300)
committerOleg Drokin <green@whamcloud.com>
Mon, 27 Jun 2022 04:57:10 +0000 (04:57 +0000)
osd_bufs_get() allocates the pages and can cause new transactions
as part of memory release procedure. this would break Lustre's
"start a transaction, then do locking" rule.

Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: I58a52af8e2fbbc4823aafc133893e1defedf99b7
Reviewed-on: https://review.whamcloud.com/47029
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>

No differences found