android_kernel_xiaomi_sm8350/include/scsi
James Bottomley faead26d7a [PATCH] add scsi_execute_in_process_context() API
We have several points in the SCSI stack (primarily for our device
functions) where we need to guarantee process context, but (given the
place where the last reference was released) we cannot guarantee this.

This API gets around the issue by executing the function directly if
the caller has process context, but scheduling a workqueue to execute
in process context if the caller doesn't have it.  Unfortunately, it
requires memory allocation in interrupt context, but it's better than
what we have previously.  The true solution will require a bit of
re-engineering, so isn't appropriate for 2.6.16.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2006-02-14 11:14:26 -06:00
..
iscsi_if.h [SCSI] iscsi update: cleanup iscsi class interface 2006-02-04 16:17:03 -06:00
iscsi_proto.h [SCSI] iscsi: rename some proto defs 2005-09-20 12:35:27 -05:00
scsi_cmnd.h [SCSI] always handle REQ_BLOCK_PC requests in common code 2006-01-14 10:54:45 -06:00
scsi_dbg.h [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
scsi_device.h [SCSI] Prevent scsi_execute_async from guessing cdb length 2006-01-26 15:13:50 -05:00
scsi_devinfo.h
scsi_driver.h [BLOCK] update SCSI to use new blk_ordered for barriers 2006-01-06 09:52:55 +01:00
scsi_eh.h Merge by hand (conflicts in sd.c) 2005-09-06 17:52:54 -05:00
scsi_host.h [SCSI] Remove host template ordered_flush variable 2006-01-25 11:12:40 +01:00
scsi_ioctl.h
scsi_request.h [SCSI] remove scsi_wait_req 2005-11-06 12:45:20 -06:00
scsi_tcq.h
scsi_transport_fc.h [SCSI] fc transport: add permanent_port_name fc_host attribute 2006-01-14 10:54:48 -06:00
scsi_transport_iscsi.h [SCSI] iscsi update: cleanup iscsi class interface 2006-02-04 16:17:03 -06:00
scsi_transport_sas.h [SCSI] sas: add support for PHY resets 2005-10-28 19:08:03 -05:00
scsi_transport_spi.h [PATCH] scsi_transport_spi build fix 2006-01-18 19:20:16 -08:00
scsi_transport.h [SCSI] remove target parent limitiation 2006-01-14 10:55:05 -06:00
scsi.h [PATCH] add scsi_execute_in_process_context() API 2006-02-14 11:14:26 -06:00
scsicam.h
sg_request.h
sg.h
srp.h IB: Add SCSI RDMA Protocol (SRP) initiator 2005-11-02 14:07:13 -08:00