Whamcloud - gitweb
LU-15117 ofd: no lock for dt_bufs_get() in read path
authorAlex Zhuravlev <bzzz@whamcloud.com>
Fri, 12 Aug 2022 11:24:17 +0000 (14:24 +0300)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 23 Mar 2024 20:33:03 +0000 (20:33 +0000)
commit7d3b69f44e9279e9f29e480b4c66c35f4d5c2201
tree1941117120309e5d72b9c75a4595f6b92d8e1a7e
parent58a6e113eb6fc06b6b0f9b46800828a690e43d26
LU-15117 ofd: no lock for dt_bufs_get() in read path

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.

Lustre-change: https://review.whamcloud.com/48209
Lustre-commit: 85941b9fb9ef5c27870550469f2e088c4e690603

Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: I782f0cc6c96251ad88d5fb8d15c9ac91d382bf7e
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54535
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/ofd/ofd_io.c