Pull block fixes from Jens Axboe: - Fix blk-crypto reporting EIO when EINVAL is the correct error code - Two bug fixes for the block zone support - NVME pull request via Keith: - Target side authentication fixup - Peer-to-peer metadata fixup - null_blk DMA alignment fix * tag 'block-6.18-20251031' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux: null_blk: set dma alignment to logical block size blk-crypto: use BLK_STS_INVAL for alignment errors block: make REQ_OP_ZONE_OPEN a write operation block: fix op_is_zone_mgmt() to handle REQ_OP_ZONE_RESET_ALL nvme-pci: use blk_map_iter for p2p metadata nvmet-auth: update sc_c in host response
Showing the changes to include/linux (1 of 5 files). Show all
Unified · Split
| @@ -341,15 +341,15 @@ enum req_op { · 340 unmodified lines | ||
| 341 | 341 | /* write the zero filled sector many times */ |
| 342 | 342 | REQ_OP_WRITE_ZEROES = (__force blk_opf_t)9, |
| 343 | 343 | /* Open a zone */ |
| 344 | − REQ_OP_ZONE_OPEN = (__force blk_opf_t)10, | |
| 344 | + REQ_OP_ZONE_OPEN = (__force blk_opf_t)11, | |
| 345 | 345 | /* Close a zone */ |
| 346 | − REQ_OP_ZONE_CLOSE = (__force blk_opf_t)11, | |
| 346 | + REQ_OP_ZONE_CLOSE = (__force blk_opf_t)13, | |
| 347 | 347 | /* Transition a zone to full */ |
| 348 | − REQ_OP_ZONE_FINISH = (__force blk_opf_t)13, | |
| 348 | + REQ_OP_ZONE_FINISH = (__force blk_opf_t)15, | |
| 349 | 349 | /* reset a zone write pointer */ |
| 350 | − REQ_OP_ZONE_RESET = (__force blk_opf_t)15, | |
| 350 | + REQ_OP_ZONE_RESET = (__force blk_opf_t)17, | |
| 351 | 351 | /* reset all the zone present on the device */ |
| 352 | − REQ_OP_ZONE_RESET_ALL = (__force blk_opf_t)17, | |
| 352 | + REQ_OP_ZONE_RESET_ALL = (__force blk_opf_t)19, | |
| 353 | 353 | |
| 354 | 354 | /* Driver private requests */ |
| 355 | 355 | REQ_OP_DRV_IN = (__force blk_opf_t)34, |
| @@ -478,6 +478,7 @@ static inline bool op_is_zone_mgmt(enum req_op op) · 122 unmodified lines | ||
| 478 | 478 | { |
| 479 | 479 | switch (op & REQ_OP_MASK) { |
| 480 | 480 | case REQ_OP_ZONE_RESET: |
| 481 | + case REQ_OP_ZONE_RESET_ALL: | |
| 481 | 482 | case REQ_OP_ZONE_OPEN: |
| 482 | 483 | case REQ_OP_ZONE_CLOSE: |
| 483 | 484 | case REQ_OP_ZONE_FINISH: |