Re: [PATCH V2 06/12] scsi: sd_zbc: Rearrange code

2017-09-08 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG N

[PATCH V2 06/12] scsi: sd_zbc: Rearrange code

2017-09-07 Thread Damien Le Moal
Move inline functions sd_zbc_zone_sectors() and sd_zbc_zone_no() declarations to sd_zbc.h and rearrange sd_zbc_setup() to include use_16_for_rw and use_10_for_rw assignment. Also move calculation of sdkp->zone_shift together with the assignment of the verified zone_blocks value in sd_zbc_check_zone