Re: [PATCH] Add a 'wait-scan' command to /proc/scsi/scsi.

Bill Nottingham
2009-03-25T19:04:50Z

Christoph Hellwig (hch@infradead.org) said:
> On Wed, Mar 25, 2009 at 03:00:46PM -0400, Bill Nottingham wrote:
> > scsi_wait_scan.ko is a bad interface for a variety of reasons:
> > - once you load it, it stays in memory doing nothing
> > - if you need to call it again, you first need to check for the module
> > and unload it first
> > - waiting for scsi scans shouldn't require module loading privleges in
> > any case
> >
> > This creates a simpler interface that doesn't require as much
> > scaffolding in userspace.
>
> /proc/scsi/scsi is deprecated, plese don't add more features to it.

Then where is a better place to put this, as scsi_wait_scan.ko is
a ridiculous interface for userspace?

Bill