linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Douglas Gilbert <dougg@torque.net>
To: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: linux-scsi@vger.kernel.org, tomof@acm.org,
	James.Bottomley@HansenPartnership.com
Subject: Re: [PATCH 0/5] scsi_debug: increase the amount of ram that scsi_ram can allocate
Date: Sun, 30 Mar 2008 13:11:49 -0400	[thread overview]
Message-ID: <47EFC9D5.8080107@torque.net> (raw)
In-Reply-To: <1206806398-22205-1-git-send-email-fujita.tomonori@lab.ntt.co.jp>

FUJITA Tomonori wrote:
> Currently, the maximum amount of RAM that scsi_debug can actually
> allocate is 4GB. This patchset increase it to 2TB.
> 
> Here's an example, scsi_debug allocates 6GB ram and exports it as if
> it were 6GB disk.
> 
> fujita@rose:/sys/bus/pseudo/drivers/scsi_debug$ cat virtual_gb
> 0
> fujita@rose:/sys/bus/pseudo/drivers/scsi_debug$ cat dev_size_mb
> 6144
> 
> scsi3 : scsi_debug, version 1.81 [20070104], dev_size_mb=6144, opts=0x0
> scsi 3:0:0:0: Direct-Access     Linux    scsi_debug       0004 PQ: 0 ANSI: 5
> sd 3:0:0:0: [sdc] 12582912 512-byte hardware sectors (6442 MB)
> 
> 
> This patchset also include minor cleanup.
> 
> This is against scsi-misc with the scsi_build_sense_buffer helper
> patchset and the scsi_debug lba fix:
> 
> http://marc.info/?l=linux-scsi&m=120640632301595&w=2
> 
> http://marc.info/?l=linux-scsi&m=120643343003171&w=2

For patches 1/5, 2/5, 3/5, 4/5 and 5/5 associated with this post:
Signed-off-by: Douglas Gilbert <dougg@torque.net>


Doug Gilbert

      parent reply	other threads:[~2008-03-30 17:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-29 15:59 [PATCH 0/5] scsi_debug: increase the amount of ram that scsi_ram can allocate FUJITA Tomonori
2008-03-29 15:59 ` [PATCH 1/5] scsi_debug: remove unnecessary sdebug_store_size FUJITA Tomonori
2008-03-29 15:59   ` [PATCH 2/5] scsi_debug: sweep up sdebug_capacity calculation FUJITA Tomonori
2008-03-29 15:59     ` [PATCH 3/5] scsi_debug: remove the duplicated code in resp_read and resp_write FUJITA Tomonori
2008-03-29 15:59       ` [PATCH 4/5] scsi_debug: support large non-fake virtual disk FUJITA Tomonori
2008-03-29 15:59         ` [PATCH 5/5] scsi_debug: remove unnecessary function declarations FUJITA Tomonori
2008-03-29 18:09         ` [PATCH 4/5] scsi_debug: support large non-fake virtual disk Douglas Gilbert
2008-03-30  2:58           ` FUJITA Tomonori
2008-03-30 17:11 ` Douglas Gilbert [this message]

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=47EFC9D5.8080107@torque.net \
    --to=dougg@torque.net \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=fujita.tomonori@lab.ntt.co.jp \
    --cc=linux-scsi@vger.kernel.org \
    --cc=tomof@acm.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;
as well as URLs for NNTP newsgroup(s).