public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Douglas Gilbert <dgilbert@interlog.com>
To: linux-kernel@vger.kernel.org
Subject: Re: Patch to update scsi_debug.c
Date: Fri, 30 Nov 2001 00:13:23 -0500	[thread overview]
Message-ID: <3C071573.5090EB1@interlog.com> (raw)

Pete Zaitcev <zaitcev@redhat.com> wrote:

> I would like to have scsi_debug with a variable number 
> of hosts. Patch is attached. Does anyone object to the 
> demise of scsi_debug.h?

<snipped patch/>

Pete,
Maybe you may like to consider this effort. Apart from allowing
extra hosts (hundreds of them via boot/module option) it is
like a RAM disk. The default RAM allocation is 8 MB which
can be overridden by a boot/module option. You can
run fdisk on it, make a fs, mount it, etc.

See:
http://www.torque.net/sg/sdebug.html

It runs properly on SMP (Eric's didn't) and supports a
reasonable number of SCSI commands including READ_16 and
WRITE_16. I used the latter 2 commands to test (via sg)
that the recently added 16 byte CDBs worked.

BTW I kept scsi_debug.h as most other SCSI adapter drivers
have .h and .c components.

Doug Gilbert

             reply	other threads:[~2001-11-30  5:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-30  5:13 Douglas Gilbert [this message]
2001-11-30  5:14 ` Patch to update scsi_debug.c BALBIR SINGH
     [not found] <3C07138D.41A77811@interlog.com>
2001-11-30  7:26 ` Pete Zaitcev
  -- strict thread matches above, loose matches on Subject: below --
2001-11-30  4:15 Pete Zaitcev

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=3C071573.5090EB1@interlog.com \
    --to=dgilbert@interlog.com \
    --cc=linux-kernel@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