Open
Conversation
added 9 commits
May 8, 2025 17:56
* tracks requests into px-fuse (added op to track) * tracks multiple states during data copy from px-fuse to px-storage for write request * tracks fastpath start and end
* tracks rerouting IO to native path * tracks request complete in native path
* tracks failover/fallback start and end * for failover, since it can happen because of IO failure and also from userspace, specify the reason as well
* to track PXD_ADD_EXT, PXD_REMOVE, PXD_EXPORT_DEV and fastpath_reset_device
* Adds trace for pxd_request in fuse_request_send_nowait since it has access to the unique id * Add trace for tracking the block resize * on updating the block device's size as part of resize, make sure to update the pxd_dev->size as well
* to align with completion
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.
Test notes
Available tracenative pathnative path - IO request and responsenative path - IO processing, iovec < 64native path - IO processing, iovec > 64fastpathfastpath setupfastpath IO request and completionfallback and failoverfastpath failure of IOs => failover, captures the IO failing in fastpath and queued in native pathIn
pxd_initiate_failover, reason = 0 => IO_FAILURE triggered a failoverfastpath node down => failoverIn
pxd_initiate_failover, reason = 0 => userspace request (for eg NodeDown) triggered a failoverWhat this PR does / why we need it:
Adds traces to track the native path and fastpath.
Which issue(s) this PR fixes (optional)
Closes # PWX-42981
Special notes for your reviewer: