Commit d670e7d
committed
lib: Added libnvme wrapper for updating block size after format.
Moved the linux-specific ioctl calls used to update the block size after
it is changed by a format command into a wrapper function in libnvme.
Consolidates ioctl calls into ioctl.c, and allows for platform-specific
implementations in the future as needed.
Signed-off-by: Broc Going <[email protected]>1 parent f018b37 commit d670e7d
4 files changed
Lines changed: 36 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| 192 | + | |
192 | 193 | | |
193 | 194 | | |
194 | 195 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
93 | 95 | | |
94 | 96 | | |
95 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
96 | 115 | | |
97 | 116 | | |
98 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | 42 | | |
46 | 43 | | |
47 | 44 | | |
48 | 45 | | |
49 | | - | |
50 | 46 | | |
51 | 47 | | |
52 | 48 | | |
| |||
6813 | 6809 | | |
6814 | 6810 | | |
6815 | 6811 | | |
6816 | | - | |
6817 | | - | |
| 6812 | + | |
| 6813 | + | |
6818 | 6814 | | |
6819 | 6815 | | |
6820 | 6816 | | |
6821 | | - | |
6822 | | - | |
6823 | | - | |
6824 | | - | |
6825 | | - | |
6826 | | - | |
6827 | | - | |
6828 | | - | |
| 6817 | + | |
6829 | 6818 | | |
6830 | 6819 | | |
6831 | 6820 | | |
| |||
0 commit comments