[dm-devel] [PATCH 01/11] scsi: sd_zbc: Rearrange code

Christoph Hellwig hch at lst.de
Wed Oct 10 13:25:33 UTC 2018


On Wed, Oct 10, 2018 at 10:52:29AM +0900, Damien Le Moal wrote:
> Move the urswrz check out of sd_zbc_read_zones() and into
> sd_zbc_read_zoned_characteristics() where that value is obtained (read
> from the disk zoned characteristics VPD page). Since this function now
> does more than simply reading the VPD page, rename it to
> sd_zbc_check_zoned_characteristics().
> Also fix the error message displayed when reading that VPD page fails.

Looks good,

Reviewed-by: Christoph Hellwig <hch at lst.de>




More information about the dm-devel mailing list