Re: Asynchronous scsi scanning

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Satyam Sharma
Date: Thursday, May 17, 2007 - 11:47 am

Hi Christoph,

On 5/17/07, Christoph Hellwig <hch@infradead.org> wrote:

What I have in mind is actually this: We implement commands to
trigger the scsi_complete_async_scans() using *both* the
(legacy, agreed) /proc/scsi/scsi interface _and_ using a sysfs
attribute for this (either in /sys/module/scsi_mod/parameter/, using
a module_param_call as Roland suggested, or, create a new
/sys/module/scsi_mod/<whatever>/wait_..., whatever is appropriate).

/proc/scsi/scsi is now deprecated _because_ the sysfs alternative
became available, after all (we couldn't pull functionality /
interfaces previously exposed to userspace from under them
without giving equivalent alternatives anyway).

However, Ben does have a point that we shouldn't force those
using SCSI (and wishing to use the new async scanning
feature) to depend on and use sysfs too, so those like him could
use /proc/scsi/scsi. The idea is that with time sysfs gets its act
together and thus becomes standard enough on all Linux boxen
(much like /proc is today), and those like Ben could later switch
to that.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Asynchronous scsi scanning, Matthew Wilcox, (Tue May 15, 5:02 am)
Re: Asynchronous scsi scanning, Simon Arlott, (Tue May 15, 9:30 am)
Re: Asynchronous scsi scanning, Matthew Wilcox, (Tue May 15, 10:29 am)
[PATCH] SCSI: Let users disable SCSI_WAIT_SCAN to be built, Stefan Richter, (Tue May 15, 2:56 pm)
Re: Asynchronous scsi scanning, Satyam Sharma, (Tue May 15, 4:27 pm)
Re: Asynchronous scsi scanning, Arjan van de Ven, (Tue May 15, 4:28 pm)
Re: Asynchronous scsi scanning, Satyam Sharma, (Tue May 15, 4:49 pm)
Re: Asynchronous scsi scanning, Matthew Wilcox, (Tue May 15, 7:51 pm)
Re: Asynchronous scsi scanning, Roland Dreier, (Tue May 15, 7:59 pm)
Re: Asynchronous scsi scanning, Satyam Sharma, (Thu May 17, 10:13 am)
Re: Asynchronous scsi scanning, Matthew Wilcox, (Thu May 17, 10:20 am)
sysfs makes scaling suck Re: Asynchronous scsi scanning, Benjamin LaHaise, (Thu May 17, 10:32 am)
Re: Asynchronous scsi scanning, Satyam Sharma, (Thu May 17, 10:41 am)
Re: sysfs makes scaling suck Re: Asynchronous scsi scanning, James Bottomley, (Thu May 17, 10:45 am)
Re: sysfs makes scaling suck Re: Asynchronous scsi scanning, Benjamin LaHaise, (Thu May 17, 10:49 am)
Re: Asynchronous scsi scanning, Christoph Hellwig, (Thu May 17, 11:24 am)
Re: Asynchronous scsi scanning, Satyam Sharma, (Thu May 17, 11:47 am)
Re: Asynchronous scsi scanning, Christoph Hellwig, (Thu May 17, 11:51 am)
Re: Asynchronous scsi scanning, Satyam Sharma, (Thu May 17, 12:04 pm)
Re: Asynchronous scsi scanning, Matthew Wilcox, (Thu May 17, 12:39 pm)
Re: Asynchronous scsi scanning, Benjamin LaHaise, (Thu May 17, 12:43 pm)
Re: Asynchronous scsi scanning, Matthew Wilcox, (Thu May 17, 2:30 pm)
Re: Asynchronous scsi scanning, Dave Jones, (Thu May 17, 2:42 pm)
Re: Asynchronous scsi scanning, Peter Jones, (Thu May 17, 3:00 pm)
Re: Asynchronous scsi scanning, Peter Jones, (Thu May 17, 3:24 pm)
Re: Asynchronous scsi scanning, Satyam Sharma, (Thu May 17, 8:41 pm)
Re: Asynchronous scsi scanning, Satyam Sharma, (Thu May 17, 10:28 pm)
Re: Asynchronous scsi scanning, Matthew Wilcox, (Fri May 18, 4:19 am)
Re: Asynchronous scsi scanning, Matthew Wilcox, (Fri May 18, 4:24 am)
Re: Asynchronous scsi scanning, Satyam Sharma, (Fri May 18, 6:06 am)
Re: Asynchronous scsi scanning, Satyam Sharma, (Fri May 18, 6:14 am)
Re: Asynchronous scsi scanning, Stefan Richter, (Fri May 18, 7:00 am)