[PATCH 2/2] target: Remove TARGET_MAX_LUNS_PER_TRANSPORT

2015-06-09 Thread Hannes Reinecke
LUN allocation is now fully dynamic, so there is no need to artificially restrain the number of exported LUNs. Signed-off-by: Hannes Reinecke --- drivers/target/target_core_device.c | 9 - drivers/target/target_core_fabric_configfs.c | 8 drivers/target/target_core_tpg.

[PATCH 1/2] target: use 64-bit LUNs

2015-06-09 Thread Hannes Reinecke
As we're now using a list to hold the LUNs the target core can now converted to use 64-bit LUNs internally. Signed-off-by: Hannes Reinecke --- drivers/target/iscsi/iscsi_target_tmr.c | 4 +-- drivers/target/loopback/tcm_loop.c | 4 +-- drivers/target/target_core_alua.c

[PATCH 0/2] target: 64-bit LUN support

2015-06-09 Thread Hannes Reinecke
Hi Nic, here's now the patchset for making LIO-target support 64-bit LUNs. Pretty straightforward, plus an additional patch to remove the now obsolete limitation on 256 LUNs per TPG. There had been a comment in the header that REPORT LUN emulation would only support up to one page in payload, but

Re: [PATCH] megaraid_sas: insert missing space in kernel message

2015-06-09 Thread Johannes Thumshirn
On Tue, Jun 09, 2015 at 04:53:43PM +0100, Colin King wrote: > From: Colin Ian King > > The printk format specifier string is missing a space between > the %p format specifier and the "on the defer" text. Minor fix, > add the missing space. > > Signed-off-by: Colin Ian King > --- > drivers/scsi

RE: [PATCH] megaraid_sas: insert missing space in kernel message

