[PATCH 00/13] st: remove scsi_execute_async usage (the second half)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patchset is the second half of the patchset to remove
scsi_execute_async in st driver. IOW, this converts st driver to use
the block layer functions.

st driver uses scsi_execute_async for two purposes, performing sort
management SCSI commands internally and data transfer between user and
kernel space (st_read and st_write). The former was converted and this
converts the latter.

Converting st needs some minor modifications to the block layer
mapping API. I slightly extended the modifications that I made when
converting sg driver to use the block layer mapping API. The first and
second patches are for the block layer. Jens, can I get your ACKs on
them?

The changes to st driver is not huge. It's just converting st to use
struct rq_map_data instead of struct scatterlist.

=
 block/blk-map.c        |   16 ++--
 drivers/scsi/sg.c      |    2 +
 drivers/scsi/st.c      |  282 +++++++++++++++++++++++++-----------------------
 drivers/scsi/st.h      |   14 +--
 fs/bio.c               |   11 ++-
 include/linux/blkdev.h |    2 +
 6 files changed, 170 insertions(+), 157 deletions(-)


--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux