Re: [GIT PULL] target fixes for v3.10-rc2

2013-05-22 Thread Or Gerlitz
On Thu, May 16, 2013 at 7:53 AM, Nicholas A. Bellinger
n...@linux-iscsi.org wrote:

 Yes, that's the patch included in the PULL request here:
 http://git.kernel.org/cgit/linux/kernel/git/nab/target-pending.git/commit/?h=queueid=52c07423a819091b0fe9abbf26977098b996f85b

Cool!


 Btw, It still needs to be enabled in userspace, but appending a
 rd_nullio=1 to the /control parameters with the following lio-utils
 patch should work for your testing purposes atm..

are you merging this into the lio-utils git tree and maybe sparing a
word on that in the documentation (where?) we'd like to point people
to these bits and guidelines.

Or.
--
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


[GIT PULL] target fixes for v3.10-rc2

2013-05-15 Thread Nicholas A. Bellinger
Hi Linus,

The following are target fixes currently in the queue for v3.10-rc2.  

Please go ahead and pull from:

  git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git queue

A handful of fixes + minor changes this time around, along with one
important = v3.9 regression fix for IBLOCK backends.  The highlights
include:

 - Use FD_MAX_SECTORS in FILEIO for block_device as well as files (agrover)
 - Fix processing of out-of-order CmdSNs with iSBD driver (shlomo)
 - Close long-standing target_put_sess_cmd() vs. core_tmr_abort_task() race
   with the addition of kref_put_spinlock_irqsave() (joern + greg-kh)
 - Fix IBLOCK WCE=1 + DPOFUA=1 backend WRITE regression in = v3.9 (nab + bootc)

Note these four patches are CC'ed to stable.

Also, there is still some work left to be done on the active I/O
shutdown path in target_wait_for_sess_cmds() used by tcm_qla2xxx +
ib_isert fabrics that is still being discussed on the list, and will
hopefully be resolved soon.

Thank you,

--nab

Andy Grover (3):
  target: Remove unused struct members in se_dev_entry
  target: Use FD_MAX_SECTORS/FD_BLOCKSIZE for blockdevs using fileio
  target: Have dev/enable show if TCM device is configured

Geert Uytterhoeven (1):
  iscsi-target: Make buf param of iscsit_do_crypto_hash_buf() const
void *

Joern Engel (2):
  target: removed unused transport_state flag
  target: close target_put_sess_cmd() vs. core_tmr_abort_task() race

Nicholas Bellinger (5):
  iscsi-target: Fix NULL pointer dereference in iscsit_send_reject
  target/rd: Add ramdisk bit for NULLIO operation
  iscsi-target: Fix typos in RDMAEXTENSIONS macro usage
  MAINTAINERS: Update target git tree URL
  target/iblock: Fix WCE=1 + DPOFUA=1 backend WRITE regression

Shlomo Pongratz (1):
  iscsi-target: Fix processing of OOO commands

 MAINTAINERS|2 +-
 drivers/target/iscsi/iscsi_target.c|   63 ++--
 drivers/target/iscsi/iscsi_target_erl1.c   |7 ++-
 drivers/target/iscsi/iscsi_target_parameters.c |8 ++--
 drivers/target/iscsi/iscsi_target_parameters.h |4 +-
 drivers/target/target_core_configfs.c  |   11 +++-
 drivers/target/target_core_device.c|   14 -
 drivers/target/target_core_file.c  |9 +---
 drivers/target/target_core_iblock.c|2 +
 drivers/target/target_core_internal.h  |1 -
 drivers/target/target_core_rd.c|   21 +++-
 drivers/target/target_core_rd.h|1 +
 drivers/target/target_core_transport.c |   13 ++---
 include/linux/kref.h   |   33 
 include/target/target_core_base.h  |5 --
 15 files changed, 107 insertions(+), 87 deletions(-)

-- 
1.7.2.5

--
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


Re: [GIT PULL] target fixes for v3.10-rc2

2013-05-15 Thread Or Gerlitz
On Wed, May 15, 2013 at 5:50 PM, Nicholas A. Bellinger
n...@linux-iscsi.org wrote:
 A handful of fixes + minor changes this time around, along with one
 important = v3.9 regression fix for IBLOCK backends.  The highlights include:

Hi Nic,

Are you pushing also a patch which would allow to actually test NULL
based RAM target (e.g target backend that does no actual IO)

Or.


 Nicholas Bellinger (5):
   iscsi-target: Fix NULL pointer dereference in iscsit_send_reject
   target/rd: Add ramdisk bit for NULLIO operation
   iscsi-target: Fix typos in RDMAEXTENSIONS macro usage
   MAINTAINERS: Update target git tree URL
   target/iblock: Fix WCE=1 + DPOFUA=1 backend WRITE regression

 Shlomo Pongratz (1):
   iscsi-target: Fix processing of OOO commands
--
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


Re: [GIT PULL] target fixes for v3.10-rc2

2013-05-15 Thread Nicholas A. Bellinger
On Wed, 2013-05-15 at 23:40 -0400, Or Gerlitz wrote:
 On Wed, May 15, 2013 at 5:50 PM, Nicholas A. Bellinger
 n...@linux-iscsi.org wrote:
  A handful of fixes + minor changes this time around, along with one
  important = v3.9 regression fix for IBLOCK backends.  The highlights 
  include:
 
 Hi Nic,
 
 Are you pushing also a patch which would allow to actually test NULL
 based RAM target (e.g target backend that does no actual IO)
 

Yes, that's the patch included in the PULL request here:

http://git.kernel.org/cgit/linux/kernel/git/nab/target-pending.git/commit/?h=queueid=52c07423a819091b0fe9abbf26977098b996f85b

Btw, It still needs to be enabled in userspace, but appending a
rd_nullio=1 to the /control parameters with the following lio-utils
patch should work for your testing purposes atm..

--nab

diff --git a/tcm-py/tcm_ramdisk.py b/tcm-py/tcm_ramdisk.py
index 2f66aeb..3340705 100755
--- a/tcm-py/tcm_ramdisk.py
+++ b/tcm-py/tcm_ramdisk.py
@@ -14,7 +14,7 @@ def createvirtdev(path, params):
 #  print Calling ramdisk createvirtdev: params  + str(params)
rd_pages = params[0]
 
-   rd_params = rd_pages= + rd_pages
+   rd_params = rd_pages= + rd_pages + ,rd_nullio=1
 #  print rd_params:  + rd_params
 
control_opt = echo -n  + rd_params.rstrip() ++ cfs_path + 
/control


 Or.
 
 
  Nicholas Bellinger (5):
iscsi-target: Fix NULL pointer dereference in iscsit_send_reject
target/rd: Add ramdisk bit for NULLIO operation
iscsi-target: Fix typos in RDMAEXTENSIONS macro usage
MAINTAINERS: Update target git tree URL
target/iblock: Fix WCE=1 + DPOFUA=1 backend WRITE regression
 
  Shlomo Pongratz (1):
iscsi-target: Fix processing of OOO commands
 --
 To unsubscribe from this list: send the line unsubscribe target-devel in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
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