aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_device.c
AgeCommit message (Expand)AuthorFilesLines
2024-05-06scsi: target: Remove unused list 'device_list'Dr. David Alan Gilbert1-1/+0
2024-01-11scsi: target: core: Add TMF to tmr_list handlingDmitry Bogdanov1-5/+0
2023-11-02Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-0/+1
2023-10-13scsi: target: Allow userspace to request direct submissionsMike Christie1-0/+1
2023-09-27scsi: target: core: Fix deadlock due to recursive lockingJunxiao Bi1-7/+4
2023-05-16scsi: target: Replace all non-returning strlcpy() with strscpy()Azeem Shaikh1-3/+3
2023-03-24Merge patch series "target: TMF and recovery fixes"Martin K. Petersen1-0/+1
2023-03-24scsi: target: Fix multiple LUN_RESET handlingMike Christie1-0/+1
2023-03-09scsi: target: core: Drop device-based RTPIRoman Bolshakov1-41/+0
2023-03-09scsi: target: core: Use RTPI from target portRoman Bolshakov1-1/+1
2022-12-14Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-0/+1
2022-10-27scsi: target: core: Add emulate_rsoc attributeDmitry Bogdanov1-0/+1
2022-10-01scsi: target: core: UA on all LUNs after resetDmitry Bogdanov1-0/+19
2022-08-01scsi: target: core: De-RCU of se_lun and se_lun aclDmitry Bogdanov1-18/+11
2022-08-01scsi: target: core: Fix race during ACL removalDmitry Bogdanov1-3/+0
2022-07-07scsi: target: Add callout to configure UNMAP settingsMike Christie1-0/+6
2022-04-17block: add a bdev_discard_granularity helperChristoph Hellwig1-2/+1
2022-04-17block: remove QUEUE_FLAG_DISCARDChristoph Hellwig1-1/+1
2022-04-17block: add a bdev_max_discard_sectors helperChristoph Hellwig1-4/+3
2022-04-17target: fix discard alignment on partitionsChristoph Hellwig1-2/+2
2022-04-17target: pass a block_device to target_configure_unmap_from_queueChristoph Hellwig1-2/+3
2022-04-17target: remove an incorrect unmap zeroes data deductionChristoph Hellwig1-1/+0
2021-10-18scsi: target: Fix ordered tag handlingMike Christie1-0/+2
2021-05-15scsi: target: core: Add configurable IEEE Company ID attributeSergey Samoylenko1-0/+5
2021-04-05scsi: target: Make the virtual LUN 0 deviceKonstantin Shelekhin1-1/+1
2021-03-04scsi: target: core: Add workqueue based cmd submissionMike Christie1-2/+8
2020-11-04scsi: target: Make state_list per CPUMike Christie1-2/+14
2020-11-04scsi: target: Fix LUN ref count handlingMike Christie1-23/+20
2020-06-09scsi: target: Initialize LUN in transport_init_se_cmd()Sudhakar Panneerselvam1-11/+8
2020-05-19scsi: target: core: Add initiatorname to NON_EXISTENT_LUN errorLance Digby1-4/+6
2020-05-07scsi: target: Make transport_flags per deviceBodo Stroesser1-1/+2
2020-02-21scsi: target: use an enum to track emulate_ua_intlck_ctrlDavid Disseldorp1-1/+1
2020-02-21scsi: target: fix unmap_zeroes_data boolean initialisationDavid Disseldorp1-1/+1
2019-10-17scsi: target: core: Do not overwrite CDB byte 1Bodo Stroesser1-21/+0
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156Thomas Gleixner1-14/+1
2019-04-12scsi: target/core: Fix a race condition in the LUN lookup codeBart Van Assche1-2/+2
2019-02-04scsi: target/iscsi: Convert comments about locking into runtime checksBart Van Assche1-3/+3
2018-12-07scsi: target: perform t10_wwn ID initialisation in target_alloc_device()David Disseldorp1-14/+7
2018-12-07scsi: target: consistently null-terminate t10_wwn stringsDavid Disseldorp1-32/+14
2018-12-07scsi: target/core: Use system workqueues for TMFBart Van Assche1-16/+0
2018-12-07scsi: target/core: Simplify transport_clear_lun_ref()Bart Van Assche1-1/+0
2018-11-28scsi: target: drop unnecessary get_fabric_name() accessor from fabric_opsDavid Disseldorp1-13/+13
2018-11-21scsi: target: add emulate_pr backstore attr to toggle PR supportDavid Disseldorp1-0/+13
2018-07-30scsi: target: add helper to check if dev is configuredMike Christie1-3/+3
2018-07-02scsi: target: Remove se_dev_entry.ua_countBart Van Assche1-1/+0
2018-07-02scsi: target: Avoid that EXTENDED COPY commands trigger lock inversionBart Van Assche1-5/+17
2018-06-26scsi: target: remove target_find_deviceMike Christie1-24/+0
2018-01-18target: fix destroy device in target_configure_devicetangwenji1-1/+3
2017-07-09target: Fix cmd size for PR-OUT in passthrough_parse_cdbTang Wenji1-1/+1
2017-07-06target: Use macro for WRITE_VERIFY_32 operation codesDamien Le Moal1-1/+1
2017-07-06target: make device_mutex and device_list staticColin Ian King1-2/+2
2017-07-06target: remove g_device_listMike Christie1-18/+12
2017-07-06target: add helper to iterate over devicesMike Christie1-0/+45
2017-07-06target: add helper to find se_device by dev_indexMike Christie1-0/+24
2017-07-06target: use idr for se_device dev indexMike Christie1-4/+26
2017-07-06target: break up free_device callbackMike Christie1-0/+2
2017-07-06target: Use {get,put}_unaligned_be*() instead of open coding these functionsBart Van Assche1-4/+4
2017-07-06target: Remove se_device.dev_listBart Van Assche1-1/+0
2017-07-06target: Use symbolic value for WRITE_VERIFY_16Bart Van Assche1-1/+1
2017-07-06target: Add support for TMR percpu reference countingNicholas Bellinger1-4/+10
2017-06-08target/configfs: Kill se_device->dev_link_magicNicholas Bellinger1-1/+0
2017-06-08target/iblock: Convert WRITE_SAME to blkdev_issue_zerooutNicholas Bellinger1-1/+1
2017-05-12Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds1-0/+38
2017-05-01target/user: PGR SupportBryant G. Ly1-0/+38
2017-04-08block: remove the discard_zeroes_data flagChristoph Hellwig1-1/+1
2017-02-26target: Fix NULL dereference during LUN lookup + active I/O shutdownNicholas Bellinger1-2/+8
2017-02-09target: Remove se_tmr_req.tmr_lunBart Van Assche1-1/+0
2017-02-08target: Don't BUG_ON during NodeACL dynamic -> explicit conversionNicholas Bellinger1-1/+9
2016-12-09target: Minimize #include directivesBart Van Assche1-0/+1
2016-07-20target: Fix max_unmap_lba_count calc overflowMike Christie1-3/+5
2016-03-10target: Remove enum transport_lunflags_tableAndy Grover1-27/+14
2016-01-29target: Fix WRITE_SAME/DISCARD conversion to linux 512b sectorsMike Christie1-0/+44
2016-01-06target/sbc: Add LBPRZ attribute + control CDB emulationJamie Pocas1-0/+2
2015-09-24target: Make TCM_WRITE_PROTECT failure honor D_SENSE bitNicholas Bellinger1-17/+23
2015-09-24target: Fix PR registration + APTPL RCU conversion regressionNicholas Bellinger1-2/+3
2015-07-31target: Remove cmd->se_ordered_id (unused except debug log lines)Roland Dreier1-1/+0
2015-07-30target: remove initiatorname field in se_acl_lunChris Zankel1-5/+3
2015-07-06target: Use struct t10_pi_tupleSagi Grimberg1-1/+1
2015-07-04Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds1-1007/+282
2015-06-23Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-2/+2
2015-06-23target: Send UA when changing LUN inventoryHannes Reinecke1-4/+19
2015-06-22target: Convert se_lun->lun_deve_lock to normal spinlockNicholas Bellinger1-6/+6
2015-06-15target: Remove TARGET_MAX_LUNS_PER_TRANSPORTHannes Reinecke1-9/+0
2015-06-15target: use 64-bit LUNsHannes Reinecke1-15/+15
2015-06-15target: Drop duplicate + unused se_dev_check_wceNicholas Bellinger1-12/+0
2015-06-02target: Minimize SCSI header #include directivesBart Van Assche1-2/+2
2015-06-01target: Drop lun_sep_lock for se_lun->lun_se_dev RCU usageNicholas Bellinger1-16/+31
2015-06-01target: Subsume se_port + t10_alua_tg_pt_gp_member into se_lunChristoph Hellwig1-150/+29
2015-06-01target: Simplify LUN shutdown codeBart Van Assche1-1/+0
2015-06-01target: simplify backend attribute implementationChristoph Hellwig1-504/+0
2015-06-01target: simplify backend driver registrationChristoph Hellwig1-3/+3
2015-06-01target: Only reset specific dynamic entries during lun_group creationNicholas Bellinger1-1/+1
2015-06-01target: Drop unused se_lun->lun_acl_listNicholas Bellinger1-15/+0
2015-06-01target: Convert se_tpg->acl_node_lock to ->acl_node_mutexNicholas Bellinger1-9/+5
2015-06-01target: Convert se_portal_group->tpg_lun_list[] to RCU hlistNicholas Bellinger1-85/+7
2015-06-01target/pr: Use atomic bitop for se_dev_entry->deve_flags reservation checkNicholas Bellinger1-0/+1
2015-06-01target: Convert se_node_acl->device_list[] to RCU hlistNicholas Bellinger1-176/+180
2015-05-30target: fix a log message in se_dev_set_emulate_rest_reord()Christophe Vu-Brugier1-1/+1
2015-05-30target: fix DPO and FUA bit checksChristoph Hellwig1-23/+7
2015-05-30target: Use a PASSTHROUGH flag instead of transport_typesAndy Grover1-2/+2
2015-05-30target: Move passthrough CDB parsing into a common functionAndy Grover1-0/+74
2015-04-01target: Allow userspace to write 1 to attrib/emulate_fua_writeAndy Grover1-2/+2
2015-03-19target: do not reject FUA CDBs when write cache is enabled but emulate_write_...Christophe Vu-Brugier1-0/+12
2015-03-19target: Fix virtual LUN=0 target_configure_device failure OOPsNicholas Bellinger1-2/+2
2015-03-19target: Disallow changing of WRITE cache/FUA attrs after exportNicholas Bellinger1-1/+15
2015-01-09target: Drop left-over fabric_max_sectors attributeNicholas Bellinger1-46/+0
2015-01-09target: Drop arbitrary maximum I/O size limitNicholas Bellinger1-4/+4
2014-12-01target: Drop left-over PHBA_PDEV set attr checksNicholas Bellinger1-54/+10
2014-12-01target: Add EXPORT_SYMBOL for existing se_dev_set_*Nicholas Bellinger1-0/+26
2014-10-04target: Add force_pr_aptpl device attributeNicholas Bellinger1-0/+18
2014-10-04target: Fix APTPL metadata handling for dynamic MappedLUNsNicholas Bellinger1-1/+2
2014-10-01target: encapsulate smp_mb__after_atomic()Joern Engel1-6/+3
2014-10-01target: Change core_dev_del_lun to take a se_lun instead of unpacked_lunAndy Grover1-13/+5
2014-06-26target: Fix left-over se_lun->lun_sep pointer OOPsNicholas Bellinger1-0/+1
2014-06-03Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-3/+3
2014-05-15target: Don't allow setting WC emulation if device doesn't supportAndy Grover1-4/+4
2014-05-15target: Allow non-supporting backends to set pi_prot_type to 0Andy Grover1-0/+4
2014-04-18arch: Mass conversion of smp_mb__*()Peter Zijlstra1-3/+3
2014-01-31Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds1-8/+100
2014-01-18target/configfs: Expose protection device attributesNicholas Bellinger1-0/+89
2014-01-09target_core_alua: Referrals configfs integrationHannes Reinecke1-0/+1
2014-01-09target_core_alua: Referrals infrastructureHannes Reinecke1-0/+2
2013-12-19target/file: Update hw_max_sectors based on current block_sizeNicholas Bellinger1-0/+5
2013-12-16target: Rename core_tpg_{pre,post}_addlun for clarityAndy Grover1-2/+2
2013-12-16target: Refer to u32 luns as unpacked_lunAndy Grover1-8/+8
2013-11-20target core: rename (ex,im)plict -> (ex,im)plicitHannes Reinecke1-3/+3
2013-11-13target: Convert se_device statistics to atomic_long_tNicholas Bellinger1-7/+3
2013-11-08target: Add per device xcopy_lun for copy offload I/ONicholas Bellinger1-0/+9
2013-11-07target: Add percpu refcounting for se_lun accessNicholas Bellinger1-4/+6
2013-09-10target: Update copyright ownership/year information to 2013Nicholas Bellinger1-1/+1
2013-09-10target: Add Third Party Copy (3PC) bit in INQUIRY responseNicholas Bellinger1-0/+14
2013-09-10target: Add global device list for EXTENDED_COPYNicholas Bellinger1-0/+13
2013-09-10target: Add support for COMPARE_AND_WRITE emulationNicholas Bellinger1-0/+1
2013-09-09target: Add MAXIMUM COMPARE AND WRITE LENGTH in Block Limits VPDNicholas Bellinger1-0/+14
2013-06-14target: Make virtual_lun0 a nullio deviceAndy Grover1-3/+1
2013-06-14target: Remove t10_reservation.pr_aptpl_buf_lenAndy Grover1-1/+0
2013-05-03target: Remove unused struct members in se_dev_entryAndy Grover1-14/+0
2013-02-18target: Fix lookup of dynamic NodeACLs during cached demo-mode operationNicholas Bellinger1-9/+4
2013-02-13target: Add device attribute to expose config_item_name for INQUIRY modelTregaron Bayly1-0/+39
2013-02-13target/iblock: Use backend REQ_FLUSH hint for WriteCacheEnabled statusNicholas Bellinger1-0/+6
2013-01-31target: Fix divide by zero bug in fabric_max_sectors for unconfigured devicesNicholas Bellinger1-1/+7
2012-12-05target: Add link_magic for fabric allow_link destination target_itemsNicholas Bellinger1-0/+1
2012-11-27target: Update copyright information to 2012Nicholas Bellinger1-4/+1
2012-11-15target: Add/check max_write_same_len device attribute + update block limits VPDNicholas Bellinger1-0/+11
2012-11-06target: pass sense_reason as a return valueChristoph Hellwig1-22/+9
2012-11-06target: remove ->get_device_revChristoph Hellwig1-2/+0
2012-11-06target: simplify alua supportChristoph Hellwig1-2/+2
2012-11-06target: simplify reservations codeChristoph Hellwig1-3/+0
2012-11-06target: kill dev->dev_task_attr_typeChristoph Hellwig1-5/+0
2012-11-06target: move REPORT LUNS emulation to target_core_spc.cChristoph Hellwig1-63/+0
2012-11-06target: kill struct se_subsystem_devChristoph Hellwig1-316/+297
2012-11-01target: Avoid integer overflow in se_dev_align_max_sectors()Roland Dreier1-9/+9
2012-09-17target: Drop se_subsystem_api->[write_cache,fua_write]_emulated flagsNicholas Bellinger1-4/+6
2012-09-17target: Fix minor spelling typos in drivers/targetMasanari Iida1-3/+3
2012-09-07target: fail REPORT LUNS with less than 16 bytes of payloadPaolo Bonzini1-0/+7
2012-07-16target: Make unnecessarily global se_dev_align_max_sectors() staticRoland Dreier1-1/+1
2012-07-16target: Make core_disable_device_list_for_node use pre-refactoring lock orderingNicholas Bellinger1-7/+2
2012-07-16target: refactor core_update_device_list_for_node()Andy Grover1-71/+95
2012-07-16target: Remove hba param from core_dev_add_lunAndy Grover1-2/+1
2012-07-16target: replace the processing thread with a TMR work queueChristoph Hellwig1-1/+1
2012-05-09target: Remove max_sectors device attribute for modern se_task less codeNicholas Bellinger1-65/+4
2012-05-06target: replace ->execute_task with ->execute_cmdChristoph Hellwig1-4/+2
2012-04-14target: Remove obsolete DF_READ_ONLY usageNicholas Bellinger1-7/+2
2012-03-15target: remove obvious warningsJörn Engel1-2/+0
2012-03-15target: Use array_zalloc for device_listJörn Engel1-10/+10
2012-03-15target: Use array_zalloc for tpg_lun_listJörn Engel1-2/+2
2012-02-25target: Fix off-by-seven in target_report_lunsJörn Engel1-3/+2
2012-02-25target: prevent NULL pointer dereference in target_report_lunsJörn Engel1-1/+3
2012-02-25target: fix use after free in target_report_lunsJörn Engel1-1/+1
2012-02-25target: Untangle front-end and back-end meanings of max_sectors attributeRoland Dreier1-6/+59
2012-02-25target: remove the transport_lun_active field in struct se_cmdChristoph Hellwig1-5/+0
2012-01-18target: Allow control CDBs with data > 1 pageAndy Grover1-2/+2
2012-01-18target: fix return code of core_tpg_.*_lunSebastian Andrzej Siewior1-9/+10
2012-01-18target: use save/restore lock primitive in core_dec_lacl_count()Sebastian Andrzej Siewior1-2/+3
2011-12-14target: Drop se_device TCQ queue_depth usage from I/O pathNicholas Bellinger1-7/+0
2011-12-14target: header reshuffle, part2Christoph Hellwig1-4/+2
2011-12-14target: reshuffle headersChristoph Hellwig1-1/+1
2011-12-06target: Don't return an error if disabling unsupported featuresAndy Grover1-8/+16
2011-12-06target: remove the unused se_dev_listChristoph Hellwig1-1/+0
2011-12-06target: remove the se_obj_ptr and se_orig_obj_ptr se_cmd fieldsChristoph Hellwig1-3/+0
2011-12-06target: Address legacy PYX_TRANSPORT_* return code breakageNicholas Bellinger1-1/+1
2011-11-06Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+1
2011-11-04target: remove SCF_EMULATE_CDB_ASYNCChristoph Hellwig1-0/+2
2011-11-04target: pass the se_task to the CDB emulation callbackChristoph Hellwig1-10/+2
2011-10-31drivers/target: Add export.h to files as required.Paul Gortmaker1-0/+1
2011-10-24target: Remove legacy se_task->task_timer and associated logicNicholas Bellinger1-15/+0
2011-10-24target: clean up the backend interface to caching parametersChristoph Hellwig1-40/+15
2011-08-22target: Convert acl_node_lock to be IRQ-disablingRoland Dreier1-8/+8
2011-08-22target: Fix task count > 1 handling breakage and use max_sector page alignmentNicholas Bellinger1-0/+28
2011-08-22target: Make standard INQUIRY return 'not connected' for tpg_virt_lun0Nicholas Bellinger1-1/+3
2011-07-22target: Update QUEUE ALGORITHM MODIFIER control page defaultNicholas Bellinger1-1/+14
2011-07-22target: Follow up core updates from AGrover and HCH (round 4)Andy Grover1-107/+107
2011-07-22target: Make all control CDBs scatter-gatherAndy Grover1-1/+4
2011-07-22target: Implement Block Device Characteristics VPD pageRoland Dreier1-0/+13
2011-07-22target: Make se_tmr_lock IRQ-safeRoland Dreier1-4/+5
2011-07-22target: Make se_dev_check_online() locking IRQ-safeRoland Dreier1-2/+3
2011-07-22target: Make transport_lookup_cmd_lun() locking IRQ-safeRoland Dreier1-5/+5
2011-07-22target: Updates from AGrover and HCH (round 3)Andy Grover1-3/+3
2011-07-22target: More core cleanups from AGrover (round 2)Andy Grover1-89/+78
2011-07-22target: Core cleanups from AGrover (round 1)Andy Grover1-224/+216