Commit 6963e42
authored
Local storage [4/4]: Use raw zvols (#9593)
Request the new *raw* zvol type when creating disks backed by local
storage. Using raw zvols requires waiting for them to be initialized,
which the instance start saga is now responsible for polling. Using raw
zvols also requires cancelling said initialization before deleting them,
which the disk delete saga is also now responsible for polling.
In the instance start saga, ensure each raw zvol in parallel because
this can take some time.
Also in this PR is setting `volblocksize` to 128k: this was a mistake to
set as if it was equivalent to the emulated device block size, and it is
instead set to the default value.
Still to do is to revisit the overhead reserved for zvols: the previous
emperical value was not for the new raw zvol type. This is tracked by
#9591.
Fixes #9519.1 parent 5292c0d commit 6963e42
10 files changed
Lines changed: 617 additions & 59 deletions
File tree
- illumos-utils
- src
- nexus
- db-model/src
- db-queries/src/db/datastore
- src/app/sagas
- sled-agent/src
- workspace-hack
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
716 | 716 | | |
717 | 717 | | |
718 | 718 | | |
| 719 | + | |
719 | 720 | | |
720 | 721 | | |
721 | 722 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
0 commit comments