public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: dgilbert@interlog.com
Cc: James Bottomley <James.Bottomley@suse.de>,
	SCSI development list <linux-scsi@vger.kernel.org>,
	"Martin K. Petersen" <martin.petersen@oracle.com>
Subject: Re: [PATCH] scsi_debug: virtual_gb ignores sector_size
Date: Mon, 26 Apr 2010 10:44:19 -0400	[thread overview]
Message-ID: <yq14oiye0jg.fsf@sermon.lab.mkp.net> (raw)
In-Reply-To: <4BD419BF.4040109@interlog.com> (Douglas Gilbert's message of "Sun, 25 Apr 2010 12:30:23 +0200")

>>>>> "Doug" == Douglas Gilbert <dgilbert@interlog.com> writes:

Doug> In the scsi_debug driver, the virtual_gb option ignores the
Doug> sector_size, implicitly assuming that is 512 bytes.  So if
Doug> 'virtual_gb=1 sector_size=4096' the result is an 8 GB (virtual)
Doug> disk.

Acked-by: Martin K. Petersen <martin.petersen@oracle.com>


James: We've got quite a few unmerged scsi_debug changes out there right
now.  Are you keeping track??

-- 
Martin K. Petersen	Oracle Linux Engineering

  reply	other threads:[~2010-04-26 14:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-25 10:30 [PATCH] scsi_debug: virtual_gb ignores sector_size Douglas Gilbert
2010-04-26 14:44 ` Martin K. Petersen [this message]
2010-04-26 14:46   ` James Bottomley
2010-05-02 15:44 ` James Bottomley

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=yq14oiye0jg.fsf@sermon.lab.mkp.net \
    --to=martin.petersen@oracle.com \
    --cc=James.Bottomley@suse.de \
    --cc=dgilbert@interlog.com \
    --cc=linux-scsi@vger.kernel.org \
    /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