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

2014-08-30 Thread Matthew Dharm
On Sat, Aug 30, 2014 at 2:15 PM, Alan Stern wrote: > On Fri, 29 Aug 2014, Matthew Dharm wrote: > >> 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 tr

Re: scsi_debug module deadlock on 3.17-rc2

2014-08-30 Thread Douglas Gilbert
On 14-08-30 04:56 PM, Milan Broz wrote: Hi, I am using scsi_debug in cryptsetup testsuite and with recent 3.17-rc kernel it deadlocks on rmmod of scsi_debug module. For me even this simple reproducer causes deadlock: modprobe scsi_debug dev_size_mb=16 sector_size=512 num_tgts=1 DEV="/dev/

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

2014-08-30 Thread Douglas Gilbert
On 14-08-30 05:15 PM, Alan Stern wrote: On Fri, 29 Aug 2014, Matthew Dharm wrote: 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 Thi

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

2014-08-30 Thread Alan Stern
On Fri, 29 Aug 2014, Matthew Dharm wrote: > 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

scsi_debug module deadlock on 3.17-rc2

2014-08-30 Thread Milan Broz
Hi, I am using scsi_debug in cryptsetup testsuite and with recent 3.17-rc kernel it deadlocks on rmmod of scsi_debug module. For me even this simple reproducer causes deadlock: modprobe scsi_debug dev_size_mb=16 sector_size=512 num_tgts=1 DEV="/dev/"$(grep -l -e scsi_debug /sys/block/*/device

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

2014-08-30 Thread Eric W. Biederman
Brian King writes: > 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

Re: [RFC 1/2] target: Add documentation on the target userspace pass-through driver

2014-08-30 Thread Richard W.M. Jones
On Tue, Jul 01, 2014 at 12:11:14PM -0700, Andy Grover wrote: > Describes the driver and its interface to make it possible for user > programs to back a LIO-exported LUN. > > Signed-off-by: Andy Grover > --- > Documentation/target/tcmu-design.txt | 210 > +++ > 1