aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_pr.c
AgeCommit message (Expand)AuthorFilesLines
2023-12-05scsi: target: Enable READ CAPACITY for PR EAROBenjamin Coddington1-0/+1
2023-05-22Merge patch series "Use block pr_ops in LIO"Martin K. Petersen1-1/+78
2023-04-11scsi: target: Report and detect unsupported PR commandsMike Christie1-0/+17
2023-04-11scsi: target: Allow backends to hook into PR handlingMike Christie1-1/+61
2023-03-09scsi: target: core: Use RTPI from target portRoman Bolshakov1-4/+4
2022-10-01scsi: target: core: New key must be used for moved PRDmitry Bogdanov1-2/+6
2022-10-01scsi: target: core: Abort all preempted regs if requestedDmitry Bogdanov1-1/+15
2022-10-01scsi: target: core: Fix memory leak in preempt_and_abortDmitry Bogdanov1-4/+5
2022-10-01scsi: target: core: Fix preempt and abort for allreg resDmitry Bogdanov1-1/+1
2022-08-01scsi: target: core: De-RCU of se_lun and se_lun aclDmitry Bogdanov1-20/+8
2021-09-22scsi: target: Fix spelling mistake "CONFLIFT" -> "CONFLICT"Colin Ian King1-1/+1
2021-05-31scsi: target: Use standard SAM status typesHannes Reinecke1-4/+4
2021-04-15scsi: target: Fix two format specifiersBart Van Assche1-4/+2
2021-03-09scsi: target: core: pr: Initialize arrays at declaration timeChaitanya Kulkarni1-23/+13
2021-02-22scsi: target: core: Prevent underflow for service actionsAleksandr Miloserdov1-4/+11
2020-12-02scsi: target: core: Fix fall-through warnings for ClangGustavo A. R. Silva1-0/+1
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-2/+2
2020-07-13scsi: target: Remove unused variable 'tpg'Wei Yongjun1-2/+0
2020-07-08scsi: target: Fix crash during SPEC_I_PT handlingMike Christie1-16/+19
2020-07-08scsi: target: Check enforce_pr_isids during registrationMike Christie1-9/+15
2020-05-07scsi: target: Make transport_flags per deviceBodo Stroesser1-1/+1
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156Thomas Gleixner1-14/+1
2019-04-12scsi: target/core: Rework the SPC-2 reservation handling codeBart Van Assche1-14/+19
2019-02-04scsi: target/iscsi: Convert comments about locking into runtime checksBart Van Assche1-9/+6
2018-11-28scsi: target: drop unnecessary get_fabric_name() accessor from fabric_opsDavid Disseldorp1-44/+44
2018-11-21scsi: target: add emulate_pr backstore attr to toggle PR supportDavid Disseldorp1-0/+2
2018-06-19scsi: target: Fix truncated PR-in ReadKeys responseDavid Disseldorp1-5/+10
2018-01-12target-core: don't use "const char*" for a buffer that is written toRasmus Villemoes1-2/+2
2017-11-04target: Suppress gcc 7 fallthrough warningsBart Van Assche1-0/+2
2017-11-04target: fix PR state file path truncationDavid Disseldorp1-9/+7
2017-11-04target:fix condition return in core_pr_dump_initiator_port()tangwenji1-1/+3
2017-11-04target: add sense code INSUFFICIENT REGISTRATION RESOURCEStangwenji1-8/+8
2017-11-04target: fix double unmap data sg in core_scsi3_emulate_pro_register_and_move()tangwenji1-2/+0
2017-11-04target: fix buffer offset in core_scsi3_pri_read_full_statustangwenji1-0/+1
2017-09-04fs: fix kernel_write prototypeChristoph Hellwig1-1/+2
2017-07-09target: Fix return sense reason in target_scsi3_emulate_pr_outTang Wenji1-5/+5
2017-07-06target: Use {get,put}_unaligned_be*() instead of open coding these functionsBart Van Assche1-79/+20
2017-05-01target/user: PGR SupportBryant G. Ly1-1/+1
2017-01-14locking/atomic, kref: Add kref_read()Peter Zijlstra1-5/+5
2016-12-16target: Fix spelling mistake and unwrap multi-line textColin Ian King1-2/+1
2016-12-09target: Minimize #include directivesBart Van Assche1-0/+2
2016-05-09target: use new "dbroot" target attributeLee Duncan1-1/+1
2016-01-06target: Fix spelling + remove set-but-not-used variablesBart Van Assche1-9/+2
2015-09-24target: Fix PR registration + APTPL RCU conversion regressionNicholas Bellinger1-24/+67
2015-07-06target/pr: Fix possible uninitialized variable usageSagi Grimberg1-1/+1
2015-07-04Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds1-181/+198
2015-06-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-0/+1
2015-06-23Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-2/+1
2015-06-22target: Convert se_lun->lun_deve_lock to normal spinlockNicholas Bellinger1-4/+4
2015-06-16target: use 'se_dev_entry' when allocating UAsHannes Reinecke1-6/+6
2015-06-15target: use 64-bit LUNsHannes Reinecke1-21/+22
2015-06-02target: Minimize SCSI header #include directivesBart Van Assche1-2/+1
2015-06-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-26/+8
2015-06-01target: Drop se_lun->lun_active for existing percpu lun_refNicholas Bellinger1-4/+5
2015-06-01target: Subsume se_port + t10_alua_tg_pt_gp_member into se_lunChristoph Hellwig1-32/+24
2015-06-01target: Convert se_tpg->acl_node_lock to ->acl_node_mutexNicholas Bellinger1-4/+4
2015-06-01target/pr: cleanup core_scsi3_pr_seq_non_holderChristoph Hellwig1-26/+18
2015-06-01target/pr: Change alloc_registration to avoid pr_reg_tg_pt_lunNicholas Bellinger1-63/+68
2015-06-01target/pr: Use atomic bitop for se_dev_entry->deve_flags reservation checkNicholas Bellinger1-19/+39
2015-06-01target: Convert se_node_acl->device_list[] to RCU hlistNicholas Bellinger1-28/+44
2015-05-30target: target_core_configfs.h is not needed in fabric driversChristoph Hellwig1-1/+0
2015-05-30target: move transport ID handling to the coreChristoph Hellwig1-28/+21
2015-05-30target: remove the get_fabric_proto_ident methodChristoph Hellwig1-7/+5
2015-05-30target: Use a PASSTHROUGH flag instead of transport_typesAndy Grover1-1/+1
2015-05-30target: Fix se_tpg_tfo->tf_subsys regression + remove tf_subsystemChristoph Hellwig1-25/+7
2015-05-28treewide: Add missing vmalloc.h inclusion.David S. Miller1-0/+1
2015-04-14target: Fix two sparse warningsBart Van Assche1-0/+2
2015-04-14target: simplify the target template registration APIChristoph Hellwig1-8/+8
2015-03-26target: Better handling of AllRegistrants reservationsIlias Tsitsimpis1-11/+19
2015-02-21Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds1-12/+13
2015-02-12target: Fix PR_APTPL_BUF_LEN buffer size limitationNicholas Bellinger1-12/+13
2015-01-09target: Allow Write Exclusive non-reservation holders to READLee Duncan1-0/+12
2014-12-19Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds1-31/+94
2014-12-19target: Allow AllRegistrants to re-RESERVE existing reservationNicholas Bellinger1-1/+4
2014-12-15target: Avoid dropping AllRegistrants reservation during unregisterNicholas Bellinger1-22/+65
2014-12-15target: Fix R_HOLDER bit usage for AllRegistrantsNicholas Bellinger1-3/+23
2014-12-08Merge remote-tracking branch 'scsi-queue/core-for-3.19' into for-linusJames Bottomley1-1/+1
2014-12-01target: remove unneeded arrayJulia Lawall1-5/+2
2014-11-24scsi: add SPC-3 command definitionsHannes Reinecke1-1/+1
2014-11-02target: return CONFLICT only when SA key unmatchedSteven Allen1-4/+5
2014-10-04target: Add force_pr_aptpl device attributeNicholas Bellinger1-0/+9
2014-10-04target: Fix APTPL metadata handling for dynamic MappedLUNsNicholas Bellinger1-3/+3
2014-10-01target: encapsulate smp_mb__after_atomic()Joern Engel1-60/+30
2014-09-17target: fix unused shift in core_scsi3_pri_report_capabilitiesJoern Engel1-1/+1
2014-04-18arch: Mass conversion of smp_mb__*()Peter Zijlstra1-28/+28
2014-02-12target: Fix free-after-use regression in PR unregisterNicholas Bellinger1-4/+7
2013-11-20target core: rename (ex,im)plict -> (ex,im)plicitHannes Reinecke1-12/+12
2013-09-10target: Update copyright ownership/year information to 2013Nicholas Bellinger1-1/+1
2013-09-10target: Fix >= v3.9+ regression in PR APTPL + ALUA metadata write-outGera Kazakov1-1/+1
2013-07-03target: Make core_scsi3_update_and_write_aptpl return sense_reason_tNicholas Bellinger1-22/+25
2013-06-14target: Further refactoring of core_scsi3_emulate_pro_register()Andy Grover1-26/+20
2013-06-14target: Use if/else for sa_res_key conditional in emulate_pro_register()Andy Grover1-21/+21
2013-06-14target: Allocate aptpl_buf inside update_and_write_aptpl()Andy Grover1-155/+48
2013-06-14target: Delete incorrect commentAndy Grover1-3/+0
2013-06-14target: Remove unneeded param pr_aptpl_buf_len to write_aptpl_to_file()Andy Grover1-5/+4
2013-06-14target: Remove t10_reservation.pr_aptpl_buf_lenAndy Grover1-20/+11
2013-06-14target: Unify __core_scsi3_update_aptpl_buf and core_scsi3_update_aptpl_bufAndy Grover1-22/+10
2013-06-14target: Simplify metadata handling when clearing aptpl metadataAndy Grover1-30/+9
2013-06-14target: Fix two debugprints that appear to be wrongAndy Grover1-4/+4
2013-06-14target: Alter core_pr_dump_initiator_port for ease of useAndy Grover1-37/+21
2013-06-14target: Add register_type and preempt_type enums to clarify codeAndy Grover1-33/+44
2013-02-26target: writev() on single-element vector is pointlessAl Viro1-19/+8
2013-01-10target: Use TCM_NO_SENSE for initialisationHannes Reinecke1-1/+1
2012-11-27target: Update copyright information to 2012Nicholas Bellinger1-2/+1
2012-11-07target: Fix exception path pr_reg put regression for PR RELEASENicholas Bellinger1-1/+1
2012-11-06target: pass sense_reason as a return valueChristoph Hellwig1-507/+411
2012-11-06target: simplify reservations codeChristoph Hellwig1-129/+63
2012-11-06target: kill struct se_subsystem_devChristoph Hellwig1-81/+67
2012-09-17target: move the dereference below the NULL testWei Yongjun1-4/+6
2012-09-17target: Fix minor spelling typos in drivers/targetMasanari Iida1-2/+2
2012-09-07target: report too-small parameter lists everywherePaolo Bonzini1-0/+8
2012-07-16target: Remove unneeded double parenthesesAndy Grover1-3/+3
2012-07-16target: Clean up returning errors in PR handling codeRoland Dreier1-3/+4
2012-05-21Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds1-40/+27
2012-05-14target: Fix SPC-2 RELEASE bug for multi-session iSCSI client setupsBernhard Kohl1-0/+3
2012-05-06target: replace ->execute_task with ->execute_cmdChristoph Hellwig1-24/+12
2012-04-14target/iscsi: Misc cleanups from Agrover (round 2)Andy Grover1-16/+15
2012-03-22Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds1-16/+7
2012-03-15target: remove obvious warningsJörn Engel1-8/+1
2012-03-15target: Use array_zalloc for device_listJörn Engel1-7/+7
2012-03-13target: Fix compatible reservation handling (CRH=1) with legacy RESERVE/RELEASENicholas Bellinger1-12/+22
2012-02-25target: Use LIST_HEAD()/DEFINE_MUTEX() for static objectsRoland Dreier1-4/+2
2012-01-18target: Allow control CDBs with data > 1 pageAndy Grover1-19/+19
2012-01-18target: Allow PERSISTENT RESERVE IN for non-reservation holderMarco Sanvido1-0/+1
2012-01-18target: Use correct preempted registration sense codeMarco Sanvido1-2/+2
2011-12-14target: Move core_scsi3_check_cdb_abort_and_preemptJörn Engel1-15/+0
2011-12-14target: header reshuffle, part2Christoph Hellwig1-5/+2
2011-12-14target: reshuffle headersChristoph Hellwig1-1/+1
2011-12-06target: Address legacy PYX_TRANSPORT_* return code breakageNicholas Bellinger1-80/+160
2011-11-04target: remove SCF_EMULATE_CDB_ASYNCChristoph Hellwig1-43/+86
2011-11-04target: pass the se_task to the CDB emulation callbackChristoph Hellwig1-4/+9
2011-11-04target: split core_scsi3_emulate_prChristoph Hellwig1-27/+35
2011-11-04target: split core_scsi2_emulate_crhChristoph Hellwig1-97/+92
2011-10-11target: Remove unneeded version.h includesJesper Juhl1-1/+0
2011-08-22target: Convert acl_node_lock to be IRQ-disablingRoland Dreier1-4/+4
2011-07-22target: Follow up core updates from AGrover and HCH (round 4)Andy Grover1-227/+227
2011-07-22target: Make all control CDBs scatter-gatherAndy Grover1-11/+49
2011-07-22target: Updates from AGrover and HCH (round 3)Andy Grover1-11/+11
2011-07-22target: More core cleanups from AGrover (round 2)Andy Grover1-43/+43
2011-07-22target: Core cleanups from AGrover (round 1)Andy Grover1-182/+182
2011-06-24target: Fix incorrect strlen() NULL terminator checksDan Carpenter1-3/+3
2011-03-31Fix common misspellingsLucas De Marchi1-3/+3
2011-01-14[SCSI] target: Add LIO target core v4.0.0-rc6Nicholas Bellinger1-0/+4252