bdev: add maximum write zeroes setting
Then we can enable the split for write zeroes request in bdev layer. Change-Id: I1341512994b061728cf8c94c0e4e7f86dbc53ce3 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7873 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Ziye Yang <ziye.yang@intel.com>
This commit is contained in:
parent
074f503d27
commit
b71a8624cf
@ -356,6 +356,9 @@ struct spdk_bdev {
|
||||
/* Maximum unmap block segments */
|
||||
uint32_t max_unmap_segments;
|
||||
|
||||
/* Maximum write zeroes in unit of logical block */
|
||||
uint32_t max_write_zeroes;
|
||||
|
||||
/**
|
||||
* UUID for this bdev.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user