Spdk/lib/bdev
Jim Harris 0064713871 bdev: more ZERO_BUFFER_SIZE to bdev_internal.h
The bdevio test app has some test cases verifying
that write zeroes commands are handled correctly,
but using knowledge of the ZERO_BUFFER_SIZE that
the bdev library uses for splitting larger write
zeroes commands.  Instead of hardcoding that 1MB
value in bdevio.c, have bdevio.c use ZERO_BUFFER_SIZE
directly instead.  But this requires moving
ZERO_BUFFER_SIZE into bdev_internal.h and having
bdevio.c include that file.

We do this instead of putting ZERO_BUFFER_SIZE in
the public API because we don't want users to
make any kind of dependencies on this value.

While here, also rename the tests that are using this
value, so that the test names don't include any reference
to the specific size of this bdev-internal zero buffer
size.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Ia29d92a706cb1f86b4c29374dc2a9beccf679208
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12383
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
2022-04-28 07:29:43 +00:00
..
bdev_internal.h bdev: more ZERO_BUFFER_SIZE to bdev_internal.h 2022-04-28 07:29:43 +00:00
bdev_rpc.c bdev: Use spdk_for_each_bdev() for bdev_get_io_stat and get_bdevs RPCs 2022-04-14 08:32:12 +00:00
bdev_zone.c bdev/zone: add support for get zone id 2021-11-11 23:23:35 +00:00
bdev.c bdev: more ZERO_BUFFER_SIZE to bdev_internal.h 2022-04-28 07:29:43 +00:00
Makefile so_ver: increase all major versions 2022-01-31 15:29:56 +00:00
part.c bdev/part: Use ext bdev API in IO path 2022-04-04 09:57:56 +00:00
scsi_nvme.c nvme: fix command specific status code 2020-02-20 09:49:24 +00:00
spdk_bdev.map bdev: Add spdk_for_each_bdev/bdev_leaf for clean up and further improvements 2022-04-05 07:30:47 +00:00
vtune.c mk: don't use '-include spdk/config.h' 2018-10-02 23:13:32 +00:00