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

8.3: Add 0030-linstor-Fix-to-add-sync-to-DD.patch #70

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Nambrok
Copy link
Contributor

@Nambrok Nambrok commented Nov 20, 2024

Koji build(v8.3-v-linstor-testing, scratch): https://koji.xcp-ng.org/taskinfo?taskID=71212

@Nambrok Nambrok requested review from stormi and Wescoeur November 20, 2024 16:48
@@ -74,6 +74,7 @@ Patch1026: 0026-feat-LVHDSR-add-a-way-to-modify-config-of-LVMs-60.patch
Patch1027: 0027-reflect-upstream-changes-in-our-tests.patch
Patch1028: 0028-CA-398425-correctly-check-for-multiple-targets-in-iS.patch
Patch1029: 0029-Synchronization-with-8.2-LINSTOR-before-a-stable-rel.patch
Patch1030: 0030-linstor-Fix-to-add-sync-to-DD.patch
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this patch affect code which is common with other drivers, or is it code which only involves linstor?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few other drivers use this function, we will test the behavior with @Wescoeur before merging in sm.
It only make it so DD sync his block accesses before finishing.
Ensuring there is no inflight requests when dd has finished.
It should be a pretty minor behavior change.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So it's something we might contribute upstream, too?

For what operations do drivers use dd?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's used to zero the footer of VHD specifically in the GC.
It is specifically an issue for a problem with the linstor driver.

Copy link
Member

@stormi stormi Nov 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will it have performance implications for other drivers, since it will force any current cache to be written? I'm not fond of diverging from upstream for upstream drivers.

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.

2 participants