Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix fnio filter for multi MDL NB #394

Merged
merged 2 commits into from
Oct 3, 2023
Merged

Fix fnio filter for multi MDL NB #394

merged 2 commits into from
Oct 3, 2023

Conversation

nigriMSFT
Copy link
Contributor

When a TX NB containing multiple MDLs is filtered, we would expect the resulting frame to either

  1. Contain a single data buffer with all bytes of all MDLs or
  2. Contain a data buffer per MDL

In the case of a 2-MDL NB where the first MDL's ByteCount > NB data length, we end up with a single data buffer containing just the bytes of the first MDL.

Fix this so that we consistently end up with option 2 above.

When a TX NB containing multiple MDLs is filtered, we would expect
the resulting frame to either
1) Contain a single data buffer with all bytes of all MDLs
or
2) Contain a data buffer per MDL

In the case of a 2-MDL NB where the first MDL's ByteCount > NB data
length, we end up with a single data buffer containing just the bytes
of the first MDL.

Fix this so that we consistently end up with option 2 above.
@nigriMSFT nigriMSFT requested a review from a team as a code owner October 2, 2023 20:08
@mtfriesen mtfriesen added the bug Something isn't working label Oct 3, 2023
@nigriMSFT nigriMSFT merged commit ee17423 into main Oct 3, 2023
44 of 45 checks passed
@nigriMSFT nigriMSFT deleted the nigri/fnio-filter branch October 3, 2023 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants