ab04d59c57
This patch is used to test the pending buffer policy of nvme request which has incapsule data. When group->pending_buff queue not null , we should make sure spdk_nvmf_tcp_capsule_cmd_hdr_handle method still can handle the request. relate to : issues/995 We try to simulate the following manner: If there is req waiting for the buffer in the list, the nvme request which has incapsule data will be handled firstly even it is added into the pending_buf_queue. The reason is that currently, those command will get the buffer from its own queue. We made these test steps: 1. submit a tcp request into spdk_nvmf_tcp_req_process and make sure it pause in group->pending_buff queue 2. submit a incapsule tcp request into spdk_nvmf_tcp_capsule_cmd_hdr_handle method , and this method will call the spdk_nvmf_tcp_req_process method to handle this request. 3. check whether the incapsule tcp request is handled correctly. and check the group->pending_buff queue remain. Signed-off-by: jiaqizho <jiaqi.zhou@intel.com> Change-Id: I85fcbb49e309e1203b4b308115e3bfefc0fcba2a Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/472665 Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Community-CI: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
ctrlr_bdev.c | ||
ctrlr_discovery.c | ||
ctrlr.c | ||
fc_ls.c | ||
fc.c | ||
rdma.c | ||
subsystem.c | ||
tcp.c | ||
Makefile |