Re: [PATCH 8/9] sd: Implement support for ZBC devices

2016-09-19 Thread Shaun Tancheff
On Mon, Sep 19, 2016 at 4:27 PM, Damien Le Moal wrote: > From: Hannes Reinecke > > Implement ZBC support functions to setup zoned disks and fill the > block device zone information tree during the device scan. The > zone information tree is also always

Re: [PATCH 1/9] block: Add 'zoned' queue limit

2016-09-19 Thread Bart Van Assche
On 09/19/16 14:27, Damien Le Moal wrote: +/* + * Zoned block device models (zoned limit). + */ +enum blk_zoned_model { + BLK_ZONED_NONE, /* Regular block device */ + BLK_ZONED_HA, /* Host-aware zoned block device */ + BLK_ZONED_HM, /* Host-managed zoned block device */ +};

Re: [PATCH 5/9] block: Implement support for zoned block devices

2016-09-19 Thread Bart Van Assche
On 09/19/16 14:27, Damien Le Moal wrote: + /* +* Make sure bi_size does not overflow because +* of some weird very large zone size. +*/ + if (nr_sects && (unsigned long long)nr_sects << 9 > UINT_MAX) + return -EINVAL; + + bio =

Re: [PATCH 4/9] block: Define zoned block device operations

2016-09-19 Thread Bart Van Assche
On 09/19/16 14:27, Damien Le Moal wrote: diff --git a/block/blk-core.c b/block/blk-core.c index 36c7ac3..4a7f7ba 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -1941,6 +1941,13 @@ generic_make_request_checks(struct bio *bio) case REQ_OP_WRITE_SAME: if

Re: [PATCH 9/9] blk-zoned: Add ioctl interface for zone operations

2016-09-19 Thread kbuild test robot
Hi Shaun, [auto build test ERROR on linus/master] [also build test ERROR on v4.8-rc7] [cannot apply to block/for-next next-20160919] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --b

Re: [PATCH 5/7] pas16: remove from tree

2016-09-19 Thread Finn Thain
On Mon, 19 Sep 2016, Christoph Hellwig wrote: > The driver has not seen any maintainer activity or other work that > wasn't tree wide conversion or clenaups in the entire history of the git > tree. That could indicate mature code, absent maintainer etc. It doesn't justify or explain code

Re: [PATCH 8/9] sd: Implement support for ZBC devices

2016-09-19 Thread kbuild test robot
Hi Hannes, [auto build test WARNING on linus/master] [also build test WARNING on v4.8-rc7] [cannot apply to block/for-next next-20160919] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --b

Re: [PATCH 1/1] ibmvfc: Fix I/O hang when port is not mapped

2016-09-19 Thread Martin K. Petersen
> "Tyrel" == Tyrel Datwyler writes: Tyrel> In retrospect this probably should have been queued up for stable Tyrel> as well. Tag added. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe linux-scsi"

[PATCH 8/9] sd: Implement support for ZBC devices

2016-09-19 Thread Damien Le Moal
From: Hannes Reinecke Implement ZBC support functions to setup zoned disks and fill the block device zone information tree during the device scan. The zone information tree is also always updated on disk revalidation. This adds support for the REQ_OP_ZONE* operations and also

[PATCH 6/9] block: Add 'BLKPREP_DONE' return value

2016-09-19 Thread Damien Le Moal
From: Hannes Reinecke Add a new blkprep return code BLKPREP_DONE to signal completion without I/O error. Signed-off-by: Hannes Reinecke Changelog (Damien): Rewrite adding blk_prep_end_request as suggested by Christoph Hellwig Suggested-by: Christoph Hellwig

[PATCH 9/9] blk-zoned: Add ioctl interface for zone operations

2016-09-19 Thread Damien Le Moal
From: Shaun Tancheff Adds the new BLKUPDATEZONES, BLKREPORTZONE, BLKRESETZONE, BLKOPENZONE, BLKCLOSEZONE and BLKFINISHZONE ioctls. BLKREPORTZONE implementation uses the device queue zone RB-tree by default and no actual command is issued to the device. If the

