Spdk/module
Shuhei Matsumoto aef00d4420 bdev/malloc: Support both of interleaved and separated metadata
The malloc bdev module supports both of interleaved and separated
metadata in this patch.

Different from the NULL bdev module, opts->block_size is a data block
size and a block size is caculated internally as a sum of
opts->block_size and opts->md_size if opts->md_interleave is true, or
opts->block_size otherwise. This will be more intuitive. Additionally,
opts->md_size accepts only either of 0, 8, 16, 32, 64, or 128.

Protection information (T10 DIF/DIX) will be supported in the
following patches.

Signed-off-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Change-Id: Icd9e92c8ea94e30139e416f8c533ab4cf473d2a8
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14984
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Community-CI: Mellanox Build Bot
2022-10-28 06:49:40 +00:00
..
accel accel/idxd/iaa: Convert to use iovecs 2022-09-23 00:10:08 +00:00
bdev bdev/malloc: Support both of interleaved and separated metadata 2022-10-28 06:49:40 +00:00
blob blob: Optimize copy-on-write flow for clusters backed by zeroes device 2022-09-05 12:49:46 +00:00
blobfs Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
env_dpdk Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
event lib/vfu_tgt: add library for PCI device emulation 2022-09-29 19:42:56 +00:00
scheduler lib/event: do not set default scheduling period during init 2022-06-20 09:56:09 +00:00
sock sock: Ensure recv/send_buf_size to be larger than g_sock_impl_opts.recv/send_buf_size 2022-10-21 07:17:37 +00:00
vfu_device module/vfu_device: add virtio-scsi emulation 2022-09-29 19:42:56 +00:00
Makefile module/vfu_device: add virtio-blk emulation 2022-09-29 19:42:56 +00:00