+1
−1
Loading
Rather than adding the full alignment size (512), add one less than the alignment so that already-aligned buffers don't get rounded up again. Change-Id: I96323b848bfb90f2aa1774b869e2b8a81d253077 Reported-by: Shuhei Matsumoto Signed-off-by:Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/418879 Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>