-
Notifications
You must be signed in to change notification settings - Fork 9
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
feat(upgrade): support engine suspension and target switchover #94
Conversation
a44f841
to
007817c
Compare
b3a2588
to
cc8ae61
Compare
bede3af
to
3829ce5
Compare
59db3ee
to
8f31293
Compare
8f31293
to
913beff
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #94 +/- ##
==========================================
+ Coverage 22.78% 23.95% +1.17%
==========================================
Files 33 34 +1
Lines 4240 4621 +381
==========================================
+ Hits 966 1107 +141
- Misses 3115 3340 +225
- Partials 159 174 +15
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
7f5c3fa
to
2b83180
Compare
75958b7
to
2b83180
Compare
032381a
to
28d108f
Compare
33001b3
to
adcba02
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see you have implemented the flush command over nvme, but actually lvol bdev doesn't support that. I had implemented it, but this development caused a memory leak in the set external parent functionality, which we use in online rebuilding. I understood that we didn't need the flush over nvme and that we only used it at device mapper layer, so I discarded that commit in the new SPDK branch longhorn-v24.05
. I thought to restart working over it, to remove the leak, after 1.7.0.
Got it. I think the flush subcommand is fine because I don't use it in the suspension and switchover functionalities. The subcommand is just for making the nvme command more complete. WDYT? |
adcba02
to
6797616
Compare
Ok, this is fine for now. In the future I will work again on the flush implementation so we will have it again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple of questions, but globally it LGTM
Longhorn 6001 Signed-off-by: Derek Su <derek.su@suse.com>
Longhorn 6001 Signed-off-by: Derek Su <derek.su@suse.com>
Longhorn 6001 Signed-off-by: Derek Su <derek.su@suse.com>
- Rename KernelDevice to LonghornBlockDevice - Refactor DetectDevice() Longhorn 6001 Signed-off-by: Derek Su <derek.su@suse.com>
Longhorn 6001 Signed-off-by: Derek Su <derek.su@suse.com>
f8a9517
to
7195ae0
Compare
Longhorn 6001 Signed-off-by: Derek Su <derek.su@suse.com>
@DamiaSan I appended an extra commit for resolving build environment error. Can you review it again? Thank you. |
The check function is commonly used in go-spdk-helper and longhorn-spdk-helper. Longhorn 6001 Signed-off-by: Derek Su <derek.su@suse.com>
aa6985d
to
a1c5c2b
Compare
The change make LoadNVMeDeviceInfo be able to load NVMe device with different ip, port and nqn. Longhorn 6001 Signed-off-by: Derek Su <derek.su@suse.com>
@DamiaSan Can you help review the latest commit? Thank you. |
Which issue(s) this PR fixes:
Issue longhorn/longhorn#6001
What this PR does / why we need it:
Special notes for your reviewer:
Additional documentation or context