-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DAOS-15829 object: fix potential DRAM leak when retry after DTX refre…
…sh (#14394) (#14432) Two possible DRAM leak when re-enter obj_local_rw_internal(): 1. daos_iod_recx_dup() will allocate new iods to replace input one. But the input one may be former daos_iod_recx_dup() allocated. 2. obj_fetch_csum_init() may allocate new orw_iod_csums arrays that may overwrite former allocated ones. Some other fixes: a. obj_fetch_create_maps() may miss new iods wnen re-enter. b. obj_prep_fetch_sgls() miss to handle re-enter case. c. Drop redundant anthor restore for enumeration retry after DTX refresh. d. Add some log message for the cases that need DTX refresh. Signed-off-by: Fan Yong <fan.yong@intel.com>
- Loading branch information
1 parent
28d189a
commit 868bf18
Showing
1 changed file
with
98 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters