Re: [PATCH v3] target: transport should allow st FM/EOM/ILI reads

2018-05-13 Thread Hannes Reinecke
On Fri, 11 May 2018 10:56:24 -0700 Lee Duncan wrote: > When a tape drive is exported via LIO using the pscsi module, a read > that requests more bytes per block than the tape can supply returns > an empty buffer. This is because the pscsi pass-through target module > sees the "ILI" illegal length

Re: [PATCH] scsi: clean up generated file scsi_devinfo_tbl.c

2018-05-13 Thread Hannes Reinecke
On Sun, 13 May 2018 17:10:52 -0700 Randy Dunlap wrote: > From: Randy Dunlap > > "make clean" should remove the generated file "scsi_devinfo_tbl.c", > so list it in the clean-files variable so that the file gets > cleaned up. > > Fixes: 345e29608b4b ("scsi: scsi: Export blacklist flags to sysfs

[PATCH] scsi: clean up generated file scsi_devinfo_tbl.c

2018-05-13 Thread Randy Dunlap
From: Randy Dunlap "make clean" should remove the generated file "scsi_devinfo_tbl.c", so list it in the clean-files variable so that the file gets cleaned up. Fixes: 345e29608b4b ("scsi: scsi: Export blacklist flags to sysfs") Cc: Hannes Reinecke Signed-off-by: Randy Dunlap --- drivers/scsi

[Bug 199703] HPSA blocking boot on HP smart Array P400

2018-05-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199703 --- Comment #3 from Lei Ming (tom.leim...@gmail.com) --- (In reply to Roberto M. from comment #2) > (In reply to Lei Ming from comment #1) > > Could you pass 'scsi_mod.use_blk_mq=1' in kernel command line and see if > > it makes a difference? > >

[Bug 199703] HPSA blocking boot on HP smart Array P400

2018-05-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199703 --- Comment #2 from Roberto M. (roby_program...@fastwebnet.it) --- (In reply to Lei Ming from comment #1) > Could you pass 'scsi_mod.use_blk_mq=1' in kernel command line and see if > it makes a difference? Hello, I tested with parameter that you

Re: [PATCH] scsi: libosd: Remove VLA usage

2018-05-13 Thread Boaz Harrosh
On 03/05/18 01:55, Kees Cook wrote: > On the quest to remove all VLAs from the kernel[1] this rearranges the > code to avoid a VLA warning under -Wvla (gcc doesn't recognize "const" > variables as not triggering VLA creation). Additionally cleans up variable > naming to avoid 80 character column li