Discussion:
[GIT PULL] target updates for v3.18-rc2
(too old to reply)
Nicholas A. Bellinger
2014-10-20 23:39:17 UTC
Permalink
Hi Linus,

Here are the target updates for v3.18-rc2 code. These where originally
destined for -rc1, but due to the combination of travel last week for
KVM Forum and my mistake of taking the three week merge window
literally, the pull request slipped.. Apologies for that.

A heads-up that you'll hit one minor conflict with scsi.git, that was
caught by sfr in linux-next here:

http://marc.info/?l=linux-next&m=141223868207635&w=2

Please go ahead and pull from:

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

Things where reasonably quiet this round. The highlights include:

- New userspace backend driver (target_core_user.ko) by Shaohua Li
and Andy Grover
- A number of cleanups in target, iscsi-taret and qla_target code
from Joern Engel
- Fix an OOPs related to queue full handling with CHECK_CONDITION
status from Quinn Tran
- Fix to disable TX completion interrupt coalescing in iser-target,
that was causing problems on some hardware
- Fix for PR APTPL metadata handling with demo-mode ACLs

I'm most excited about the new backend driver that uses UIO + shared
memory ring to dispatch I/O and control commands into user-space. This
was probably the most requested feature by users over the last couple of
years, and opens up a new area of development + porting of existing
user-space storage applications to LIO. Thanks to Shaohua + Andy for
making this happen.

Also another honorable mention, a new Xen PV SCSI driver was merged via
the xen/tip.git tree recently, which puts us now at 10 target drivers in
upstream! Thanks to David Vrabel + Juergen Gross for their work to get
this code merged.

Thank you,

--nab

Andreea-Cristina Bernat (1):
tcm_fc: Replace rcu_assign_pointer() with RCU_INIT_POINTER()

Andy Grover (8):
target: core_tpg_post_dellun can return void
target: Change core_dev_del_lun to take a se_lun instead of
unpacked_lun
target: Remove core_tpg_release_virtual_lun0 function
target: Remove unneeded check in sbc_parse_cdb
uio: Export definition of struct uio_device
target: Add documentation on the target userspace pass-through driver
target: Add a user-passthrough backstore
target/user: Recalculate pad size inside is_ring_space_avail()

Hannes Reinecke (1):
tcm_loop: Fixup tag handling

Himangi Saraogi (1):
target/configfs: Remove unnecessary null test

Joern Engel (20):
iscsi-target: remove unused debug code
iscsi-target: remove always-true conditions
iscsi-target: simplify return statement
iscsi-target: remove unnecessary check in iscsit_setup_np error path
iscsi-target: use strlcpy in iscsit_collect_login_stats
target: Fix possible memory leak in aptpl_metadata parsing
target: Fix memory leak on error in target_fabric_make_mappedlun
target: simplify target_fabric_make_lun error path
target: fix pr_out length in iscsi_parse_pr_out_transport_id
target: correctly handle match_int errors in FILEIO + PSCSI
target: fix unused shift in core_scsi3_pri_report_capabilities
target: simplify core_tmr_release_req()
target: remove some smp_mb__after_atomic()s
target: encapsulate smp_mb__after_atomic()
target: simplify core_tmr_abort_task
qla_target: remove unused parameter
qla_target: make some global functions static
qla_target: improve qlt_unmap_sg()
qla_target: rearrange struct qla_tgt_prm
qla_target: don't delete changed nacls

Nicholas Bellinger (5):
iscsi-target: Drop duplicate __iscsi_target_login_thread check
target/user: Fix up smatch warnings in tcmu_netlink_event
target: Fix APTPL metadata handling for dynamic MappedLUNs
target: Add force_pr_aptpl device attribute
iser-target: Disable TX completion interrupt coalescing

Quinn Tran (1):
target: Fix queue full status NULL pointer for
SCF_TRANSPORT_TASK_SENSE

Rasmus Villemoes (1):
target: target_core_ua_h: Add #define of include guard

Sagi Grimberg (1):
iser-target: Fix smatch warning

Zach Brown (1):
target/file: fix inclusive vfs_fsync_range() end