[PATCH 3/9] block: update chunk_sectors in blk_stack_limits()

2016-09-19 Thread Damien Le Moal
From: Hannes Reinecke Signed-off-by: Hannes Reinecke Signed-off-by: Damien Le Moal --- block/blk-settings.c | 4 1 file changed, 4 insertions(+) diff --git a/block/blk-settings.c b/block/blk-settings.c index b1d5b7f..55369a6 100644

[PATCH 5/9] block: Implement support for zoned block devices

2016-09-19 Thread Damien Le Moal
From: Hannes Reinecke Implement a RB-Tree holding a zoned block device zone information (struct blk_zone) and add support functions for maintaining the RB-Tree and manipulating zone structs. The block layer support does not differentiate between host-aware and host-managed devices.

[PATCH 2/9] blk-sysfs: Add 'chunk_sectors' to sysfs attributes

2016-09-19 Thread Damien Le Moal
From: Hannes Reinecke The queue limits already have a 'chunk_sectors' setting, so we should be presenting it via sysfs. Signed-off-by: Hannes Reinecke Signed-off-by: Damien Le Moal --- block/blk-sysfs.c | 11 +++ 1 file changed, 11

[PATCH 7/9] block: Add 'BLK_MQ_RQ_QUEUE_DONE' return value

2016-09-19 Thread Damien Le Moal
From: Hannes Reinecke Add a return value BLK_MQ_RQ_QUEUE_DONE to terminate a request without error. Signed-off-by: Hannes Reinecke Signed-off-by: Damien Le Moal --- block/blk-mq.c | 1 + drivers/scsi/scsi_lib.c | 3 +++

[PATCH 4/9] block: Define zoned block device operations

2016-09-19 Thread Damien Le Moal
From: Shaun Tancheff Define REQ_OP_ZONE_REPORT, REQ_OP_ZONE_RESET, REQ_OP_ZONE_OPEN, REQ_OP_ZONE_CLOSE and REQ_OP_ZONE_FINISH for handling zones of zoned block devices (host-managed and host-aware). With with these new commands, the total number of operations defined

[PATCH 0/9] ZBC / Zoned block device support

2016-09-19 Thread Damien Le Moal
This series introduces support for ZBC zoned block devices. It integrates earlier submissions by Hannes Reinecke and Shaun Tancheff and includes rewrites and corrections suggested by Christoph Hellwig. For zoned block devices, a zone information cache implemented as an RB-tree is attached to the

[PATCH 1/9] block: Add 'zoned' queue limit

2016-09-19 Thread Damien Le Moal
Add the zoned queue limit to indicate the zoning model of a block device. Defined values are 0 (BLK_ZONED_NONE) for regular block devices, 1 (BLK_ZONED_HA) for host-aware zone block devices and 2 (BLK_ZONED_HM) for host-managed zone block devices. The drive managed model is not defined here since

Re: [PATCH 1/1] ibmvfc: Fix I/O hang when port is not mapped

2016-09-19 Thread Tyrel Datwyler
On 09/19/2016 06:59 AM, Brian King wrote: > If a VFC port gets unmapped in the VIOS, it may not respond with a CRQ init > complete following H_REG_CRQ. If this occurs, we can end up having called > scsi_block_requests and not a resulting unblock until the init complete > happens, which may never

Re: [PATCH 1/1] ibmvfc: Fix I/O hang when port is not mapped

2016-09-19 Thread Martin K. Petersen
> "Brian" == Brian King writes: Brian> If a VFC port gets unmapped in the VIOS, it may not respond with Brian> a CRQ init complete following H_REG_CRQ. If this occurs, we can Brian> end up having called scsi_block_requests and not a resulting Brian> unblock until

Re: [PATCH 2/6] ipr: use pci_irq_allocate_vectors

2016-09-19 Thread Martin K. Petersen
> "Christoph" == Christoph Hellwig writes: Christoph> Switch the ipr driver to use pci_alloc_irq_vectors. We need Christoph> to two calls to pci_alloc_irq_vectors as ipr only supports Christoph> multiple MSI-X vectors, but not multiple MSI vectors. Christoph> Otherwise this

