DAOS-18890 dfuse: Enhance error handling in close_dup_fd and finalize_myhook functions#18159
Draft
DAOS-18890 dfuse: Enhance error handling in close_dup_fd and finalize_myhook functions#18159
Conversation
…_myhook functions pil4dfs now disables interception at the start of the destructor path, before bulk fd/dirfd/DFS cleanup, so teardown does not re-enter interception logic while it is releasing tracked state. duplicate-fd cleanup now validates the fake-fd slot before calling free_fd(), and fails cleanly with a log if the dup table points at an invalid or already-cleared fake fd instead of walking freed state and corrupting the heap. Allow-unstable-test: true Signed-off-by: Mohamad Chaarawi <mohamad.chaarawi@hpe.com>
|
Ticket title is 'dfuse/bash_fd.py:DFuseFdTest.test_bashfd_pil4dfs - ./bash_fd_outer.sh: line 11: 244212 Aborted' |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pil4dfs now disables interception at the start of the destructor path, before bulk fd/dirfd/DFS cleanup, so teardown does not re-enter interception logic while it is releasing tracked state.
duplicate-fd cleanup now validates the fake-fd slot before calling free_fd(), and fails cleanly with a log if the dup table points at an invalid or already-cleared fake fd instead of walking freed state and corrupting the heap.
Allow-unstable-test: true
Steps for the author:
After all prior steps are complete: