Re: [PATCH 1/2] Use sdev_scsi2lun for SCSI parallel drivers

2014-07-05 Thread Christoph Hellwig
On Fri, Jul 04, 2014 at 04:12:22PM +0200, Hannes Reinecke wrote: > >So what would be set in the upper 48 bits for those drivers? We receive > >the LUN over the wire to start with. > > > None. All these devices are physically incapable of receiving or sending > LUNs more that a byte wide. So what

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

2014-07-05 Thread Alex Elsayed
Reply inline, with a good bit of snipping done (posting via gmane, so quote/content ratio is an issue). Andy Grover wrote: > +These backstores cover the most common use cases, but not all. One new > +use case that other non-kernel target solutions, such as tgt, are able > +to support is using Gl

dummy scsi read or scsi command periodically for external USB Hard Disk

2014-07-05 Thread loody
hi all: we met a USB Hard Disk that will go to suspend if host stop sending scsi command over 5mins. To save the IO, kernel will keep the file in page cache as much as he can and under this circumstances, the scsi command may disappear for a while longer enough to cause the device suspend.

[GIT PULL] SCSI fixes for 3.16-rc3

2014-07-05 Thread James Bottomley
This is a set of 13 fixes, a MAINTAINERS update and a sparse update. The fixes are mostly correct value initialisations, avoiding NULL derefs and some uninitialised pointer avoidance. All the patches have been incubated in -next for a few days. The final patch (use the scsi data buffer length to