Spdk/test
Jim Harris 6361254c3d bdevperf: reuse tasks more efficiently
Instead of inserting a task into the TAILQ and then
immediately taking it back off, just pass the task
to bdevperf_submit_single instead.

This reduces overhead of bdevperf compared to nvme/perf.
nvme/perf does not use a TAILQ at all, and does something
similar by passing the just completed task so it can be
reused by its submit function.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I574b459a32ebe2e91ac1351de360de86cbc4a86d

Reviewed-on: https://review.gerrithub.io/393833
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
2018-01-10 09:51:31 -05:00
..
app util: add spdk_strerror() wrapper with TLS support 2018-01-04 15:00:09 -05:00
blobfs/rocksdb test/rocksdb: reduce test time for per-patch tests 2017-12-15 15:48:06 -05:00
config test/vm_setup.sh: add missing packages from pkgdep.sh 2017-12-15 16:16:31 -05:00
cpp_headers build: include spdk.app.mk in all app Makefiles 2017-11-15 17:57:07 -05:00
iscsi_tgt scsi: remove lun_db 2018-01-09 13:56:00 -05:00
lib bdevperf: reuse tasks more efficiently 2018-01-10 09:51:31 -05:00
lvol test/lvol: update help message 2017-12-28 11:42:56 -05:00
nvmf autotest: Add perf as host with lvol backend and test different qd/io_size test in nightly 2018-01-05 13:08:16 -05:00
pmem bdev/pmem: require name in construct_pmem_bdev RPC 2017-12-04 18:51:14 -05:00
unit blob: add thin_provision opt for spdk_bs_create_blob_ext 2018-01-09 14:57:04 -05:00
vhost test/vhost: silence some very noisy loops and better checking for ssh 2018-01-09 19:30:21 -05:00
Makefile test: begin moving unit tests into test/unit 2017-06-16 16:43:48 -04:00
spdk_cunit.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00