5a04099b01
Upcoming patches will try to compress the data before writing it to backing I/O units, and we'll need to save the exact number of compressed bytes. For now, since we're not actually compressing data yet, just save the uncompressed data size to this field. There will be cases when we cannot realize any compression savings and will just store the uncompressed data, so handling this now is one less path we'll need to add later. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I499a89590349e4816fe0fef77cc1bfabde6871bf Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/449078 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>