2015-06-09 Thread Sumit Saxena
>-Original Message- >From: Colin King [mailto:colin.k...@canonical.com] >Sent: Tuesday, June 09, 2015 9:24 PM >To: Kashyap Desai; Sumit Saxena; Uday Lingala; James E.J. Bottomley; >megaraidlinux@avagotech.com; linux-scsi@vger.kernel.org >Cc: linux-ker...@vger.kernel.org >Subject: [PATCH

[PATCH v4] fusion: remove dead MTRR code

2015-06-09 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" If and when this gets enabled the driver could should split up IO memory space properly and that is quite a bit of work. Just remove the uncommented dead MTRR code then. There are a few motivations for this: a) Take advantage of PAT when available b) Help bury MTRR co

[PATCH v6] cxlflash: Base support for IBM CXL Flash Adapter

2015-06-09 Thread Matthew R. Ochs
SCSI device driver to support filesystem access on the IBM CXL Flash adapter. Supported-by: Stephen Bates Reviewed-by: Michael Neuling Signed-off-by: Matthew R. Ochs Signed-off-by: Manoj N. Kumar --- drivers/scsi/Kconfig|1 + drivers/scsi/Makefile |1 + drivers/s

[PATCH v6] IBM CXL Flash Adapter

2015-06-09 Thread Matthew R. Ochs
This patch adds support for the IBM CXL flash (cxlflash) adapter. The device is presented to the system as a SCSI adapter and may be accessed and used via the normal filesystem paths. Note that the patch is dependent on support that has not yet been merged in with the mainline. The core cxl change

Re: [PATCH v5] cxlflash: Base support for IBM CXL Flash Adapter

2015-06-09 Thread Matthew R. Ochs
On Jun 9, 2015, at 1:30 PM, Brian King wrote: > On 06/09/2015 11:01 AM, Matthew R. Ochs wrote: >> >> On Jun 9, 2015, at 9:37 AM, Manoj Kumar wrote: >>> On 6/9/2015 6:29 AM, Brian King wrote: > > This was the optimization to avoid the MMIO for both threads. The other > thread that rac

Re: [PATCH v5] cxlflash: Base support for IBM CXL Flash Adapter

2015-06-09 Thread Brian King
On 06/09/2015 11:01 AM, Matthew R. Ochs wrote: > Brian/Manoj, > > See my alternate proposal below. > > -matt > > On Jun 9, 2015, at 9:37 AM, Manoj Kumar wrote: >> On 6/9/2015 6:29 AM, Brian King wrote: This was the optimization to avoid the MMIO for both threads. The other thread

[PATCH RESEND] Documentation/scsi: Documentation about scsi_cmnd lifecycle

2015-06-09 Thread Rajat Jain
Add documentation to describe the various scenarios that the scsi_cmnd may go through in its life time in the mid level driver - aborts, failures, retries, error handling etc. The documentation has lots of details including examples. Signed-off-by: Rajat Jain --- Hello James / linux-scsi, Resend

Re: [PATCH] Documentation/scsi: Documentation about scsi_cmnd lifecycle

2015-06-09 Thread Rajat Jain
Hello James, On Tue, May 26, 2015 at 11:15 AM, Rajat Jain wrote: > Hello James / linux-scsi folks, > > On Wed, May 13, 2015 at 12:36 PM, Jonathan Corbet wrote: >> On Tue, 12 May 2015 14:33:46 -0700 >> Rajat Jain wrote: >> >>> Add documentation to describe the various scenarios that the scsi_cmn

Re: [PATCH v5] cxlflash: Base support for IBM CXL Flash Adapter

2015-06-09 Thread Matthew R. Ochs
Brian/Manoj, See my alternate proposal below. -matt On Jun 9, 2015, at 9:37 AM, Manoj Kumar wrote: > On 6/9/2015 6:29 AM, Brian King wrote: >>> >>> This was the optimization to avoid the MMIO for both threads. The other >>> thread that raced should >>> do the atomic set of afu->room to a posit

[PATCH] megaraid_sas: insert missing space in kernel message

2015-06-09 Thread Colin King
From: Colin Ian King The printk format specifier string is missing a space between the %p format specifier and the "on the defer" text. Minor fix, add the missing space. Signed-off-by: Colin Ian King --- drivers/scsi/megaraid/megaraid_sas_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deleti

Re: [PATCH v5] cxlflash: Base support for IBM CXL Flash Adapter

2015-06-09 Thread Manoj Kumar
On 6/9/2015 6:29 AM, Brian King wrote: Pulled out going to sleep in the queuecommand path. udelay doesn't sleep, its a busy wait, so you can still use it in queuecommand, just don't spend too much time, and its probably better to udelay then to just re-read in a tight loop. Thanks for the cl

[PATCH 2/3] csiostor:Cleanup debugfs.

2015-06-09 Thread Praveen Madhavan
This patch cleanup existing debugfs. Debugfs support is moved into to new file in next patch of this series. Signed-off-by: Praveen Madhavan --- drivers/scsi/csiostor/csio_init.c | 132 -- drivers/scsi/csiostor/csio_init.h | 4 ++ 2 files changed, 4 insertio

[PATCH 3/3] csiostor:Adds debugfs support.

2015-06-09 Thread Praveen Madhavan
This patch adds debugfs support to dump adapter log, adapter queues, and fcoe DDP stats. Signed-off-by: Praveen Madhavan --- drivers/net/ethernet/chelsio/cxgb4/t4_regs.h |1 + drivers/scsi/csiostor/Makefile |2 +- drivers/scsi/csiostor/csio_debugfs.c | 1100

[PATCH 0/3] csiostor:Debugfs support update.

2015-06-09 Thread Praveen Madhavan
This patch series adds debugfs functionality to dump adapter log, adapter queues and fcoe DDP stats. This patch has been created against net-next. Praveen Madhavan (3): csiostor:Add devlog mailbox support. csiostor:Cleanup debugfs. csiostor:Adds debugfs support. drivers/net/ethernet/chel

[PATCH 1/3] csiostor:Add devlog mailbox support.

2015-06-09 Thread Praveen Madhavan
This patch adds devlog mailbox support required for debugfs. Signed-off-by: Praveen Madhavan --- drivers/scsi/csiostor/csio_hw.c | 72 +++-- drivers/scsi/csiostor/csio_hw.h | 12 +++ drivers/scsi/csiostor/csio_mb.c | 60 ++

Re: [PATCH v2 4/4] scsi: ufs: probe and init of variant driver from the platform device

2015-06-09 Thread Rob Herring
On Tue, Jun 9, 2015 at 12:53 AM, Dov Levenglick wrote: >> On Sun, Jun 7, 2015 at 10:32 AM, wrote: 2015-06-05 5:53 GMT+09:00 : [...] >>> If ufshcd-pltfrm driver is loaded before ufs-qcom, (what actually >>> happens >>> always), then the calling to of_platform_populate() which is added, >>

[PATCH 1/1] cxgbi: fix build with EXTRA_CFLAGS

2015-06-09 Thread Jiri Slaby
EXTRA_CFLAGS are intended to be used on the command line, not by Kbuild. In case of cxgbi drivers, use of EXTRA_CFLAGS results in a compilation failure: drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:24:21: fatal error: t4_regs.h: No such file or directory when building like: $ make drivers/scsi/cxgbi/ EXTRA_

Re: [PATCH v5] cxlflash: Base support for IBM CXL Flash Adapter

2015-06-09 Thread Brian King
On 06/08/2015 06:24 PM, Manoj Kumar wrote: > On 6/8/2015 5:56 PM, Brian King wrote: >>> +retry: >>> +newval = atomic64_dec_if_positive(&afu->room); >>> +if (!newval) { >>> +do { >>> +room = readq_be(&afu->host_map->cmd_room); >>> +atomic64_set(&afu->room, roo

Re: [RFC 1/2] target: Add support for fabric IRQ completion

2015-06-09 Thread Christoph Hellwig
> diff --git a/drivers/target/target_core_tpg.c > b/drivers/target/target_core_tpg.c > index 3fbb0d4..aa08d6b 100644 > --- a/drivers/target/target_core_tpg.c > +++ b/drivers/target/target_core_tpg.c > @@ -37,6 +37,7 @@ > > #include > #include > +#include > #include > > #include "target

Re: Merging mpt2sas/mpt3sas code base

2015-06-09 Thread Christoph Hellwig
Hi Sathya, please start your effort per your plans. I don't think we'll need separate binaries as we should be fine with a MODULE_ALIAS and registering two misc devices. But compared to the overall effort that's a fairly minor descision which we can revisit while going ahead. Keeping the user i

Re: [RFC 0/2] target: Add TFO->complete_irq queue_work bypass

2015-06-09 Thread Christoph Hellwig
On Thu, Jun 04, 2015 at 12:06:09AM -0700, Nicholas A. Bellinger wrote: > So I've been using tcm_loop + RAMDISK backends for prototyping, but this > patch is intended for vhost-scsi so it can avoid the unnecessary > queue_work() context switch within target_complete_cmd() for all backend > driver ty

Transakce /

2015-06-09 Thread Jng Che
Mam vzajemne mit prospech podnik pro nas oba. pokud mate zajem, muzete mi dostat na e-mailovou adresu a pro detaily a vysvetlení. E-mail: jg.ch...@gmail.com -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More major