[PATCH] lpfc: fix build issue if NVME_FC_TARGET is not defined

2017-05-16 Thread James Smart
fix build issue if NVME_FC_TARGET is not defined. noop the code. The code will never be invoked if target mode is not enabled. Signed-off-by: Dick Kennedy Signed-off-by: James Smart --- drivers/scsi/lpfc/lpfc_nvmet.c | 2 ++ 1 file changed,

Re: [PATCH] scsi: libfc: fix incorrect variable assingment

2017-05-16 Thread Martin K. Petersen
Gustavo A., > Previous assignment was causing the use of the uninitialized variable > _explan_ inside fc_seq_ls_rjt() function, which in this particular > case is being called by fc_seq_els_rsp_send(). Applied to 4.12/scsi-fixes. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v4] sd: Ignore sync cache failures when not supported

2017-05-16 Thread Martin K. Petersen
Thierry, > Some external hard drives don't support the sync command even though > the hard drive has write cache enabled. In this case, upon suspend > request, sync cache failures are ignored if the error code in the > sense header is ILLEGAL_REQUEST. There's not much we can do for these >

[PATCH] ibmvscsis: Enable Logical Partition Migration Support

2017-05-16 Thread Bryant G. Ly
From: Michael Cyr Changes to support a new mechanism from phyp to better synchronize the logical partition migration (LPM) of the client partition. This includes a new VIOCTL to register that we support this new functionality, and 2 new Transport Event types, and finally

[Bug 195763] 4.12-rc1 fails to build

2017-05-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=195763 Richard Narron (comet.berke...@gmail.com) changed: What|Removed |Added CC|

Re: [ANNOUNCE]: Broadcom (Emulex) FC Target driver - efct

2017-05-16 Thread Roland Dreier
On Sun, Mar 5, 2017 at 8:35 AM, Sebastian Herbszt wrote: > Just like Hannes I do favour integration. I guess it could be > comparable to qla2xxx + tcm_qla2xxx, lpfc + lpfc_scst and > lpfc + tcm_lpfc. That approach might even help Bart with his > target driver unification if he

Attn Beneficiary,

2017-05-16 Thread Mrs. Linda Jones
Attn Beneficiary, We have deposited the check of your fund ($2.5m USD) through western union money transfer department after our finally meeting today regarding your fund, Now all you will do is to contact western union director Mis Rose Kelly ,And She will give you the direction on how you

Re: [RFC] scsi: generate uevent for SCSI sense code

2017-05-16 Thread Song Liu
> On May 16, 2017, at 10:00 AM, Benjamin Block > wrote: > > Hello, > > On Wed, May 03, 2017 at 05:50:13PM -0700, Song Liu wrote: >> This patch adds capability for SCSI layer to generate uevent for SCSI >> sense code. The feature is gated by CONFIG_SCSI_SENSE_UEVENT.

RE: Donation

2017-05-16 Thread Bamasi, Benafsha
From: Bamasi, Benafsha Sent: Tuesday, May 16, 2017 2:56 PM Subject: Donation I am terry Jones , Mrs Gloria Mackenzie is donating 700,000$ contact her through her personal email (gloriaz...@hotmail.com)

Re: A bug in scsi_alloc_target of drivers/scsi/scsi_scan.c

2017-05-16 Thread Benjamin Block
Hello Dashi, On Tue, May 09, 2017 at 09:08:14AM +, Dashi DS1 Cao wrote: > When debugging a race condition in scsi_remove_target of 3.12, I ran into > this possible bug within scsi_alloc_target. > When an existing "struct scsi_target" is found and used, the starget just got > through

RE: [PATCH] scsi: zero per-cmd driver data for each MQ I/O

2017-05-16 Thread Long Li
> -Original Message- > From: Bart Van Assche [mailto:bart.vanass...@sandisk.com] > Sent: Monday, May 15, 2017 5:01 PM > To: j...@linux.vnet.ibm.com; linux-scsi@vger.kernel.org; linux- > ker...@vger.kernel.org; Long Li ; > martin.peter...@oracle.com > Cc: Stephen

Re: [RFC] scsi: generate uevent for SCSI sense code

