Repository navigation
Non aligned - #3251
Open
JiangheZhai wants to merge 13 commits into
Open
Non aligned#3251JiangheZhai wants to merge 13 commits into
JiangheZhai wants to merge 13 commits into
Conversation
JiangheZhai
requested review from
ShangmingCai,
XucSh,
YiXR,
stmatengss and
ykwd
as code owners
August 3, 2026 10:23
Collaborator
|
The alignment of NoF stems from earlier contributors coupling it with SPDK. We are currently considering a refactor of the NoF-related code to improve code quality and maintainability. Please refer to the discussions in the linked issue #3131. |
8 of 32 tasks
This branch has not been deployed
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.
Description
Add block-unaligned I/O support for Mooncake Store NVMe-oF replicas.
Previously, NoF operations required the logical object size, transfer size, and range offsets to be aligned to the NVMe namespace block size. This change separates the logical object size from the block-aligned physical allocation and I/O size.
Key changes:
spdk_nvme_ns_cmd_readv()andspdk_nvme_ns_cmd_writev().verify_nof_unalignedbenchmark scenario for validating unaligned Put/Get behavior.NoF controllers used by this path must report SGL support. Controllers requiring DWORD-aligned SGL entries only accept addresses and lengths aligned to four bytes.
Module
mooncake-transfer-engine)mooncake-store)mooncake-ep)mooncake-pg)mooncake-integration)mooncake-p2p-store)mooncake-wheel)mooncake-common)mooncake-rl)Type of Change
How Has This Been Tested?
The change introduces the
verify_nof_unalignedbenchmark scenario to verify:The manual test requires an NVMe-oF controller that supports SGL.
Test commands: