mbox series

[0/3] target: scsi: tcmu: code rework and speed up of read data handling

Message ID 20200910155041.17654-1-bstroesser@ts.fujitsu.com (mailing list archive)
Headers show
Series target: scsi: tcmu: code rework and speed up of read data handling | expand

Message

Bodo Stroesser Sept. 10, 2020, 3:50 p.m. UTC
This small series is made on top of Martin's 5.10/scsi-queue branch.

The patches simplify some code, splits off new helper functions
or implement a cleaner code sequence to prevent double work.
The 3rd patch speeds up buffer preparation for SCSI commands with
long read data.
The series is also base for cleaned up version v3 of my patch
  scsi: target: tcmu: add compat mode for 32bit userspace on 64bit kernel

Bodo Stroesser (3):
  scsi: target: tcmu: join tcmu_cmd_get_data_length and tcmu_cmd_get_block_cnt
  scsi: target: tcmu: optimize queue_cmd_ring
  scsi: target: tcmu: optimize scatter_data_area

 drivers/target/target_core_user.c | 340 +++++++++++++++++++-------------------
 1 file changed, 170 insertions(+), 170 deletions(-)

Comments

Mike Christie Sept. 22, 2020, 4:20 p.m. UTC | #1
On 9/10/20 10:50 AM, Bodo Stroesser wrote:
> This small series is made on top of Martin's 5.10/scsi-queue branch.
> 
> The patches simplify some code, splits off new helper functions
> or implement a cleaner code sequence to prevent double work.
> The 3rd patch speeds up buffer preparation for SCSI commands with
> long read data.
> The series is also base for cleaned up version v3 of my patch
>   scsi: target: tcmu: add compat mode for 32bit userspace on 64bit kernel
> 
> Bodo Stroesser (3):
>   scsi: target: tcmu: join tcmu_cmd_get_data_length and tcmu_cmd_get_block_cnt
>   scsi: target: tcmu: optimize queue_cmd_ring
>   scsi: target: tcmu: optimize scatter_data_area
> 
>  drivers/target/target_core_user.c | 340 +++++++++++++++++++-------------------
>  1 file changed, 170 insertions(+), 170 deletions(-)
> 

Acked-by: Mike Christie <michael.christie@oracle.com>
Martin K. Petersen Sept. 22, 2020, 9:32 p.m. UTC | #2
Bodo,

> The patches simplify some code, splits off new helper functions or
> implement a cleaner code sequence to prevent double work.  The 3rd
> patch speeds up buffer preparation for SCSI commands with long read
> data.

Applied to 5.10/scsi-staging, thanks!
Martin K. Petersen Sept. 30, 2020, 3:34 a.m. UTC | #3
On Thu, 10 Sep 2020 17:50:38 +0200, Bodo Stroesser wrote:

> This small series is made on top of Martin's 5.10/scsi-queue branch.
> 
> The patches simplify some code, splits off new helper functions
> or implement a cleaner code sequence to prevent double work.
> The 3rd patch speeds up buffer preparation for SCSI commands with
> long read data.
> The series is also base for cleaned up version v3 of my patch
>   scsi: target: tcmu: add compat mode for 32bit userspace on 64bit kernel
> 
> [...]

Applied to 5.10/scsi-queue, thanks!

[1/3] scsi: target: tcmu: Join tcmu_cmd_get_data_length() and tcmu_cmd_get_block_cnt()
      https://git.kernel.org/mkp/scsi/c/52ef2743f16c
[2/3] scsi: target: tcmu: Optimize queue_cmd_ring()
      https://git.kernel.org/mkp/scsi/c/7e98905e9d0d
[3/3] scsi: target: tcmu: Optimize scatter_data_area()
      https://git.kernel.org/mkp/scsi/c/3c9a7c58ea3d