[Bug 101011] Kernel Oops when disconnecting a mounted ext4 usb stick

2015-08-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=101011 Maciej Szmigiero m...@maciej.szmigiero.name changed: What|Removed |Added CC|

Re: [PATCH RESEND V2 3/7] scsi: storvsc: Untangle the storage protocol negotiation from the vmbus protocol negotiation.

2015-08-14 Thread Johannes Thumshirn
KY Srinivasan k...@microsoft.com writes: -Original Message- From: Johannes Thumshirn [mailto:jthumsh...@suse.de] Sent: Thursday, August 13, 2015 7:34 AM To: KY Srinivasan k...@microsoft.com; Keith Mange keith.ma...@microsoft.com Cc: gre...@linuxfoundation.org;

RE: [PATCH V2 2/8] pm80xx: Corrected device state changes in I_T_Nexus_Reset.

2015-08-14 Thread Viswas G
On Thu, Aug 13, 2015 at 6:13 PM, Jinpu Wang jinpu.w...@profitbricks.com wrote: Hi On Tue, Aug 11, 2015 at 11:36 AM, viswa...@pmcs.com wrote: From: Viswas G viswa...@pmcs.com In Nexus reset the device state request are not needed. Changes from V1: Device state change request has been

[PATCH v2] scsi: Export SCSI Inquiry data to sysfs

2015-08-14 Thread Johannes Thumshirn
Export the RAW SCSI Inquiry to sysfs as binfile. This way the data can be used by userland without the need to have and ioctl or use the sg_inq tool. Here is an example of the provided data linux:~ # hexdump /sys/class/scsi_device/1\:0\:0\:0/device/inquiry 000 8005 3205 001f 4551 554d

Re: [PATCH] scsi: Export SCSI Inquiry data to sysfs

2015-08-14 Thread Hannes Reinecke
On 08/13/2015 01:50 PM, Johannes Thumshirn wrote: Export the RAW SCSI Inquiry to sysfs as binfile. This way the data can be used by userlang without the need to have and ioctl or use the sg_inq tool. userland! Here is an example of the provided data linux:~ # hexdump

Re: threads scsi_eh_ and scsi_tmf_ don't die when ib_srp reconnect

2015-08-14 Thread Konstantin Krotov
12.08.2015 19:50, Bart Van Assche пишет: On 08/11/2015 10:15 PM, Konstantin Krotov wrote: 11.08.2015 23:28, Bart Van Assche пишет: Are you using a kernel from Greg KH's stable repository or another kernel ? And to which values were the yes, sources from upstream, 3.19.1 Hello Konstantin,

RE: [PATCH RESEND V2 3/7] scsi: storvsc: Untangle the storage protocol negotiation from the vmbus protocol negotiation.

2015-08-14 Thread KY Srinivasan
-Original Message- From: Johannes Thumshirn [mailto:jthumsh...@suse.de] Sent: Thursday, August 13, 2015 11:46 PM To: KY Srinivasan k...@microsoft.com Cc: Keith Mange keith.ma...@microsoft.com; gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; de...@linuxdriverproject.org;

[PATCH 1/1] scsi: storvsc: Use ARRAY_SIZE() to compute the elements in the protocol array

2015-08-14 Thread K. Y. Srinivasan
Rather than hard coding the number of elements in the array, use the ARRAY_SIZE() macro to compute the number of elements in the array. This would minimize the changes needed when we have to extend the protocols supported. This was suggested by Johannes Thumshirn jthumsh...@suse.de.

Re: [Bug 101011] Kernel Oops when disconnecting a mounted ext4 usb stick

2015-08-14 Thread Theodore Ts'o
On Fri, Aug 14, 2015 at 11:02:14AM +, bugzilla-dae...@bugzilla.kernel.org wrote: https://bugzilla.kernel.org/show_bug.cgi?id=101011 I can also confirm that this bug is present in latest stable kernel (4.1.5) and reverting commit from comment 6 seems to fix it. Christoph, I've since

[Bug 101011] Kernel Oops when disconnecting a mounted ext4 usb stick

2015-08-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=101011 --- Comment #8 from Theodore Tso ty...@mit.edu --- On Fri, Aug 14, 2015 at 11:02:14AM +, bugzilla-dae...@bugzilla.kernel.org wrote: https://bugzilla.kernel.org/show_bug.cgi?id=101011 I can also confirm that this bug is present in latest

[patch] cxlflash: off by one bug in cxlflash_show_port_status()

2015-08-14 Thread Dan Carpenter
The should be = or we read one element past the end of the array. Fixes: c21e0bbfc485 ('cxlflash: Base support for IBM CXL Flash Adapter') Signed-off-by: Dan Carpenter dan.carpen...@oracle.com Fixes: c21e0bbfc485 ('cxlflash: Base support for IBM CXL Flash Adapter') diff --git

[GIT PULL] SCSI fixes for 4.2-rc6

2015-08-14 Thread James Bottomley
This patch consists of 2 libfc fixes causing rare crashes, one iscsi one causing a potential hang on shutdown, an I/O blocksize issue which caused a regression and a memory leak in scsi-mq. The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes The

Re: threads scsi_eh_ and scsi_tmf_ don't die when ib_srp reconnect

2015-08-14 Thread Bart Van Assche
On 08/14/2015 02:06 AM, Konstantin Krotov wrote: I tested the patch, the problem is not reproduced. Thanks for confirming that the patch fixes this issue. I will send a slightly modified version of this patch soon to the Linux RDMA maintainer. Bart. -- To unsubscribe from this list: send

Re: [PATCH] scsi: Export SCSI Inquiry data to sysfs

2015-08-14 Thread James Smart
On 8/14/2015 2:32 AM, Hannes Reinecke wrote: On 08/13/2015 01:50 PM, Johannes Thumshirn wrote: Export the RAW SCSI Inquiry to sysfs as binfile. This way the data can be used by userlang without the need to have and ioctl or use the sg_inq tool. userland! Just be careful. There are