diff options
author | Bart Van Assche <bvanassche@acm.org> | 2020-01-23 04:56:34 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-02-29 03:02:10 +0100 |
commit | 65ca846a53149a1a72cd8d02e7b2e73dd545b834 (patch) | |
tree | d2e9861db4c83b97138fc43bb18c92ba9e1a14b0 /lib/locking-selftest-rlock-softirq.h | |
parent | scsi: core: Remove cmd_list functionality (diff) | |
download | linux-65ca846a53149a1a72cd8d02e7b2e73dd545b834.tar.xz linux-65ca846a53149a1a72cd8d02e7b2e73dd545b834.zip |
scsi: core: Introduce {init,exit}_cmd_priv()
The current behavior of the SCSI core is to clear driver-private data
before preparing a request for submission to the SCSI LLD. Make it possible
for SCSI LLDs to disable clearing of driver-private data.
These hooks will be used by a later patch, namely "scsi: ufs: Let the SCSI
core allocate per-command UFS data".
Link: https://lore.kernel.org/r/20200123035637.21848-2-bvanassche@acm.org
Cc: Tomas Winkler <tomas.winkler@intel.com>
Cc: Stanley Chu <stanley.chu@mediatek.com>
Cc: Bean Huo <beanhuo@micron.com>
Cc: Avri Altman <avri.altman@wdc.com>
Cc: Can Guo <cang@codeaurora.org>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Johannes Thumshirn <jth@kernel.org>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'lib/locking-selftest-rlock-softirq.h')
0 files changed, 0 insertions, 0 deletions