From: Douglas Gilbert <dgilbert@interlog.com>
To: linux-scsi@vger.kernel.org
Cc: martin.petersen@oracle.com, Bart.VanAssche@wdc.com, hare@suse.de,
Douglas Gilbert <dgilbert@interlog.com>
Subject: [PATCH v3 0/5] scsi_debug: add write scattered support
Date: Sat, 23 Dec 2017 12:48:09 -0500 [thread overview]
Message-ID: <20171223174814.3902-1-dgilbert@interlog.com> (raw)
While testing the WRITE SCATTERED command support in a new sg3_utils
utility (sg_write_x) it was helpful to have a target that supported
this command. This command might be attractive to other kernel
subsystems. Even if end devices don't support this command yet, it
would most likely be a performance win if SCSI LLDs supported it (by
breaking it down to a series of WRITE commands), as that would cut
down the overhead of the block layer, the ULD (e.g. sd) and the SCSI
midlevel.
Changes since v2:
- remove over-zealous sanity check (lbdof >= bt_len) that rejected
valid invocations
- change a kzalloc() failure to return SCSI_MLQUEUE_HOST_BUSY as
requested by reviewer
Changes since original version:
- fix problem when fake_rw=1, identify media access commands
better with following rename
- rename FF_DIRECT_IO to FF_MEDIA_IO
- apply reviewer suggestions (Bart Van Assche)
- expand in-code comments
Douglas Gilbert (5):
scsi_debug: tab, kstrto changes
scsi_debug: fix group_number mask
scsi_debug: do_device_access add sg offset argument
scsi_debug: ARRAY_SIZE and FF_MEDIA_IO
scsi_debug: add resp_write_scat function
drivers/scsi/scsi_debug.c | 541 +++++++++++++++++++++++++++++++---------------
1 file changed, 366 insertions(+), 175 deletions(-)
--
2.14.1
next reply other threads:[~2017-12-23 17:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-23 17:48 Douglas Gilbert [this message]
2017-12-23 17:48 ` [PATCH v3 1/5] scsi_debug: tab, kstrto changes Douglas Gilbert
2017-12-23 17:48 ` [PATCH v3 2/5] scsi_debug: fix group_number mask Douglas Gilbert
2017-12-23 17:48 ` [PATCH v3 3/5] scsi_debug: do_device_access add sg offset argument Douglas Gilbert
2017-12-23 17:48 ` [PATCH v3 4/5] scsi_debug: ARRAY_SIZE and FF_MEDIA_IO Douglas Gilbert
2017-12-23 17:48 ` [PATCH v3 5/5] scsi_debug: add resp_write_scat function Douglas Gilbert
2018-01-09 3:20 ` [PATCH v3 0/5] scsi_debug: add write scattered support Martin K. Petersen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171223174814.3902-1-dgilbert@interlog.com \
--to=dgilbert@interlog.com \
--cc=Bart.VanAssche@wdc.com \
--cc=hare@suse.de \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).