OSDN Git Service

tcmu: prep queue_cmd_ring to be used by unmap wq
authorMike Christie <mchristi@redhat.com>
Tue, 28 Nov 2017 18:40:37 +0000 (12:40 -0600)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 12 Jan 2018 23:07:17 +0000 (15:07 -0800)
commit6fd0ce79724dabe2cd0bd8aed111cbe94755bf88
tree6598e0d294210bb1e9ca238293c9f86e09baffe6
parent3e60913579b2fefa74eeb3269426e864f4afa7e7
tcmu: prep queue_cmd_ring to be used by unmap wq

In the next patches we will call queue_cmd_ring from the submitting
context and also the completion path. This changes the queue_cmd_ring
return code so in the next patches we can return a sense_reason_t
and also signal if a command was requeued.

Signed-off-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_user.c