Re: [PATCH 1/6] arcmsr: use pci_alloc_irq_vectors

2016-09-19 Thread Martin K. Petersen
> "Christoph" == Christoph Hellwig writes: Christoph> Switch the arcmsr driver to use pci_alloc_irq_vectors. We Christoph> need to two calls to pci_alloc_irq_vectors as arcmsr only Christoph> supports multiple MSI-X vectors, but not multiple MSI Christoph> vectors. Christoph>

Re: [RESEND] [PATCH 1/1] ses: Retry UNIT ATTENTION for receive diagnostics

2016-09-19 Thread Ewan D. Milne
On Mon, 2016-09-19 at 09:20 -0700, James Bottomley wrote: > On Mon, 2016-09-19 at 11:57 -0400, Martin K. Petersen wrote: > > > > > > > "Brian" == Brian King writes: > > > > Brian> If the ses driver receives a UNIT ATTENTION when issuing a > > Brian> receive diagnostics

Re: [RESEND] [PATCH 1/1] ses: Retry UNIT ATTENTION for receive diagnostics

2016-09-19 Thread James Bottomley
On Mon, 2016-09-19 at 11:57 -0400, Martin K. Petersen wrote: > > > > > > "Brian" == Brian King writes: > > Brian> If the ses driver receives a UNIT ATTENTION when issuing a > Brian> receive diagnostics while probing a SES device, it fails to > Brian> attach with

Re: [PATCH 1/1] ibmvfc: Fix I/O hang when port is not mapped

2016-09-19 Thread Tyrel Datwyler
On 09/19/2016 06:59 AM, Brian King wrote: > If a VFC port gets unmapped in the VIOS, it may not respond with a CRQ init > complete following H_REG_CRQ. If this occurs, we can end up having called > scsi_block_requests and not a resulting unblock until the init complete > happens, which may never

Re: [PATCH V1] smartpqi: raid bypass lba calculation fix

2016-09-19 Thread Martin K. Petersen
> "Don" == Don Brace writes: Don> From: kevin Barnett In the ioaccel Don> path, the calculation of the starting LBA for READ(6)/WRITE(6) SCSI Don> commands does not take into account the most significant 5 bits of Don> the LBA: it only

Re: [PATCH] megaraid_sas: clean function declarations in megaraid_sas_base.c up

2016-09-19 Thread Martin K. Petersen
> "Baoyou" == Baoyou Xie writes: Baoyou> We get a few warnings when building kernel with W=1: Baoyou> drivers/scsi/megaraid/megaraid_sas_fusion.c:281:1: warning: no Baoyou> previous prototype for 'megasas_free_cmds_fusion' Baoyou> [-Wmissing-prototypes] Baoyou>

Re: [PATCH 2/2] ipr: Remove redundant messages at adapter init time

2016-09-19 Thread Martin K. Petersen
> "Brian" == Brian King writes: Brian> Whenever multiple HRRQs are enabled, which is the default setting Brian> now, we end up seeing the following message logged prior to Brian> initialization of each HRRQ: Brian> Starting IOA initialization sequence Brian> This

Re: [PATCH 1/2] ipr: Don't log unnecessary 9084 error details

2016-09-19 Thread Martin K. Petersen
> "Brian" == Brian King writes: Brian> A 9084 error gets logged by the ipr adapter when adapter raw mode Brian> gets enabled. A bunch of unformatted hex data also gets logged Brian> for this error, which is of little use, so let's avoid logging it Brian> by default

Re: [RESEND] [PATCH 1/1] ses: Retry UNIT ATTENTION for receive diagnostics

2016-09-19 Thread Martin K. Petersen
> "Brian" == Brian King writes: Brian> If the ses driver receives a UNIT ATTENTION when issuing a Brian> receive diagnostics while probing a SES device, it fails to Brian> attach with messages such as: Brian> scsi 1:0:7:0: Failed to get diagnostic page 0x802

Re: [PATCH] hpsa: correct scsi 6byte lba calculation

2016-09-19 Thread Martin K. Petersen
> "Don" == Don Brace writes: Don> From: Mahesh Rajashekhara Don> Missing 5 bits of byte 1 in the LBA issued by SML Applied to 4.9/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list:

Re: [PATCH v1] Ibmvscsis: Fixed unused variable

2016-09-19 Thread Martin K. Petersen
> "Bryant" == Bryant G Ly writes: Applied to 4.9/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info

[PATCH 6/7] t128: remove from tree

2016-09-19 Thread Christoph Hellwig
The driver has not seen any maintainer activity or other work that wasn't tree wide conversion or clenaups in the entire history of the git tree. Signed-off-by: Christoph Hellwig --- Documentation/scsi/scsi-parameters.txt | 3 - MAINTAINERS| 1 -

[PATCH 7/7] dtc: remove from tree

2016-09-19 Thread Christoph Hellwig
The driver has not seen any maintainer activity or other work that wasn't tree wide conversion or clenaups in the entire history of the git tree. Signed-off-by: Christoph Hellwig --- Documentation/scsi/dtc3x80.txt | 43 Documentation/scsi/scsi-parameters.txt | 3 -

[PATCH 5/7] pas16: remove from tree

2016-09-19 Thread Christoph Hellwig
The driver has not seen any maintainer activity or other work that wasn't tree wide conversion or clenaups in the entire history of the git tree. Signed-off-by: Christoph Hellwig --- Documentation/scsi/scsi-parameters.txt | 3 - MAINTAINERS| 1 -

[PATCH 4/7] u14-34f: remove from tree

2016-09-19 Thread Christoph Hellwig
The driver has not seen any maintainer activity or other work that wasn't tree wide conversion or clenaups in the entire history of the git tree. Signed-off-by: Christoph Hellwig --- Documentation/scsi/scsi-parameters.txt |3 - MAINTAINERS|6 -

[PATCH 3/7] ultrastor: remove from tree

2016-09-19 Thread Christoph Hellwig
The driver has not seen any maintainer activity or other work that wasn't tree wide conversion or clenaups in the entire history of the git tree. Signed-off-by: Christoph Hellwig --- drivers/scsi/Kconfig | 17 - drivers/scsi/Makefile|1 - drivers/scsi/ultrastor.c |

[PATCH 1/7] wd7000: remove from tree

2016-09-19 Thread Christoph Hellwig
The driver has not seen any maintainer activity or other work that wasn't tree wide conversion or clenaups in the entire history of the git tree. Signed-off-by: Christoph Hellwig --- Documentation/scsi/scsi-parameters.txt |3 - MAINTAINERS|6 -

remove old and unmaintained ISA driver

2016-09-19 Thread Christoph Hellwig
Per discussion in last year and last week there are a few old ISA SCSI drivers that haven't seen any work since the dawn of git, and most likely no users. Drop them to speed up killing off the scsi_module.c infrastruture. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi"

[PATCH 2/7] in2000: remove from tree

2016-09-19 Thread Christoph Hellwig
The driver has not seen any maintainer activity or other work that wasn't tree wide conversion or clenaups in the entire history of the git tree. Signed-off-by: Christoph Hellwig --- Documentation/scsi/00-INDEX|2 - Documentation/scsi/in2000.txt | 202 ---

[PATCH 1/1] ibmvfc: Fix I/O hang when port is not mapped

2016-09-19 Thread Brian King
If a VFC port gets unmapped in the VIOS, it may not respond with a CRQ init complete following H_REG_CRQ. If this occurs, we can end up having called scsi_block_requests and not a resulting unblock until the init complete happens, which may never occur, and we end up hanging I/O requests. This

RE: [PATCH] megaraid_sas: clean function declarations in megaraid_sas_base.c up

2016-09-19 Thread Sumit Saxena
>-Original Message- >From: Baoyou Xie [mailto:baoyou@linaro.org] >Sent: Sunday, September 18, 2016 5:38 PM >To: kashyap.de...@avagotech.com; sumit.sax...@avagotech.com; >uday.ling...@avagotech.com; j...@linux.vnet.ibm.com; >martin.peter...@oracle.com >Cc:

Re: TRIM/UNMAP/DISCARD via ATA Passthrough

2016-09-19 Thread Austin S. Hemmelgarn
On 2016-09-17 01:14, James Bottomley wrote: On Fri, 2016-09-16 at 13:06 -0400, Austin S. Hemmelgarn wrote: On 2016-09-16 12:21, James Bottomley wrote: On Fri, 2016-09-16 at 11:53 -0400, Austin S. Hemmelgarn wrote: On 2016-09-16 07:16, Hannes Reinecke wrote: On 09/15/2016 10:52 PM, Jason A.

Re: [PATCH] scsi:Prevent deletion of SCSI block device in use

2016-09-19 Thread James Bottomley
On Mon, 2016-09-19 at 09:11 +, Gurunath, Vasundhara (STSD) wrote: > James Bottomley wrote: > > > > From: "Gurunath, Vasundhara" > > > > > > SCSI block device can be removed, using write to sysfs delete > > > file as > > > below: > > >

RE: [PATCH v6 0/9] Replay Protected Memory Block (RPMB) subsystem

2016-09-19 Thread Winkler, Tomas
\ > Subject: [PATCH v6 0/9] Replay Protected Memory Block (RPMB) subsystem > > > Few storage technologies such is EMMC, UFS, and NVMe support RPMB > hardware partition with common protocol and frame layout. > The RPMB partition cannot be accessed via standard block layer, but by a set > of

[PATCH] scsi:Prevent deletion of SCSI block device in use

2016-09-19 Thread Gurunath, Vasundhara (STSD)
James Bottomley wrote: >> From: "Gurunath, Vasundhara" >> >> SCSI block device can be removed, using write to sysfs delete file as >> below: >> echo 1 > /sys/block/sdX/device/delete If the device is in use by >> applications, or part of

[Bug 171181] New: +++++++[1-877^778^8714]]]]]]QUICKBOOKS support PHONE NUMBER QuickBooks phone number usa

2016-09-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=171181 Bug ID: 171181 Summary: +++[1-877^778^8714]]QUICKBOOKS support PHONE NUMBER QuickBooks phone number usa Product: SCSI Drivers Version: 2.5 Kernel Version:

[Bug 171141] New: 18009190992+++****Quickbooks Enterprise Customer Support Number##

2016-09-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=171141 Bug ID: 171141 Summary: 18009190992+++Quickbooks Enterprise Customer Support Number## Product: SCSI Drivers Version: 2.5 Kernel Version: 18009190992+++Quickbooks

[Bug 171001] New: Quickbooks Support 1-800-919-0992 Quickbooks Support phone number USA@JEETôßPppu? 1 800 919 0992 Quickbooks Support PHONENumber..,O»G++??ô US 1-800-919-0992 quickbooks Payroll help t

2016-09-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=171001 Bug ID: 171001 Summary: Quickbooks Support 1-800-919-0992 Quickbooks Support phone number USA@JEETôßPppu? 1 800 919 0992 Quickbooks Support PHONENumber..,O»G++??ô US 1-800-919-0992

[Bug 170851] New: 1800^^^919=+=+=+0992++@@QB(((QB)))Quickbooks (SUPPORt) phone number ==support phone number

2016-09-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=170851 Bug ID: 170851 Summary: 1800^^^919=+=+=+0992++@@QB(((QB)))Quickbooks (SUPPORt) phone number ==support phone number Product: SCSI Drivers Version: 2.5 Kernel Version:

[Bug 170791] New: Quickbooks Support 1-800-919-0992 Quickbooks Support phone number USA@JEETôßPppu? 1 800 919 0992 Quickbooks Support PHONENumber..,O»G++??ô US 1-800-919-0992 quickbooks Payroll help t

2016-09-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=170791 Bug ID: 170791 Summary: Quickbooks Support 1-800-919-0992 Quickbooks Support phone number USA@JEETôßPppu? 1 800 919 0992 Quickbooks Support PHONENumber..,O»G++??ô US 1-800-919-0992