Documentation/target/tcmu-design.txt | 378 +++++++++
drivers/infiniband/ulp/isert/ib_isert.c | 6 +-
drivers/scsi/qla2xxx/qla_target.c | 35 +-
drivers/scsi/qla2xxx/qla_target.h | 12 +-
drivers/scsi/qla2xxx/tcm_qla2xxx.c | 11 +-
drivers/target/Kconfig | 7 +
drivers/target/Makefile | 1 +
drivers/target/iscsi/iscsi_target.c | 6 +-
drivers/target/iscsi/iscsi_target_configfs.c | 10 +-
drivers/target/iscsi/iscsi_target_erl0.c | 6 +-
drivers/target/iscsi/iscsi_target_login.c | 8 +-
drivers/target/iscsi/iscsi_target_util.c | 5 +-
drivers/target/loopback/tcm_loop.c | 29 +-
drivers/target/target_core_alua.c | 33 +-
drivers/target/target_core_configfs.c | 26 +-
drivers/target/target_core_device.c | 48 +-
drivers/target/target_core_fabric_configfs.c | 13 +-
drivers/target/target_core_fabric_lib.c | 6 +-
drivers/target/target_core_file.c | 13 +-
drivers/target/target_core_internal.h | 6 +-
drivers/target/target_core_pr.c | 107 +--
drivers/target/target_core_pr.h | 2 +-
drivers/target/target_core_pscsi.c | 16 +-
drivers/target/target_core_sbc.c | 2 +-
drivers/target/target_core_tmr.c | 24 +-
drivers/target/target_core_tpg.c | 53 +-
drivers/target/target_core_transport.c | 27 +-
drivers/target/target_core_ua.c | 15 +-
drivers/target/target_core_ua.h | 1 +
drivers/target/target_core_user.c | 1167 ++++++++++++++++++++++++++
drivers/target/tcm_fc/tfc_sess.c | 2 +-
drivers/uio/uio.c | 12 -
include/linux/uio_driver.h | 12 +-
include/target/target_core_base.h | 17 +
include/uapi/linux/Kbuild | 1 +
include/uapi/linux/target_core_user.h | 142 ++++
36 files changed, 1941 insertions(+), 318 deletions(-)
create mode 100644 Documentation/target/tcmu-design.txt
create mode 100644 drivers/target/target_core_user.c
create mode 100644 include/uapi/linux/target_core_user.h
Sagi Grimberg
2014-10-21 09:24:59 UTC
Permalink
Post by Nicholas A. Bellinger
Hi Linus,
Here are the target updates for v3.18-rc2 code. These where originally
destined for -rc1, but due to the combination of travel last week for
KVM Forum and my mistake of taking the three week merge window
literally, the pull request slipped.. Apologies for that.
A heads-up that you'll hit one minor conflict with scsi.git, that was
http://marc.info/?l=linux-next&m=141223868207635&w=2
git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git for-next
- New userspace backend driver (target_core_user.ko) by Shaohua Li
and Andy Grover
- A number of cleanups in target, iscsi-taret and qla_target code
from Joern Engel
- Fix an OOPs related to queue full handling with CHECK_CONDITION
status from Quinn Tran
- Fix to disable TX completion interrupt coalescing in iser-target,
that was causing problems on some hardware
- Fix for PR APTPL metadata handling with demo-mode ACLs
I'm most excited about the new backend driver that uses UIO + shared
memory ring to dispatch I/O and control commands into user-space. This
was probably the most requested feature by users over the last couple of
years, and opens up a new area of development + porting of existing
user-space storage applications to LIO. Thanks to Shaohua + Andy for
making this happen.
Also another honorable mention, a new Xen PV SCSI driver was merged via
the xen/tip.git tree recently, which puts us now at 10 target drivers in
upstream! Thanks to David Vrabel + Juergen Gross for their work to get
this code merged.
Thank you,
Nic,

Why are these fixes are not included?

Target/iser: Fix initiator_depth and responder_resources
Target/iser: Avoid calling rdma_disconnect twice
Target/iser: Don't put isert_conn inside disconnected handler
Target/iser: Get isert_conn reference once got to connected_handler

They are sitting around for some time and were supposed to make it to
3.17, I don't want these to miss 3.18 too...

Sagi.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Nicholas A. Bellinger
2014-10-21 17:54:58 UTC
Permalink
Post by Sagi Grimberg
Post by Nicholas A. Bellinger
Hi Linus,
Here are the target updates for v3.18-rc2 code. These where originally
destined for -rc1, but due to the combination of travel last week for
KVM Forum and my mistake of taking the three week merge window
literally, the pull request slipped.. Apologies for that.
A heads-up that you'll hit one minor conflict with scsi.git, that was
http://marc.info/?l=linux-next&m=141223868207635&w=2
git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git for-next
- New userspace backend driver (target_core_user.ko) by Shaohua Li
and Andy Grover
- A number of cleanups in target, iscsi-taret and qla_target code
from Joern Engel
- Fix an OOPs related to queue full handling with CHECK_CONDITION
status from Quinn Tran
- Fix to disable TX completion interrupt coalescing in iser-target,
that was causing problems on some hardware
- Fix for PR APTPL metadata handling with demo-mode ACLs
I'm most excited about the new backend driver that uses UIO + shared
memory ring to dispatch I/O and control commands into user-space. This
was probably the most requested feature by users over the last couple of
years, and opens up a new area of development + porting of existing
user-space storage applications to LIO. Thanks to Shaohua + Andy for
making this happen.
Also another honorable mention, a new Xen PV SCSI driver was merged via
the xen/tip.git tree recently, which puts us now at 10 target drivers in
upstream! Thanks to David Vrabel + Juergen Gross for their work to get
this code merged.
Thank you,
Nic,
Why are these fixes are not included?
Target/iser: Fix initiator_depth and responder_resources
Target/iser: Avoid calling rdma_disconnect twice
Target/iser: Don't put isert_conn inside disconnected handler
Target/iser: Get isert_conn reference once got to connected_handler
They are sitting around for some time and were supposed to make it to
3.17, I don't want these to miss 3.18 too...
Those went in for v3.17 with the appropriate CC's for stable.

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/infiniband/ulp/isert?id=c2f88b17a1d97ca4ecd96cc22333a7a4f1407d39
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/infiniband/ulp/isert?id=0fc4ea701fcf5bc51ace4e288af5be741465f776
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/infiniband/ulp/isert?id=38a8316b5d80ddee071d493bae567185c07de359
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/infiniband/ulp/isert?id=1a92e17e39b9a5d476e0a7aa52280e76321834ee

--nab

Loading...