Re: [PATCH] lpfc: Fix race on command completion

2016-01-21 Thread Hannes Reinecke
On 01/20/2016 05:26 PM, Tomas Henzl wrote: > On 15.1.2016 10:48, Hannes Reinecke wrote: >> Upon command completion the lpfc driver would call ->done() >> on the scsi command before taking the host lock and >> releasing the command internally. >> This opens up a race window there this command might

Re: [PATCH 1/2] scsi: Do not attach VPD to devices that don't support it

2016-01-21 Thread Alexander Duyck
On Wed, Jan 20, 2016 at 11:37 PM, Hannes Reinecke wrote: > On 01/21/2016 07:35 AM, Alexander Duyck wrote: >> The patch "scsi: rescan VPD attributes" introduced a regression in which >> devices that don't support VPD were being scanned for VPD attributes >> anyway. This could cause

What partition should the MTMKPART argument specify? Was: Re: st driver doesn't seem to grok LTO partitioning

2016-01-21 Thread Kai Mäkisara (Kolumbus)
> On 15.1.2016, at 2.21, Seymour, Shane M wrote: > > Unfortunately I'm unable to lay my hands on an LTO 5 tape drive so I'm not > able to test that it works either. If it helps at all I can test in the > negative and make sure that for an LTO 3 drive it fails gracefully

Re: What partition should the MTMKPART argument specify? Was: Re: st driver doesn't seem to grok LTO partitioning

2016-01-21 Thread Laurence Oberman
Given what we see at customers I am leaning towards the SCSI level <=2 to ensure the older LTO5's are supported. The newer ones should be backwards compatible. I may have an older LTO5 showing up that wont need a F/W update to work, and will be able to add a "tested by" once I get it. But lets

RE: What partition should the MTMKPART argument specify? Was: Re: st driver doesn't seem to grok LTO partitioning

2016-01-21 Thread Seymour, Shane M
Hi Kai, > -Original Message- > From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- > ow...@vger.kernel.org] On Behalf Of "Kai Mäkisara (Kolumbus)" > Sent: Friday, January 22, 2016 7:59 AM > To: Seymour, Shane M > Cc: Laurence Oberman; Emmanuel Florac; Laurence Oberman; linux- >

RE: What partition should the MTMKPART argument specify? Was: Re: st driver doesn't seem to grok LTO partitioning

2016-01-21 Thread Seymour, Shane M
My applogies: > It may be worth noting (if you're going to update any documentation) that > isn't 100% accurate. You actually get one wrap in partition 1 and the rest > minus one wrap into partition 0. There is one wrap used as a guard between > the two partitions. The size given to a partition

[ANNOUNCE]: SCST 3.1 release

2016-01-21 Thread Vladislav Bolkhovitin
Hi All, I'm glad to announce that SCST version 3.1 has just been released and available for download from http://scst.sourceforge.net/downloads.html. Highlights for this release: - Cluster support for SCSI reservations. This feature is essential for initiator-side clustering approaches based