Skip to content

disk: open to verify VFIO group is free#1686

Open
huww98 wants to merge 1 commit into
kubernetes-sigs:masterfrom
huww98:open-vfio
Open

disk: open to verify VFIO group is free#1686
huww98 wants to merge 1 commit into
kubernetes-sigs:masterfrom
huww98:open-vfio

Conversation

@huww98
Copy link
Copy Markdown
Contributor

@huww98 huww98 commented May 7, 2026

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

lsof is really slow. It may go over the KCM force detach timeout, causing the
disk to be force detached, the BDF number to be reused by another disk just
attached, and we ended up unbind wrong disk (opened by another rund process)
and hang.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?


Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


lsof is really slow. It may go over the KCM force detach timeout, causing the
disk to be force detached, the BDF number to be reused by another disk just
attached, and we ended up unbind wrong disk (opened by another rund process)
and hang.
@k8s-ci-robot k8s-ci-robot added kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels May 7, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: huww98
Once this PR has been reviewed and has the lgtm label, please assign mowangdk for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot requested review from iltyty and mowangdk May 7, 2026 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants