On Sun, Jun 17, 2018 at 6:30 PM kefu chai <tchaikov@xxxxxxxxx> wrote: > > sorry guys, i just realized that my PR of > https://github.com/ceph/ceph/pull/22547 actually broke the SPDK > backend by accident. because > https://github.com/spdk/spdk/commit/258845450de3409ee65bffeea4b1976248b67f0c > deprecated spdk_pci_get_device(), the probe_cb() now always return > false. and even if probe_cb() had returned true, attach_cb() asserts. > > is there any way we can retrieve the serial number of a pci device by > corresponding trid? i tried to look around in the spdk document and > source, but failed to find an answer. > > any help would be appreciated! in case you are interested, i whipped up a fix at https://github.com/ceph/ceph/pull/24144 . as always, comments are welcomed ! cheers, -- Regards Kefu Chai