[SPDK] How to get transport ID from spdk_bdev
Niu, Yawei <yawei.niu at intel.com>
| Newsgroups | dev.linux.lists.spdk |
|---|---|
| Message-ID | <[email protected]> |
Hi, Is there any way to get transport ID (and ns id) of an existing spdk_bdev? I think that could be useful for the applications built upon bdev layer and want to know the transport ID and namespace ID where the bdev is located, but I failed to find such kind of exported interfaces. I’m wondering if this controller information is deliberately being hidden behind bdev layer? In our use case, we just want to get the association of bdev and ctrlr/ns for configuration management purpose. Thanks -Niu