From: James Bottomley Subject: Re: [PATCH v5 3/3] scsi: async sd resume Date: Sat, 15 Mar 2014 14:47:52 -0700 Message-ID: <1394920072.2166.29.camel@dabdike.int.hansenpartnership.com> References: <1394511589.2142.5.camel@dabdike.int.hansenpartnership.com> <1394515014.2142.11.camel@dabdike.int.hansenpartnership.com> <1394519379.2142.13.camel@dabdike.int.hansenpartnership.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-scsi-owner@vger.kernel.org To: Dan Williams Cc: Alan Stern , Tejun Heo , Len Brown , linux-scsi , Phillip Susi , IDE/ATA development list , Todd Brandt List-Id: linux-ide@vger.kernel.org On Fri, 2014-03-14 at 13:11 -0700, Dan Williams wrote: > On Mon, Mar 10, 2014 at 11:29 PM, James Bottomley > wrote: > >> > In the long game, though this whole debate is moot: setups with hard > >> > wired start times adhere to them regardless of what the system does, so > >> > they ignore start unit commands. Systems without hard wired start times > >> > can usually be started at once, so us introducing a delay is unnecessary > >> > in either case. > >> > >> Ok, then I'll let the patch stand as is. > > > > Sounds good. > > > > James > > > > > > Well, one more chirp about this. If the user has disabled async > scanning by CONFIG_SCSI_SCAN_ASYNC=n or scsi_mod.scan != "async" then > resume should follow suit. I'll include this in the next rev. Hm, OK, if this is tied at the hip to async scanning, why do you need another async domain for it? Why not just use the current async scanning domain ... it will actually probably resolve a few nasty (but wholly manufactured) races where scanning races with suspend. James