Instead of representing the states "visible in sysfs" and
"has been removed from the target list" by a single state
variable, use two variables to represent this information.
This patch avoids that SCSI device removal can trigger a
soft lockup.
See also:
* "scsi: restart list search after unlock
Return value of snprintf is not bound by size value, 2nd argument.
(https://www.kernel.org/doc/htmldocs/kernel-api/API-snprintf.html).
Return value is number of printed chars, can be larger than 2nd argument.
Therefore, it can write null byte out of bounds ofbuffer.
Since snprintf puts null, it
The skbs could contain both paritial pdus and multiple completed pdus.
Signed-off-by: Karen Xie
Signed-off-by: Manoj Malviya
Signed-off-by: Hariprasad Shenai
---
drivers/scsi/cxgbi/libcxgbi.c | 415
Hi
This patch series adds LRO iscsi support for chelsio T4/T5 adapters.
This patch series has been created against net-next tree and includes
patches on cxgb4 and cxgb4i driver.
We have included all the maintainers of respective drivers. Kindly review
the change and let us know in case of any
Signed-off-by: Karen Xie
Signed-off-by: Manoj Malviya
Signed-off-by: Hariprasad Shenai
---
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 396 +++--
1 file changed, 382 insertions(+), 14 deletions(-)
Looks good,
Reviewed-by: Christoph Hellwig
--
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 at http://vger.kernel.org/majordomo-info.html
Signed-off-by: Hariprasad Shenai
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 15 +-
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 40 ++---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h | 5
Hi Hariprasad,
[auto build test ERROR on net-next/master]
url:
https://github.com/0day-ci/linux/commits/Hariprasad-Shenai/cxgb4-Add-LRO-infrastructure-for-cxgb4i-driver/20160106-203040
config: i386-allmodconfig (attached as .config)
reproduce:
# save the attached .config to linux
Hi Hariprasad,
[auto build test ERROR on net-next/master]
url:
https://github.com/0day-ci/linux/commits/Hariprasad-Shenai/cxgb4-Add-LRO-infrastructure-for-cxgb4i-driver/20160106-203040
config: i386-allmodconfig (attached as .config)
reproduce:
# save the attached .config to linux
Thanks Doug
Trying that now
Laurence Oberman
Principal Software Maintenance Engineer
Red Hat Global Support Services
- Original Message -
From: "Douglas Gilbert"
To: "Laurence Oberman" , "Emmanuel Florac"
Cc:
Le Wed, 6 Jan 2016 10:23:34 -0500 (EST)
Laurence Oberman écrivait:
> MaxPartitions: 0
>
> Drive is working fine,
>
> # mt -f /dev/st0 status
> SCSI 2 tape drive:
> File number=0, block number=0, partition=0.
> Tape block size 512 bytes. Density code 0x58 (no translation).
Le Wed, 6 Jan 2016 17:10:15 +0100
Emmanuel Florac écrivait:
> Works OK with LTO-5 (HP). Sizing the partitions is quite difficult, as
> you can see. To get one "wrap" in the first partition, "140" and
> "1424000" work, but "145" doesn't. Same for LTO-6 (I'm still
>
Hello Emanuel
I am using this device, its an Ultrium 5 (LTO5)
Its an older changer and I am unable to update the firmware, still working on
that.
What version of mt are you using, as I am testing using a RHEL7.2 base and the
upstream patched kernel.
Linux example.redhat.com 4.3.3 #1 SMP Tue
Firmware update fails as follows:
Still researching. This is the only LTO5 I have access to so unless Shane has
one I may not be able to make progress.
(Its way long out of warranty and support)
We mostly use this for generic st driver and changer testing for RHEL and it
has not been updated
On 16-01-06 10:32 AM, Laurence Oberman wrote:
Firmware update fails as follows:
Still researching. This is the only LTO5 I have access to so unless Shane has
one I may not be able to make progress.
(Its way long out of warranty and support)
We mostly use this for generic st driver and changer
On Wed, 2016-01-06 at 09:24 +0100, Bart Van Assche wrote:
> Instead of representing the states "visible in sysfs" and
> "has been removed from the target list" by a single state
> variable, use two variables to represent this information.
>
> This patch avoids that SCSI device removal can trigger
On 01/05/2016 09:53 PM, mchri...@redhat.com wrote:
From: Mike Christie
This has callers of submit_bio/submit_bio_wait set the bio->bi_rw
instead of passing it in. This makes that use the same as
generic_make_request and how we set the other bio fields.
Reviewed-by: Bart
Le Mon, 4 Jan 2016 12:46:26 +0100
Emmanuel Florac écrivait:
> That works fine for me. I'm going to do some testing with other drives
> I have (LTO-3 -- should fail -- and LTO-5).
>
Works OK with LTO-5 (HP). Sizing the partitions is quite difficult, as
you can see. To
Le Tue, 5 Jan 2016 16:55:04 -0500 (EST)
Laurence Oberman écrivait:
> mt -f /dev/nst0 mkpartition 1
>
What is the type of drive exactly? I still couldn't test with the LTO-5
drive as the machine it's connected to is being reinstalled.
--
I left the log of the failure to partition out
Here it is
# mt -f /dev/nst0 mkpartition 1
/dev/nst0: Input/output error
[ 5499.341648] st 0:0:0:0: [st0] Block limits 1 - 16777215 bytes.
[ 5499.342903] st 0:0:0:0: [st0] Mode sense. Length 11, medium 0, WBS 10, BLL 8
[ 5499.343523] st 0:0:0:0:
Return value of snprintf is not bound by size value, 2nd argument.
(https://www.kernel.org/doc/htmldocs/kernel-api/API-snprintf.html).
Return value is number of printed chars, can be larger than 2nd argument.
Therefore, it can write null byte out of bounds ofbuffer.
Since snprintf puts null, it
Hi Nic,
On 12/20/15, 10:57 PM, "Nicholas A. Bellinger" wrote:
>Hi Himanshu & Co,
>
>On Thu, 2015-12-17 at 14:56 -0500, Himanshu Madhani wrote:
>> Hi Nic,
>>
>> Please apply this series to target-pending at your earliest convenience.
>>
>> changes from v1 -> v2
>>
>> o
On Jan 6, 2016, at 7:53 AM, Insu Yun wrote:
>
> Return value of snprintf is not bound by size value, 2nd argument.
> (https://www.kernel.org/doc/htmldocs/kernel-api/API-snprintf.html).
> Return value is number of printed chars, can be larger than 2nd argument.
> Therefore, it
Le Mon, 4 Jan 2016 12:22:34 +0200 (EET)
Kai Makisara écrivait:
> The patch has been tested with my DDS-4 drive.
Oh BTW, may be you could correct this one while you're at it :) I don't
think my kernel is so old... :)
~# mt -f /dev/st0 stshowopt
Your kernel (3.18.25)
From: Raghava Aditya Renukunta
During EEH recovery number of online CPU's might change thereby changing
the number of MSIx vectors. Since each fib is allocated to a vector,
changes in the number of vectors causes fib to be sent thru invalid
vectors.In addition
This patchset includes the following changes (bug fixes and
new feature support) specific to aacraid driver.
V2:
Removed aac_fib_free_tag function
Setup relevant fib variables only once
Created aac_fib_vector_assign function
Made EEH functions static
Added character device status macros
changed
From: Raghava Aditya Renukunta
The driver utilizes an array of atomic variables to keep track of
IO submissions to each vector. To submit an IO multiple threads
iterate through the array to find a vector which has empty slots
to send an IO. The reading and
From: Raghava Aditya Renukunta
Series 7 does not support PCI hot reset used by EEH.
Enabled fundamental reset only for Series 7
Changes in V2:
None
Signed-off-by: Raghava Aditya Renukunta
Reviewed-by: Johannes Thumshirn
From: Raghava Aditya Renukunta
The method to allocate and free FIB's in the present code utilizes
spinlocks.Multiple IO's have to wait on the spinlock to acquire or
free fibs creating a performance bottleneck.
An alternative solution would be to use block layer
> "Mike" == mchristi writes:
+enum req_op {
+ REQ_OP_READ,
+ REQ_OP_WRITE= REQ_WRITE,
+ REQ_OP_DISCARD = REQ_DISCARD,
+ REQ_OP_WRITE_SAME = REQ_WRITE_SAME,
+};
+
I have been irked by the REQ_ prefix in bios since the
Hello Martin,
> -Original Message-
> From: Martin K. Petersen [mailto:martin.peter...@oracle.com]
> Sent: Monday, January 4, 2016 6:08 PM
> To: Raghava Aditya Renukunta
> Cc: jbottom...@parallels.com; linux-scsi@vger.kernel.org; Mahesh
> Rajashekhara; Murthy Bhat; zzzSantosh Akula; Gana
From: Raghava Aditya Renukunta
Updated diver version to 41052
Changes in V2:
None
Signed-off-by: Raghava Aditya Renukunta
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/aacraid/aacraid.h | 2 +-
1 file
From: Raghava Aditya Renukunta
aac_fib_map_free() calls pci_free_consistent() without checking that
dev->hw_fib_va is not NULL and dev->max_fib_size is not zero.If they
are indeed NULL/0, this will result in a hang as pci_free_consistent()
will attempt to
From: Raghava Aditya Renukunta
Added support for PCI EEH(extended error handling).
Changes in V2:
Made local functions static
Removed call to aac_fib_free_tag
Set adapter_shutdown flag when PCI error detected
Signed-off-by: Raghava Aditya Renukunta
From: Raghava Aditya Renukunta
During EEH PCI hotplug activity kernel unloads and loads the driver,
causing character device to be unregistered(aac_remove_one).When the
driver is loaded back using aac_probe_one the character device needs
to be registered again
From: Raghava Aditya Renukunta
while driver removal is in progress or PCI shutdown is invoked, driver
kills AIF aacraid thread, but IOCTL requests from the management tools
re-start AIF thread leading to IOP_RESET.
Fixed by setting adapter_shutdown flag when
> "Mike" == mchristi writes:
Mike> The following patches begin to cleanup the request->cmd_flags and
bio-> bi_rw mess. We currently use cmd_flags to specify the operation,
Mike> attributes and state of the request. For bi_rw we use it for
Mike> similar info and also the
On Tue, Jan 05, 2016 at 02:53:16PM -0600, mchri...@redhat.com wrote:
> From: Mike Christie
>
> This patch has xfs set the bio bi_op to a REQ_OP, and
> rq_flag_bits to bi_rw.
>
> Note:
> I have run xfs tests on these btrfs patches. There were some failures
> with and without
> "Uma" == Uma Krishnan writes:
Uma> This patch set contains miscellaneous fixes and adds support for a
Uma> future IBM CXL adapter. This series is intended for 4.5 and is
Uma> bisectable. Please reference the changelog below for details on
Uma> what has been
On Wed, Jan 06, 2016 at 08:40:09PM -0500, Martin K. Petersen wrote:
> > "Mike" == mchristi writes:
>
> Mike> The following patches begin to cleanup the request->cmd_flags and
> bio-> bi_rw mess. We currently use cmd_flags to specify the operation,
> Mike> attributes and
> "Finn" == Finn Thain writes:
Finn> Like my previous work on the NCR5380 drivers, this patch series
Finn> has bug fixes, code cleanup and modernization. These drivers
Finn> suffer from mistakes, poor style and neglect and this long series
Finn> addresses the
> "Wilfried" == Wilfried Weissmann writes:
Wilfried> add SGPIO support to Marvell 94xx
Applied to 4.5/scsi-queue.
Thanks!
--
Martin K. Petersen Oracle Linux Engineering
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of
On Wed, 2016-01-06 at 17:00 +, Himanshu Madhani wrote:
> Hi Nic,
>
>
> On 12/20/15, 10:57 PM, "Nicholas A. Bellinger" wrote:
>
> >Hi Himanshu & Co,
> >
> >On Thu, 2015-12-17 at 14:56 -0500, Himanshu Madhani wrote:
> >> Hi Nic,
> >>
> >> Please apply this series to
Hi Mike,
On Tue, 2016-01-05 at 14:53 -0600, mchri...@redhat.com wrote:
> From: Mike Christie
>
> This patch has the target modules set the bio bi_op to a REQ_OP, and
> rq_flag_bits to bi_rw.
>
> This patch is compile tested only.
>
> Signed-off-by: Mike Christie
> "Colin" == Colin King writes:
Colin,
Colin> The return code and error return is incorrectly indented which
Colin> may cause some confusion as it appears at first sight to be
Colin> associated with a device not ready error (with missing { }
Colin> braces) rather
James Bottomley wrote:
> On Wed, 2016-01-06 at 09:24 +0100, Bart Van Assche wrote:
> > Instead of representing the states "visible in sysfs" and
> > "has been removed from the target list" by a single state
> > variable, use two variables to represent this information.
> >
> > This patch avoids
> "Paolo" == Paolo Bonzini writes:
>> This is v3 of the series to provide an "official" sg.h header (and
>> scsi_ioctl.h too, though it's basically obsolete) together with the
>> other userspace API definitions. The change from v2 to v3 is that
>> defaults for sg.c are
> "KYS" == K Y Srinivasan writes:
The template discussion appears to have lost momentum and since the
concerns were minor I have applied your latest series to 4.5/scsi-queue.
--
Martin K. Petersen Oracle Linux Engineering
--
To unsubscribe from this list: send the
48 matches
Mail list logo