ioat: split FILL tasks on hugepage boundary
This was obviously omitted in the original implementation. Change-Id: Ifba049cdb8d1c1f24e30adb542946a2fa83c7464 Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/416655 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
parent
de7a37a8d8
commit
962b15d0c4
@ -673,6 +673,7 @@ spdk_ioat_submit_fill(struct spdk_ioat_chan *ioat, void *cb_arg, spdk_ioat_req_c
|
||||
|
||||
while (remaining) {
|
||||
op_size = remaining;
|
||||
op_size = spdk_min(op_size, (0x200000 - _2MB_OFFSET(vdst)));
|
||||
op_size = spdk_min(op_size, ioat->max_xfer_size);
|
||||
remaining -= op_size;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user