RE: [PATCH 1/1] scsi: sd: use max_xfer_blocks for set rw_max if max_xfer_blocks is available

2021-01-19 Thread Manjong Lee
>and the efficiency use of smaller command queue depth. > >Signed-off-by: Manjong Lee >--- >drivers/scsi/sd.c | 56 +++ >1 file changed, 52 insertions(+), 4 deletions(-) > >diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c >in

[PATCH 1/1] scsi: sd: use max_xfer_blocks for set rw_max if max_xfer_blocks is available

2021-01-12 Thread Manjong Lee
on SCSI device. For example, This patch is effective in case of some SCSI device like UFS with opt_xfer_size 512KB, queue depth 32 and max_xfer_size over 512KB. I expect both the performance improvement and the efficiency use of smaller command queue depth. Signed-off-by: Manjong Lee