Commit 901d090
committed
femu/zns: set zone descriptor extension leaves the zone alone on failure
This is the one zone action that does not go through the walker, which
is where a conventional zone is refused. Accepted, it took a random-write
zone to Closed holding an active resource nothing gives back, since such
a zone's writes never touch the state machine that would; a later Finish
of all zones then walks the closed list and leaves it Full, after which
it takes no writes at all.
The transfer also landed in the extension before the state was tested, so
a command that came back refused had already replaced what the host reads
in an extended report. Stage it and copy on success.1 parent 2c7062e commit 901d090
1 file changed
Lines changed: 25 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1476 | 1476 | | |
1477 | 1477 | | |
1478 | 1478 | | |
1479 | | - | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
1480 | 1482 | | |
1481 | 1483 | | |
1482 | 1484 | | |
1483 | | - | |
1484 | | - | |
1485 | | - | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
1486 | 1504 | | |
1487 | 1505 | | |
1488 | 1506 | | |
1489 | 1507 | | |
1490 | 1508 | | |
| 1509 | + | |
| 1510 | + | |
1491 | 1511 | | |
1492 | 1512 | | |
1493 | 1513 | | |
| 1514 | + | |
1494 | 1515 | | |
1495 | 1516 | | |
1496 | 1517 | | |
| |||
0 commit comments