Add three variables, poller, timeout_tsc, and req_to_abort to struct spdk_nvmf_request to wait until the request to abort is abortable without using any dynamically allocated context. struct spdk_nvmf_request is already very large (968 bytes), and the pahole tool checked these variables did not create any extra hole. Poller pointer and timeout value are usable for other potential cases, and so use generic names. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I7202ade181365ab586d8c30383b3ea0fef82dcff Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3260 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> |
||
---|---|---|
.. | ||
linux | ||
spdk | ||
spdk_internal | ||
Makefile |