2017-05-16 Thread Benjamin Block
Hello, On Wed, May 03, 2017 at 05:50:13PM -0700, Song Liu wrote: > This patch adds capability for SCSI layer to generate uevent for SCSI > sense code. The feature is gated by CONFIG_SCSI_SENSE_UEVENT. > > We can configure which sense keys generate uevent for each device > through sysfs entry

[Bug 195285] qla2xxx FW immediatly crashing after target start

2017-05-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=195285 --- Comment #5 from lober...@redhat.com --- - Original Message - > From: bugzilla-dae...@bugzilla.kernel.org > To: linux-s...@kernel.org > Sent: Tuesday, May 16, 2017 10:45:22 AM > Subject: [Bug 195285] qla2xxx FW immediatly crashing

Re: [PATCH] scsi: sg: Fix mismatch in sg_get_rq_mark

2017-05-16 Thread Andrey Konovalov
On Tue, May 16, 2017 at 4:52 PM, wrote: > From: Firo Yang > > This bug was reported by Andrey Konovalov with syzkaller: > > Call Trace: > sg_finish_rem_req+0x2a6/0x320 drivers/scsi/sg.c:1839 > sg_new_read+0x3c/0x430 drivers/scsi/sg.c:567 >

[PATCH] scsi: sg: Fix mismatch in sg_get_rq_mark

2017-05-16 Thread firogm
From: Firo Yang This bug was reported by Andrey Konovalov with syzkaller: Call Trace: sg_finish_rem_req+0x2a6/0x320 drivers/scsi/sg.c:1839 sg_new_read+0x3c/0x430 drivers/scsi/sg.c:567 sg_read+0x866/0x1830 drivers/scsi/sg.c:455 __vfs_read+0x5c3/0x750 fs/read_write.c:450

[Bug 195285] qla2xxx FW immediatly crashing after target start

2017-05-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=195285 --- Comment #4 from Anthony (anthony.blood...@gmail.com) --- I'm trying to select working setting, and some investigation shows: with parameter ql2xmqsupport=0 - target starting to work -- You are receiving this mail because: You are watching

[PATCH] scsi: libcxgbi: fix skb use after free

2017-05-16 Thread Varun Prakash
skb->data is assigned to task->hdr in cxgbi_conn_alloc_pdu(), skb gets freed after tx but task->hdr is still dereferenced in iscsi_tcp_task_xmit() to avoid this call skb_get() after allocating skb and free the skb in cxgbi_cleanup_task() or before allocating new skb in cxgbi_conn_alloc_pdu().

Re: [PATCH] sd: fix sysfs writes to "provisioning_mode" and "zeroing_mode"

2017-05-16 Thread Ewan D. Milne
On Mon, 2017-05-15 at 17:18 -0400, Martin K. Petersen wrote: > Bart, > > >> So, are you suggesting we change all the other sysfs store routines? > > > > I will leave it to Martin and James to comment on this. > > As I mentioned a few weeks ago, I have a patch that converts all these > to

[PATCH v2 33/53] scsi: fix some kernel-doc markups

2017-05-16 Thread Mauro Carvalho Chehab
Sphinx is very pedantic with regards to ident/spacing. Fix some kernel-doc markups in order to solve those errors/warnings: ./drivers/scsi/scsicam.c:121: WARNING: Inline emphasis start-string without end-string. ./drivers/scsi/scsicam.c:121: WARNING: Inline emphasis start-string without

[PATCH v2 46/53] ia64, scsi: update references for the device-io book

2017-05-16 Thread Mauro Carvalho Chehab
The book is now at Documentation/driver-api/device-io.rst. Update such references. Signed-off-by: Mauro Carvalho Chehab --- arch/ia64/include/asm/io.h | 2 +- arch/ia64/sn/kernel/iomv.c | 2 +- drivers/scsi/qla1280.c | 2 +- 3 files changed, 3 insertions(+), 3

[Bug 195285] qla2xxx FW immediatly crashing after target start

2017-05-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=195285 --- Comment #3 from Anthony (anthony.blood...@gmail.com) --- Two cards installed in new test machine: QLE2462 and QLE2560 qle2560 spam with errors (without starting a target) scsi host8: qla2xxx qla2xxx [:05:00.1]-00fb:8: QLogic QLE2462 -