bdevperf: remove unnecessary caller_ctx access
The bdev layer manages the bdev_io caller_ctx internally. Change-Id: Icb5a4f26b090d6f761af988fb26a319005e66a6d Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
825379870b
commit
cdfa0091f7
@ -215,7 +215,6 @@ bdevperf_complete(struct spdk_bdev_io *bdev_io, enum spdk_bdev_io_status status,
|
|||||||
target->current_queue_depth--;
|
target->current_queue_depth--;
|
||||||
target->io_completed++;
|
target->io_completed++;
|
||||||
|
|
||||||
bdev_io->caller_ctx = NULL;
|
|
||||||
rte_mempool_put(task_pool, task);
|
rte_mempool_put(task_pool, task);
|
||||||
|
|
||||||
spdk_bdev_free_io(bdev_io);
|
spdk_bdev_free_io(bdev_io);
|
||||||
|
Loading…
Reference in New Issue
Block a user