Re: Problem with USB-to-SATA adapters (was: AS2105-based enclosure size issues with >2TB HDDs)

2014-08-29 Thread Matthew Dharm
Is there an 'easy' way to override the detected size of a storage device from userspace? If we had that, someone could write a helper application which looked for this particular fubar and try to Do The Right Thing(tm), or at least offer the user some options. Matt On Fri, Aug 29, 2014 at 2:07 P

Re: Problem with USB-to-SATA adapters (was: AS2105-based enclosure size issues with >2TB HDDs)

2014-08-29 Thread Dale R. Worley
> From: Alan Stern > If you try to repartition the drive under Windows using the deficient > adapter, you'll see that the problem still exists. It just doesn't > show up during normal use. So in summary, the Windows workaround is icky, but it allows any use but repartitioning to be one on the

Re: [PATCH] bnx2fc: fix incorrect DMA memory mapping in bnx2fc_map_sg()

2014-08-29 Thread Christoph Hellwig
Chad, can you send out your last version with a proper changelog, signoff, and the ack from Eddie included? Also can you prioritize getting the shared skb patch tested? Thanks, Christoph -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to

Re: Buffer I/O error after s2ram with usb storage

2014-08-29 Thread Matthieu CASTET
Le Wed, 27 Aug 2014 10:54:53 -0400, Alan Stern a écrit : > On Wed, 27 Aug 2014, Matthieu CASTET wrote: > > > Ping > > > > I have got also a problem with a usb sdcard reader (without power cut > > during suspend) > > > > > The usb storage driver call scsi_report_bus_reset after device reset, >

Re: [PATCH 2/5] kexec: Export kexec_in_progress

2014-08-29 Thread Brian King
On 08/04/2014 09:21 AM, Brian King wrote: > On 07/28/2014 03:28 PM, Brian King wrote: >> >> Export kexec_in_progress for use by device drivers and other modules >> to optimize kexec boot. >> >> Signed-off-by: Brian King >> --- >> >> kernel/kexec.c |2 ++ >> 1 file changed, 2 insertions(+) >>

Re: [PATCH 2/2] Drivers: scsi: storvsc: Force discovery of LUNs that may have been removed.

2014-08-29 Thread Ewan Milne
On Thu, 2014-08-28 at 21:42 -0500, Mike Christie wrote: > On 08/27/2014 09:31 AM, Hannes Reinecke wrote: > > On 08/19/2014 07:54 PM, Christoph Hellwig wrote: > >> On Sat, Aug 16, 2014 at 08:09:48PM -0700, K. Y. Srinivasan wrote: > >>> The host asks the guest to scan when a LUN is removed or added.

Re: [PATCH 2/2] Drivers: scsi: storvsc: Force discovery of LUNs that may have been removed.

2014-08-29 Thread James Bottomley
On Fri, 2014-08-29 at 10:13 +0200, Hannes Reinecke wrote: > On 08/29/2014 09:39 AM, Bart Van Assche wrote: > > On 08/29/14 08:19, Hannes Reinecke wrote: > >> On 08/29/2014 04:42 AM, Mike Christie wrote: > >>> How are distros handling 0x6/0x3f/0x0e (report luns changed) when it > >>> gets passed to

Re: Debugging scsi abort handling ?

2014-08-29 Thread Hannes Reinecke
On 08/29/2014 12:39 PM, Hans de Goede wrote: Hi, On 08/29/2014 12:30 PM, Hannes Reinecke wrote: On 08/29/2014 12:14 PM, Finn Thain wrote: On Fri, 29 Aug 2014, Hannes Reinecke wrote: On 08/29/2014 06:39 AM, Finn Thain wrote: On Thu, 28 Aug 2014, Hannes Reinecke wrote: What might happen,

Re: Debugging scsi abort handling ?

2014-08-29 Thread Hans de Goede
Hi, On 08/29/2014 12:30 PM, Hannes Reinecke wrote: > On 08/29/2014 12:14 PM, Finn Thain wrote: >> >> On Fri, 29 Aug 2014, Hannes Reinecke wrote: >> >>> On 08/29/2014 06:39 AM, Finn Thain wrote: On Thu, 28 Aug 2014, Hannes Reinecke wrote: > What might happen, though, that the com

Re: Debugging scsi abort handling ?

2014-08-29 Thread Hannes Reinecke
On 08/29/2014 12:14 PM, Finn Thain wrote: On Fri, 29 Aug 2014, Hannes Reinecke wrote: On 08/29/2014 06:39 AM, Finn Thain wrote: On Thu, 28 Aug 2014, Hannes Reinecke wrote: What might happen, though, that the command is already dead and gone by the time you're calling ->scsi_done() (if you

Re: [PATCH 0/15] SCSI XCOPY support for the kernel and device mapper

2014-08-29 Thread Martin K. Petersen
> "Mike" == Mike Snitzer writes: Mike> It would be ideal for XCOPY support to make its way upstream for Mike> 3.18.. but the window for staging this work in time is closing. Mike> Any chance you might have some time to review Mikulas' revised Mike> approach to your initial XCOPY support? I

Re: Debugging scsi abort handling ?

2014-08-29 Thread Finn Thain
On Fri, 29 Aug 2014, Hannes Reinecke wrote: > On 08/29/2014 06:39 AM, Finn Thain wrote: > > > > On Thu, 28 Aug 2014, Hannes Reinecke wrote: > > > > > What might happen, though, that the command is already dead and gone > > > by the time you're calling ->scsi_done() (if you call it after > > > e

Re: [PATCH 00/22] scsi logging update

2014-08-29 Thread Hannes Reinecke
On 08/28/2014 09:24 PM, Douglas Gilbert wrote: On 14-08-28 01:33 PM, Hannes Reinecke wrote: Hi all, here's my next round of scsi logging updates. Main feature is the update to have all logging statements in one line so that they won't be broken up even under high load. This will dramatically im

Re: [PATCH 2/2] Drivers: scsi: storvsc: Force discovery of LUNs that may have been removed.

2014-08-29 Thread Hannes Reinecke
On 08/29/2014 09:39 AM, Bart Van Assche wrote: On 08/29/14 08:19, Hannes Reinecke wrote: On 08/29/2014 04:42 AM, Mike Christie wrote: How are distros handling 0x6/0x3f/0x0e (report luns changed) when it gets passed to userspace? Is everyone kicking off a new full (add and delete) scan to handle

Re: Debugging scsi abort handling ?

2014-08-29 Thread Paolo Bonzini
Il 29/08/2014 08:08, Hannes Reinecke ha scritto: >> > No. > FAILED for any eh_abort_cmd() means that the TMF hasn't been sent. > So the midlayer escalates to the next EH step. > The command will only ever be re-issued once EH completes. Then the answer to Hans's question is yes. It is legal to ca

Re: [PATCH 2/2] Drivers: scsi: storvsc: Force discovery of LUNs that may have been removed.

2014-08-29 Thread Bart Van Assche
On 08/29/14 08:19, Hannes Reinecke wrote: > On 08/29/2014 04:42 AM, Mike Christie wrote: >> How are distros handling 0x6/0x3f/0x0e (report luns changed) when it >> gets passed to userspace? Is everyone kicking off a new full (add and >> delete) scan to handle this or logging it? Is the driver retur