Commit dd54ec7
committed
metaslab: don't pass a whole zio to the reserve APIs
They only need a couple of fields, and passing the whole thing just
invites fiddling around inside it, like modifying flags, which then
makes it much harder to understand the zio state from inside zio.c.
We move the flag update to just after a successful throttle in zio.c.
Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Signed-off-by: Rob Norris <[email protected]>1 parent ee0cb4c commit dd54ec7
3 files changed
+31
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
114 | | - | |
115 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5757 | 5757 | | |
5758 | 5758 | | |
5759 | 5759 | | |
5760 | | - | |
5761 | | - | |
5762 | | - | |
5763 | | - | |
5764 | | - | |
| 5760 | + | |
| 5761 | + | |
| 5762 | + | |
| 5763 | + | |
| 5764 | + | |
5765 | 5765 | | |
5766 | 5766 | | |
5767 | | - | |
5768 | | - | |
| 5767 | + | |
| 5768 | + | |
5769 | 5769 | | |
5770 | | - | |
| 5770 | + | |
5771 | 5771 | | |
5772 | 5772 | | |
5773 | | - | |
5774 | | - | |
| 5773 | + | |
| 5774 | + | |
5775 | 5775 | | |
5776 | 5776 | | |
5777 | 5777 | | |
| |||
5782 | 5782 | | |
5783 | 5783 | | |
5784 | 5784 | | |
5785 | | - | |
| 5785 | + | |
5786 | 5786 | | |
5787 | 5787 | | |
5788 | | - | |
5789 | 5788 | | |
5790 | 5789 | | |
5791 | 5790 | | |
5792 | 5791 | | |
5793 | 5792 | | |
5794 | 5793 | | |
5795 | 5794 | | |
5796 | | - | |
5797 | | - | |
| 5795 | + | |
| 5796 | + | |
5798 | 5797 | | |
5799 | | - | |
| 5798 | + | |
5800 | 5799 | | |
5801 | 5800 | | |
5802 | | - | |
| 5801 | + | |
5803 | 5802 | | |
5804 | 5803 | | |
5805 | 5804 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3194 | 3194 | | |
3195 | 3195 | | |
3196 | 3196 | | |
3197 | | - | |
3198 | | - | |
| 3197 | + | |
| 3198 | + | |
| 3199 | + | |
3199 | 3200 | | |
3200 | 3201 | | |
3201 | 3202 | | |
| |||
4078 | 4079 | | |
4079 | 4080 | | |
4080 | 4081 | | |
4081 | | - | |
| 4082 | + | |
| 4083 | + | |
4082 | 4084 | | |
4083 | 4085 | | |
| 4086 | + | |
4084 | 4087 | | |
4085 | 4088 | | |
4086 | 4089 | | |
| |||
4238 | 4241 | | |
4239 | 4242 | | |
4240 | 4243 | | |
4241 | | - | |
| 4244 | + | |
| 4245 | + | |
4242 | 4246 | | |
4243 | 4247 | | |
4244 | 4248 | | |
| |||
5213 | 5217 | | |
5214 | 5218 | | |
5215 | 5219 | | |
5216 | | - | |
5217 | | - | |
| 5220 | + | |
| 5221 | + | |
5218 | 5222 | | |
5219 | 5223 | | |
5220 | 5224 | | |
| |||
5297 | 5301 | | |
5298 | 5302 | | |
5299 | 5303 | | |
5300 | | - | |
| 5304 | + | |
| 5305 | + | |
5301 | 5306 | | |
5302 | 5307 | | |
5303 | 5308 | | |
| |||
0 commit comments