Loading
module/bdev_compress: Fix use logical block size in vbdev_compress_claim
Use logical block size instead of base bdev block size in vbdev_compress_claim. This is relevant to enable the compress bdev to present a logical block size that is different from the block size of the base bdev (e.g. 512B logical on 4KB base bdev). However, this is just an internal fix/preparation and there is currently not yet a way for users to specify a different logical block size, e.g. through an rpc.py parameter. Signed-off-by:Sven Breuner <sven@excelero.com> Change-Id: Id7562f0da234ce11242b7ee78837a317ee51c211 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2858 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Community-CI: Broadcom CI Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Paul Luse <paul.e.luse@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>