Spdk/lib/blob
Daniel Verkamp 89426e9bb5 blob: change lba to uint64_t in serialize_extent
Make sure we don't truncate the LBA when using it to serialize the
cluster array into an extent list.

We also need to add an explicit cast in _spdk_bs_cluster_to_lba
to ensure the conversion doesn't get truncated.  While here, do
the same cast for _spdk_bs_cluster_to_page.

Change-Id: If4e65ed86550e39dfa39826930dfafac158d519c
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Signed-off-by: Jim Harris <james.r.harris@intel.com>
Reviewed-on: https://review.gerrithub.io/416231
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-06-21 22:46:30 +00:00
..
bdev thread: Replace #include of io_channel.h with thread.h 2018-06-12 15:24:07 +00:00
blob_bs_dev.c blobstore: Add a blob_bs_dev that provides back_bs_dev for clones 2018-03-08 11:34:15 -05:00
blobstore.c blob: change lba to uint64_t in serialize_extent 2018-06-21 22:46:30 +00:00
blobstore.h blob: change lba to uint64_t in serialize_extent 2018-06-21 22:46:30 +00:00
Makefile blobstore: Add a blob_bs_dev that provides back_bs_dev for clones 2018-03-08 11:34:15 -05:00
request.c thread: Replace #include of io_channel.h with thread.h 2018-06-12 15:24:07 +00:00
request.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
zeroes.c blob: Add a bs_dev that always returns 0 2018-01-30 15:46:18 -05:00