Commit 52e47fd
committed
nvme-cli: update to libnvme v2
Update to use the libnvme v2 API. Unfortunately, it's not possible to do
step by step updates this change is big. Though the resulting diff is
easy to read.
Generally, following things are necessary to get things going:
- replace struct nvme_dev with nvme_link_t
- drop nvme_cli* wrappers
- remove MI helper functions
- replaced alternative versions of function with latest
- remove libnvme-mi dependency
- parse_and_open opens root and link object
- use consistently cleanup helpers for root and link object
- use early returns
Signed-off-by: Daniel Wagner <[email protected]>1 parent ac005e7 commit 52e47fd
65 files changed
Lines changed: 2788 additions & 3898 deletions
File tree
- plugins
- amzn
- dapustor
- dera
- fdp
- feat
- huawei
- innogrit
- inspur
- intel
- lm
- memblaze
- micron
- netapp
- ocp
- sandisk
- scaleflux
- seagate
- sed
- shannon
- solidigm
- ssstc
- toshiba
- transcend
- virtium
- wdc
- ymtc
- zns
- subprojects
- util
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | 53 | | |
56 | 54 | | |
57 | 55 | | |
| |||
280 | 278 | | |
281 | 279 | | |
282 | 280 | | |
283 | | - | |
284 | 281 | | |
285 | 282 | | |
286 | 283 | | |
| |||
303 | 300 | | |
304 | 301 | | |
305 | 302 | | |
306 | | - | |
| 303 | + | |
307 | 304 | | |
308 | 305 | | |
309 | 306 | | |
| |||
0 commit comments