Re: [PATCH] sd_zbc: Force use of READ16/WRITE16

2016-11-14 Thread Jens Axboe
On 11/10/2016 10:53 PM, Damien Le Moal wrote: Normally, sd_read_capacity sets sdp->use_16_for_rw to 1 based on the disk capacity so that READ16/WRITE16 are used for large drives. However, for a zoned disk with RC_BASIS set to 0, the capacity reported through READ_CAPACITY may be very small, leadi

Re: [PATCH] sd_zbc: Force use of READ16/WRITE16

2016-11-14 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH] sd_zbc: Force use of READ16/WRITE16

2016-11-10 Thread Damien Le Moal
Normally, sd_read_capacity sets sdp->use_16_for_rw to 1 based on the disk capacity so that READ16/WRITE16 are used for large drives. However, for a zoned disk with RC_BASIS set to 0, the capacity reported through READ_CAPACITY may be very small, leading to use_16_for_rw not being set and READ10/WRI