Skip to content

Conversation

@dragonJACson
Copy link
Contributor

Currently we are using lifetime mark for them, but this would introduce difficulty for user to encap them in a single struct (which would be a self-referential struct). Both of them would only be used in control path, so change to wrap them in Arc wouldn't be a big performance issue, but could benefit users a lot.

@dragonJACson dragonJACson requested a review from FujiZ October 18, 2025 09:53
… in Arc

Currently we are using lifetime mark for them, but this would introduce
difficulty for user to encap them in a single struct (which would be a
self-referential struct). Both of them would only be used in control
path, so change to wrap them in Arc wouldn't be a big performance issue,
but could benefit users a lot.

Signed-off-by: Luke Yue <lukedyue@gmail.com>
@codecov
Copy link

codecov bot commented Oct 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/ibverbs/device.rs 94.35% <100.00%> (ø)
src/ibverbs/device_context.rs 86.69% <100.00%> (ø)
src/ibverbs/memory_region.rs 96.55% <100.00%> (ø)
src/ibverbs/mod.rs 0.00% <ø> (ø)
src/ibverbs/protection_domain.rs 100.00% <100.00%> (ø)
src/rdmacm/communication_manager.rs 87.01% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dragonJACson dragonJACson merged commit 6085d2b into main Oct 18, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants