linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lukas Herbolt <lherbolt@redhat.com>
To: dgilbert@interlog.com, martin.petersen@oracle.com,
	linux-scsi@vger.kernel.org
Cc: Lukas Herbolt <lherbolt@redhat.com>
Subject: [PATCH] scsi_debug: Add OPTIMAL TRANSFER LENGTH GRANULARITY option.
Date: Sat,  7 Jan 2017 09:50:26 +0100	[thread overview]
Message-ID: <1483779027-10052-1-git-send-email-lherbolt@redhat.com> (raw)
In-Reply-To: <lherbolt@redhat.com>

Hello,
I have been playing with scsi_debug and found that there is no way how to change the
minimum_io_size (OPTIMAL TRANSFER LENGTH GRANULARITY reported by VPD 0xb0).

The current module has minimum_io_size always set to physical_block_size.
So here comes a small patch which add a new option to this module to be
able to set it independently to the physical_block_size. Default behavior
is to keep the minimum_io_size equal to the physical_block_size.

Lukas

Lukas Herbolt (1):
  scsi_debug: Add OPTIMAL TRANSFER LENGTH GRANULARITY option.

 drivers/scsi/scsi_debug.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

-- 
2.7.4


             reply	other threads:[~2017-01-07  8:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-07  8:50 Lukas Herbolt [this message]
2017-01-07  8:50 ` [PATCH] scsi_debug: Add OPTIMAL TRANSFER LENGTH GRANULARITY option Lukas Herbolt
2017-01-21  0:24 ` Martin K. Petersen
2017-01-24 11:41   ` Lukas Herbolt
2017-01-25 23:31     ` Martin K. Petersen
  -- strict thread matches above, loose matches on Subject: below --
2017-01-26  9:00 Lukas Herbolt
2017-02-01  3:09 ` 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=1483779027-10052-1-git-send-email-lherbolt@redhat.com \
    --to=lherbolt@redhat.com \
    --cc=dgilbert@interlog.com \
    --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).