Message ID | 20240704052816.623865-1-dlemoal@kernel.org |
---|---|
Headers | show |
Series | Remove zone reset all emulation | expand |
Damien, > Here is a set of patches based on block/for-next to remove the > emulation for zone reset all from the block layer and move it to > device mapper. This is done because device mapper is the only zoned > device driver that does not natively support REQ_OP_ZONE_RESET_ALL. > With this change, the emulation that may be required depending on a > mapped device zone mapping is moved to device mapper and the reset all > feature (BLK_FEAT_ZONE_RESETALL) can be deleted, as well as all the > code handling this feature in blk-zoned.c. The DM-based handling of > REQ_OP_ZONE_RESET_ALL can also be much faster than the block layer > emulation as that operation can be forwarded as is to targets mapping > all sequential write required zones. LGTM. Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>