On Sat, Jan 14, 2012 at 4:34 PM, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote: > On Fri, Jan 13, 2012 at 08:02:14PM +0000, Nicholas A. Bellinger wrote: >> From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx> >> >> This patch adds a work-around for handling zero allocation length >> control CDBs (type SCF_SCSI_CONTROL_SG_IO_CDB) that was causing an >> OOPs with the following raw calls: >> >> # sg_raw -v /dev/sdd 3 0 0 0 0 0 >> # sg_raw -v /dev/sdd 0x1a 0 1 0 0 0 > > Can you please start collecting these in a test suite? It doesn't have > to be fancy, just a directory with shell scripts would enough. > > We had tons of issues where "odd" commands would crash the kernel, or at > least get unusual results. Without collecting them in a regression test > suite that will happen over and over again. Something like tools/testing/selftests/target ? Fubo. -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html