Skip to content

DAOS-18606 control: Avoid NVMe driver unbind in VMD if blocklisted#17612

Open
tanabarr wants to merge 1 commit intomasterfrom
tanabarr/control-bdev_exclude-fix
Open

DAOS-18606 control: Avoid NVMe driver unbind in VMD if blocklisted#17612
tanabarr wants to merge 1 commit intomasterfrom
tanabarr/control-bdev_exclude-fix

Conversation

@tanabarr
Copy link
Contributor

@tanabarr tanabarr commented Feb 26, 2026

When VMD is enabled, DAOS server first unbinds VMD-backing devices from
all drivers (DRIVER_OVERRIDE=none in SPDK setup script). This way the
subsequent binding process to userspace is quicker (see related
spdk/spdk#2926). If a PCI_BLOCKED env is
supplied then the backing devices behind the VMD addresses specified
in the env value are also unbound. This makes the server config file
bdev_exclude parameter ineffective and so as a workaround, the unbind
of all drivers is skipped when VMD is enabled and bdev_exclude is set.

Steps for the author:

  • Commit message follows the guidelines.
  • Appropriate Features or Test-tag pragmas were used.
  • Appropriate Functional Test Stages were run.
  • At least two positive code reviews including at least one code owner from each category referenced in the PR.
  • Testing is complete. If necessary, forced-landing label added and a reason added in a comment.

After all prior steps are complete:

  • Gatekeeper requested (daos-gatekeeper added as a reviewer).

@github-actions
Copy link

Ticket title is 'Not possible to use bdev_exclude with VMD enabled'
Status is 'Open'
Labels: 'VMD,md_on_ssd'
https://daosio.atlassian.net/browse/DAOS-18606

Signed-off-by: Tom Nabarro <thomas.nabarro@hpe.com>
@tanabarr tanabarr force-pushed the tanabarr/control-bdev_exclude-fix branch from a6d4663 to 8d80d97 Compare March 2, 2026 13:38
@daosbuild3
Copy link
Collaborator

@tanabarr tanabarr marked this pull request as ready for review March 3, 2026 11:55
@tanabarr tanabarr requested review from a team as code owners March 3, 2026 11:55
@tanabarr tanabarr self-assigned this Mar 3, 2026
@tanabarr tanabarr requested review from kjacque and knard38 March 3, 2026 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants