]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
target: Remove cmd->se_ordered_id (unused except debug log lines)
authorRoland Dreier <roland@purestorage.com>
Wed, 22 Jul 2015 00:45:32 +0000 (17:45 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 31 Jul 2015 07:06:12 +0000 (00:06 -0700)
commit9c31820b6ab93ec298ad98abeee49759b5f5958c
treef48d69d00a8084cca319ac237e4e0bd356897fb2
parent45182ed576898b846a98ac3bff2ddcb9d35a0181
target: Remove cmd->se_ordered_id (unused except debug log lines)

For every command, we set se_ordered_id by doing atomic_inc_return on
dev->dev_ordered_id for the corresponding device.  However, the only
places this value gets used are in pr_debug() calls, which doesn't
seem worth an extra atomic op per IO.

Signed-off-by: Roland Dreier <roland@purestorage.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_device.c
drivers/target/target_core_transport.c
include/target/target_core_base.h