commit | 63f108c71adf511a2cb1435af8d5d0d5bad5accb | [log] [tgz] |
---|---|---|
author | Chris Drouillard <cdrllrd@google.com> | Thu Jun 23 20:57:54 2022 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 23 20:57:54 2022 +0000 |
tree | 90f6673b6300c24b8e0e39c27671adc9d5da048e | |
parent | cd17c293074c034725d14b3c4ac505d46b11509b [diff] |
[fvm] Prevent duplicate device names Driver Framework V2 will prevent multiple child devices with the same name from being bound. FVM names it's child devices after the partition name and the entry number. When a partition is destroyed, the entry in FVM is cleared before the child device is removed. Tests that rapidly destroy and recreate partitions can race with the device being removed to get multiple child devices with the same name to exist at the same time. This change prevents multiple child devices with the same name from being bound by preventing a FVM entry from being reused while there is still a device running for the entry. Bug: 102219 Multiply: fvm-integration-test Change-Id: I8d5916a1a5077121c96343ab9988bb4ec1b1e03b Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/691273 Reviewed-by: James Sullivan <jfsulliv@google.com> Commit-Queue: Chris Drouillard <cdrllrd@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.