Commit cfc1ece
ublk: handle UBLK_IO_FETCH_REQ first
Check for UBLK_IO_FETCH_REQ first in __ublk_ch_uring_cmd() and return
early. This allows removing the allowances for NULL io->task and
UBLK_IO_FLAG_OWNED_BY_SRV unset that only apply to FETCH.
Signed-off-by: Caleb Sander Mateos <[email protected]>
Reviewed-by: Ming Lei <[email protected]>1 parent 506f6d3 commit cfc1ece
1 file changed
Lines changed: 12 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2197 | 2197 | | |
2198 | 2198 | | |
2199 | 2199 | | |
| 2200 | + | |
| 2201 | + | |
| 2202 | + | |
| 2203 | + | |
| 2204 | + | |
| 2205 | + | |
| 2206 | + | |
| 2207 | + | |
| 2208 | + | |
| 2209 | + | |
2200 | 2210 | | |
2201 | | - | |
| 2211 | + | |
2202 | 2212 | | |
2203 | 2213 | | |
2204 | 2214 | | |
| |||
2207 | 2217 | | |
2208 | 2218 | | |
2209 | 2219 | | |
2210 | | - | |
2211 | | - | |
2212 | | - | |
| 2220 | + | |
2213 | 2221 | | |
2214 | 2222 | | |
2215 | 2223 | | |
| |||
2225 | 2233 | | |
2226 | 2234 | | |
2227 | 2235 | | |
2228 | | - | |
2229 | | - | |
2230 | | - | |
2231 | | - | |
2232 | | - | |
2233 | 2236 | | |
2234 | 2237 | | |
2235 | 2238 | | |
| |||
0 commit comments