aboutsummaryrefslogtreecommitdiffstats
path: root/include/target
AgeCommit message (Expand)AuthorFilesLines
2018-12-07scsi: target: consistently null-terminate t10_wwn stringsDavid Disseldorp1-3/+11
2018-12-07scsi: target/core: Make ABORT and LUN RESET handling synchronousBart Van Assche1-0/+1
2018-12-07scsi: target/core: Fix TAS handling for aborted commandsBart Van Assche2-2/+0
2018-12-07scsi: target/core: Simplify the code for aborting SCSI commandsBart Van Assche1-0/+7
2018-12-07scsi: target/core: Make it possible to wait from more than one context for co...Bart Van Assche1-1/+2
2018-12-07scsi: target/core: Use system workqueues for TMFBart Van Assche1-1/+0
2018-12-07scsi: target/core: Make sure that target_wait_for_sess_cmds() waits long enoughBart Van Assche2-1/+2
2018-12-07scsi: target/core: Simplify transport_clear_lun_ref()Bart Van Assche1-1/+0
2018-11-28scsi: target: replace fabric_ops.name with fabric_aliasDavid Disseldorp1-3/+9
2018-11-28scsi: target: drop unnecessary get_fabric_name() accessor from fabric_opsDavid Disseldorp1-1/+5
2018-11-28scsi: target: drop unused pi_prot_format attribute storageDavid Disseldorp1-1/+0
2018-11-21scsi: target: add emulate_pr backstore attr to toggle PR supportDavid Disseldorp1-0/+3
2018-10-16scsi: target/core: Remove the SCF_COMPARE_AND_WRITE_POST flagBart Van Assche1-1/+0
2018-10-16scsi: target: use ISCSI_IQN_LEN in iscsi_target_statDavid Disseldorp2-5/+5
2018-08-02scsi: target: add session removal functionMike Christie1-0/+1
2018-08-02scsi: target: rename target_alloc_sessionMike Christie1-1/+1
2018-08-02scsi: target: make transport_init_session_tags staticMike Christie1-2/+0
2018-07-30scsi: target: add helper to check if dev is configuredMike Christie1-0/+4
2018-07-02scsi: target: Remove se_dev_entry.ua_countBart Van Assche1-1/+0
2018-07-02scsi: target: Remove second argument from fabric_make_tpg()Bart Van Assche1-1/+1
2018-07-02scsi: target: Simplify the code for waiting for command completionBart Van Assche1-1/+1
2018-07-02scsi: target: Make the session shutdown code also wait for commands that are ...Bart Van Assche1-2/+1
2018-07-02scsi: target: Introduce transport_init_session()Bart Van Assche1-0/+1
2018-07-02scsi: target: Rename transport_init_session() into transport_alloc_session()Bart Van Assche1-1/+1
2018-06-26scsi: target: remove target_find_deviceMike Christie1-2/+0
2018-06-19scsi: target: Convert target drivers to use sbitmapMatthew Wilcox2-3/+5
2018-06-19scsi: target: Abstract tag freeingMatthew Wilcox1-0/+5
2018-05-18scsi: target: transport should handle st FM/EOM/ILI readsLee Duncan1-0/+1
2018-01-16target core: add device action configfs filesMike Christie2-0/+2
2018-01-12target: add SAM_STAT_BUSY sense reasonMike Christie1-0/+1
2017-11-24Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds1-0/+2
2017-11-14Merge tag 'configfs-for-4.15' of git://git.infradead.org/users/hch/configfsLinus Torvalds1-6/+6
2017-11-07target: Avoid early CMD_T_PRE_EXECUTE failures during ABORT_TASKNicholas Bellinger1-0/+1
2017-11-04target: add sense code INSUFFICIENT REGISTRATION RESOURCEStangwenji1-0/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman6-0/+6
2017-10-19target: make config_item_type constBhumika Goyal1-6/+6
2017-08-06iscsi-target: Fix iscsi_np reset hung task during parallel deleteNicholas Bellinger1-0/+1
2017-07-11iscsi-target: Add login_keys_workaround attribute for non RFC initiatorsNicholas Bellinger1-0/+9
2017-07-06target: remove transport_completeMike Christie1-4/+0
2017-07-06target: add helper to copy sense to se_cmd bufferMike Christie1-0/+2
2017-07-06target: remove g_device_listMike Christie1-1/+0
2017-07-06target: add helper to find se_device by dev_indexMike Christie1-0/+2
2017-07-06target: use idr for se_device dev indexMike Christie1-1/+0
2017-07-06target: break up free_device callbackMike Christie1-0/+1
2017-07-06target: Introduce a function that shows the command stateBart Van Assche1-0/+1
2017-07-06iscsi-target: Kill left-over iscsi_target_do_cleanupNicholas Bellinger1-1/+0
2017-07-06target: Use {get,put}_unaligned_be*() instead of open coding these functionsBart Van Assche1-0/+8
2017-07-06target: Remove se_device.dev_listBart Van Assche1-2/+0
2017-07-06target: Add TARGET_SCF_LOOKUP_LUN_FROM_TAG support for ABORT_TASKNicholas Bellinger1-1/+2
2017-06-08target/configfs: Kill se_lun->lun_link_magicNicholas Bellinger1-2/+0
2017-06-08target/configfs: Kill se_device->dev_link_magicNicholas Bellinger1-2/+0
2017-05-31iscsi-target: Fix initial login PDU asynchronous socket close OOPsNicholas Bellinger1-0/+1
2017-05-01target/user: PGR SupportBryant G. Ly1-0/+1
2017-05-01tcm: make pi data verification configurableDmitry Monakhov1-0/+1
2017-03-30target: Fix ALUA transition state race between multiple initiatorsMike Christie1-6/+2
2017-03-30target: Fix unknown fabric callback queue-full errorsNicholas Bellinger1-0/+1
2017-03-30target: Avoid mappedlun symlink creation during lun shutdownNicholas Bellinger1-0/+1
2017-03-18target: fix ALUA transition timeout handlingMike Christie1-1/+1
2017-03-18target: allow ALUA setup for some passthrough backendsMike Christie1-1/+6
2017-03-03Merge branch 'WIP.sched-core-for-linus' of git://git.kernel.org/pub/scm/linux...Linus Torvalds1-0/+2
2017-03-03sched/headers: Remove <linux/cgroup-defs.h> from <linux/sched.h>Ingo Molnar1-0/+1
2017-03-02Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds3-6/+14
2017-03-02sched/headers: Prepare to remove spurious <linux/sched.h> inclusion dependenciesIngo Molnar1-0/+1
2017-02-26target: Add counters for ABORT_TASK success + failureNicholas Bellinger1-0/+2
2017-02-26target: Fix NULL dereference during LUN lookup + active I/O shutdownNicholas Bellinger1-0/+1
2017-02-23Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledfo...Linus Torvalds1-0/+1
2017-02-18target/iscsi: split iscsit_check_dataout_hdr()Varun Prakash1-2/+9
2017-02-09target: Remove command flag CMD_T_DEV_ACTIVEBart Van Assche1-1/+0
2017-02-09target: Remove command flag CMD_T_BUSYBart Van Assche1-1/+0
2017-02-09target: Inline transport_cmd_check_stop()Bart Van Assche1-1/+1
2017-02-09target: Remove se_tmr_req.tmr_lunBart Van Assche1-1/+0
2017-02-09target/iscsi: Introduce a helper function for TMF translationBart Van Assche1-0/+1
2017-02-08target: Fix multi-session dynamic se_node_acl double free OOPsNicholas Bellinger1-0/+1
2017-01-27IB/srpt: Accept GUIDs as port namesBart Van Assche1-0/+1
2017-01-10target: add XCOPY target/segment desc sense codesDavid Disseldorp1-0/+4
2016-12-21Merge branch 'scsi-target-for-v4.10' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds6-17/+29
2016-12-16linux: drop __bitwise__ everywhereMichael S. Tsirkin1-1/+1
2016-12-09target: Minimize #include directivesBart Van Assche6-17/+29
2016-10-19target: Make EXTENDED_COPY 0xe4 failure return COPY TARGET DEVICE NOT REACHABLENicholas Bellinger1-0/+1
2016-07-20target: Fix ordered task CHECK_CONDITION early exception handlingNicholas Bellinger1-0/+1
2016-07-20target: Fix ordered task target_setup_cmd_from_cdb exception hangNicholas Bellinger1-1/+0
2016-07-20target: Fix max_unmap_lba_count calc overflowMike Christie1-1/+1
2016-05-28Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds4-8/+68
2016-05-16cxgbit: Use type ISCSI_CXGBIT + cxgbit tpg_np attributeNicholas Bellinger1-1/+1
2016-05-16iscsi-target: Convert transport drivers to signal rdma_shutdownNicholas Bellinger1-0/+1
2016-05-13target: enhance and export target_alloc_sgl/target_free_sglChristoph Hellwig2-1/+4
2016-05-10target: remove sess_kref and ->shutdown_sessionChristoph Hellwig2-7/+0
2016-05-10target: remove acl_stopChristoph Hellwig1-1/+0
2016-05-09iscsi-target: export symbolsVarun Prakash1-0/+33
2016-05-09iscsi-target: add new offload transport typeVarun Prakash1-0/+1
2016-05-09iscsi-target: move iscsit_thread_check_cpumask()Varun Prakash1-0/+26
2016-05-09iscsi-target: add void (*iscsit_get_r2t_ttt)()Varun Prakash1-0/+2
2016-05-09iscsi-target: add int (*iscsit_validate_params)()Varun Prakash1-0/+1
2016-05-09iscsi-target: add void (*iscsit_get_rx_pdu)()Varun Prakash1-0/+1
2016-05-09iscsi-target: add void (*iscsit_release_cmd)()Varun Prakash1-0/+1
2016-05-09iscsi-target: add int (*iscsit_xmit_pdu)()Varun Prakash1-0/+2
2016-03-30target: add a new add_wwn_groups fabrics methodChristoph Hellwig1-0/+1
2016-03-30target: remove ->fabric_cleanup_nodeaclChristoph Hellwig1-1/+0
2016-03-22Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds2-9/+8
2016-03-17Merge tag 'configfs-for-linus' of git://git.infradead.org/users/hch/configfsLinus Torvalds1-3/+0
2016-03-17Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-2/+2
2016-03-10target: Remove enum transport_lunflags_tableAndy Grover1-9/+2
2016-03-06configfs: switch ->default groups to a linked listChristoph Hellwig1-3/+0
2016-02-27target: Add target_alloc_session() helper functionNicholas Bellinger1-0/+6
2016-02-10target/transport: add flag to indicate CPU Affinity is observedQuinn Tran1-0/+2
2016-02-06target: Drop legacy se_cmd->task_stop_comp + REQUEST_STOP usageNicholas Bellinger1-4/+0
2016-02-05target: Fix remote-port TMR ABORT + se_cmd fabric stopNicholas Bellinger1-0/+2
2016-02-03target: Fix LUN_RESET active I/O handling for ACK_KREFNicholas Bellinger1-0/+1
2016-01-29target: Fix WRITE_SAME/DISCARD conversion to linux 512b sectorsMike Christie1-0/+3
2016-01-27iscsi-target: Use shash and ahashHerbert Xu1-2/+2
2016-01-20Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds2-6/+9
2016-01-20target: Obtain se_node_acl->acl_kref during get_initiator_node_aclNicholas Bellinger1-0/+2
2016-01-20target: Convert ACL change queue_depth se_session reference usageNicholas Bellinger1-3/+2
2016-01-07target: Support aborting tasks with a 64-bit tagBart Van Assche1-1/+1
2016-01-07target: Remove an unused variableBart Van Assche1-2/+0
2016-01-07qla2xxx: Add selective command queuingQuinn Tran1-0/+1
2016-01-06target/sbc: Add LBPRZ attribute + control CDB emulationJamie Pocas1-0/+3
2015-11-28target: Fix race for SCF_COMPARE_AND_WRITE_POST checkingNicholas Bellinger1-1/+1
2015-11-13Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds3-269/+60
2015-10-13target: use per-attribute show and store methodsChristoph Hellwig3-269/+60
2015-09-24target: Propigate backend read-only to core_tpg_add_lunNicholas Bellinger1-0/+1
2015-09-11Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds6-28/+34
2015-09-11target/qla2xxx: Honor max_data_sg_nents I/O transfer limitNicholas Bellinger1-0/+13
2015-08-26target/iscsi: Replace __kernel_sockaddr_storage with sockaddr_storageAndy Grover3-5/+5
2015-08-26target/iscsi: Replace conn->login_ip with login_sockaddrAndy Grover2-3/+2
2015-08-26target/iscsi: Keep local_ip as the actual sockaddrAndy Grover1-3/+1
2015-08-26target/iscsi: Fix np_ip bracket issue by removing np_ipAndy Grover1-1/+0
2015-08-02target: Drop iSCSI use of mutex around max_cmd_sn incrementRoland Dreier1-1/+1
2015-08-02iscsi-target: Add tpg_enabled_sendtargets for disabled discoveryDavid Disseldorp1-0/+3
2015-07-31target: Shrink struct se_cmd by rearranging fieldsRoland Dreier1-8/+8
2015-07-31target: Remove cmd->se_ordered_id (unused except debug log lines)Roland Dreier1-2/+0
2015-07-30target: remove initiatorname field in se_acl_lunChris Zankel1-1/+0
2015-07-30target: remove unused lun_flags field from se_lunChris Zankel1-1/+0
2015-07-24iscsi-target: Fix iscsit_start_kthreads failure OOPsNicholas Bellinger1-0/+1
2015-07-23target: Return descriptor format sense data in case the LU spans 64bit sectorsSagi Grimberg1-0/+2
2015-07-23tcm_loop: Send I_T_NEXUS_LOSS_OCCURRED UAHannes Reinecke1-0/+1
2015-07-06target: Use struct t10_pi_tupleSagi Grimberg1-6/+1
2015-07-04Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds6-403/+104
2015-06-23Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds2-13/+3
2015-06-23target: Bump core version to v5.0Nicholas Bellinger1-1/+1
2015-06-23target: remove target_core_configfs.hChristoph Hellwig1-34/+0
2015-06-23target: remove unused TARGET_CORE_CONFIG_ROOT defineChristoph Hellwig1-2/+0
2015-06-23target: consolidate version definesChristoph Hellwig2-3/+1
2015-06-23target: implement WRITE_SAME with UNMAP bit using ->execute_unmapChristoph Hellwig1-1/+0
2015-06-23target: simplify UNMAP handlingChristoph Hellwig1-5/+2
2015-06-23target: replace se_cmd->execute_rw with a protocol_data fieldChristoph Hellwig1-2/+1
2015-06-16target: Remove 'ua_nacl' pointer from se_ua structureHannes Reinecke1-1/+0
2015-06-15target: Remove TARGET_MAX_LUNS_PER_TRANSPORTHannes Reinecke1-3/+0
2015-06-15target: use 64-bit LUNsHannes Reinecke2-14/+15
2015-06-15target: Drop unnecessary core_tpg_register TFO parameterNicholas Bellinger1-2/+1
2015-06-02target: Minimize SCSI header #include directivesBart Van Assche2-3/+1
2015-06-02target: Correct a commentBart Van Assche1-10/+2
2015-06-01target: Drop se_lun->lun_active for existing percpu lun_refNicholas Bellinger1-1/+0
2015-06-01target: Drop lun_sep_lock for se_lun->lun_se_dev RCU usageNicholas Bellinger1-4/+6
2015-06-01target: Subsume se_port + t10_alua_tg_pt_gp_member into se_lunChristoph Hellwig1-42/+32
2015-06-01target: Simplify LUN shutdown codeBart Van Assche1-1/+0
2015-06-01target: simplify backend attribute implementationChristoph Hellwig1-29/+0
2015-06-01target: consolidate backend attribute implementationsChristoph Hellwig2-118/+3
2015-06-01target: simplify backend driver registrationChristoph Hellwig2-20/+6
2015-06-01target: Drop left-over se_lun->lun_statusNicholas Bellinger1-8/+0
2015-06-01target: Drop unused se_lun->lun_acl_listNicholas Bellinger1-3/+0
2015-06-01target: Convert se_tpg->acl_node_lock to ->acl_node_mutexNicholas Bellinger1-1/+1
2015-06-01target: Convert se_portal_group->tpg_lun_list[] to RCU hlistNicholas Bellinger2-3/+4
2015-06-01target/pr: Change alloc_registration to avoid pr_reg_tg_pt_lunNicholas Bellinger1-2/+2
2015-06-01target/pr: Use atomic bitop for se_dev_entry->deve_flags reservation checkNicholas Bellinger1-1/+2
2015-06-01target: Convert se_node_acl->device_list[] to RCU hlistNicholas Bellinger2-13/+16
2015-05-30target: remove ->put_session methodChristoph Hellwig1-1/+0
2015-05-30target: remove struct target_fabric_configfs_templateChristoph Hellwig1-26/+22
2015-05-30target: put struct target_fabric_configfs on a dietChristoph Hellwig1-7/+0
2015-05-30target: don't copy fabric opsChristoph Hellwig1-1/+1
2015-05-30target: Move task tag into struct se_cmd + support 64-bit tagsBart Van Assche2-2/+2
2015-05-30target: move transport ID handling to the coreChristoph Hellwig1-33/+0
2015-05-30target: remove the get_fabric_proto_ident methodChristoph Hellwig1-4/+0
2015-05-30target: change core_tpg_register prototypeChristoph Hellwig2-11/+7
2015-05-30target: ensure se_cmd->t_prot_sg is allocated when requiredAkinobu Mita1-0/+1
2015-05-30target: move node ACL allocation to core codeChristoph Hellwig2-5/+2
2015-05-30target: refactor init/drop_nodeacl methodsChristoph Hellwig1-7/+2
2015-05-30target: Remove first argument of target_{get,put}_sess_cmd()Bart Van Assche1-2/+2
2015-05-30target: fix DPO and FUA bit checksChristoph Hellwig1-6/+0
2015-05-30iscsi-target: remove support for obsolete markersChristophe Vu-Brugier1-10/+0
2015-05-30target: Merge sbc_verify_dif_read|writeSagi Grimberg1-5/+3
2015-05-30target: Use a PASSTHROUGH flag instead of transport_typesAndy Grover1-4/+2
2015-05-30target: Move passthrough CDB parsing into a common functionAndy Grover1-0/+2
2015-05-30target: Fix se_tpg_tfo->tf_subsys regression + remove tf_subsystemChristoph Hellwig2-3/+3
2015-04-24Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds5-18/+51
2015-04-15target: Ensure sess_prot_type is saved across session restartNicholas Bellinger1-0/+1
2015-04-14target: Remove the unused flag SCF_ACK_KREFBart Van Assche1-1/+0
2015-04-14target: Fix COMPARE_AND_WRITE with SG_TO_MEM_NOALLOC handlingNicholas Bellinger1-1/+1
2015-04-14target: simplify the target template registration APIChristoph Hellwig3-11/+23
2015-04-07target: remove the unused SCF_CMD_XCOPY_PASSTHROUGH flagChristoph Hellwig1-1/+0
2015-04-07iscsi/iser-target: Add fabric_prot_type attribute supportNicholas Bellinger1-0/+2
2015-04-07target: Add protected fabric + unprotected device supportNicholas Bellinger2-0/+9
2015-03-26iscsi-target: Drop legacy iscsi_target_tq.c logicNicholas Bellinger1-4/+2
2015-03-26iscsi-target: Convert iscsi_thread_set usage to kthread.hNicholas Bellinger1-0/+7
2015-03-19target: do not reject FUA CDBs when write cache is enabled but emulate_write_...Christophe Vu-Brugier1-0/+1
2015-03-06target: Add target_show_dynamic_sessions attribute helperNicholas Bellinger2-0/+6
2015-02-21Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds4-2/+963
2015-02-12target: Fix PR_APTPL_BUF_LEN buffer size limitationNicholas Bellinger1-1/+1
2015-02-12iscsi/iser-target: Support multi-sequence sendtargets text responseSagi Grimberg1-0/+1
2015-02-04iscsi-target: Introduce session_get_next_tttSagi Grimberg1-0/+13