aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target
AgeCommit message (Expand)AuthorFilesLines
2017-11-25Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-4/+3
2017-11-24Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds21-239/+385
2017-11-21treewide: setup_timer() -> timer_setup()Kees Cook1-4/+3
2017-11-14Merge tag 'configfs-for-4.15' of git://git.infradead.org/users/hch/configfsLinus Torvalds3-21/+21
2017-11-13Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds10-52/+48
2017-11-08tcmu: Add a missing unlock on an error pathDan Carpenter1-0/+1
2017-11-08tcmu: Fix some memory corruptionDan Carpenter1-3/+2
2017-11-07iscsi-target: Fix non-immediate TMR reference leakNicholas Bellinger1-3/+5
2017-11-07iscsi-target: Make TASK_REASSIGN use proper se_cmd->cmd_krefNicholas Bellinger1-13/+9
2017-11-07target: Avoid early CMD_T_PRE_EXECUTE failures during ABORT_TASKNicholas Bellinger2-0/+11
2017-11-07target: Fix quiese during transport_write_pending_qf endless loopNicholas Bellinger1-0/+13
2017-11-07target: Fix caw_sem leak in transport_generic_request_failureNicholas Bellinger1-3/+4
2017-11-07target: Fix QUEUE_FULL + SCSI task attribute handlingNicholas Bellinger1-0/+4
2017-11-07Merge branch 'linus' into locking/core, to resolve conflictsIngo Molnar31-0/+31
2017-11-04iSCSI-target: Use common error handling code in iscsi_decode_text_input()Markus Elfring1-21/+18
2017-11-04target/iscsi: Detect conn_cmd_list corruption earlyBart Van Assche1-0/+4
2017-11-04target/iscsi: Fix a race condition in iscsit_add_reject_from_cmd()Bart Van Assche1-1/+2
2017-11-04target/iscsi: Modify iscsit_do_crypto_hash_buf() prototypeBart Van Assche1-24/+17
2017-11-04target/iscsi: Fix endianness in an error messageBart Van Assche1-3/+3
2017-11-04target/iscsi: Use min() in iscsit_dump_data_payload() instead of open-coding itBart Van Assche1-4/+3
2017-11-04target/iscsi: Define OFFLOAD_BUF_SIZE onceBart Van Assche1-2/+0
2017-11-04target: Inline transport_put_cmd()Bart Van Assche1-20/+3
2017-11-04target: Suppress gcc 7 fallthrough warningsBart Van Assche3-2/+5
2017-11-04target: Move a declaration of a global variable into a header fileBart Van Assche2-2/+1
2017-11-04tcmu: fix double se_cmd completionMike Christie1-23/+31
2017-11-04target: return SAM_STAT_TASK_SET_FULL for TCM_OUT_OF_RESOURCESMike Christie1-7/+9
2017-11-04target: fix ALUA state file path truncationDavid Disseldorp2-32/+28
2017-11-04target: fix PR state file path truncationDavid Disseldorp1-9/+7
2017-11-04cxgbit: Abort the TCP connection in case of data out timeoutVarun Prakash3-0/+55
2017-11-04target: Add netlink command reply supported option for each deviceKenjiro Nakayama1-1/+58
2017-11-04target/tcmu: Use macro to call container_of in tcmu_cmd_time_out_showKenjiro Nakayama1-2/+1
2017-11-04tcmu: fix crash when removing the tcmu deviceXiubo Li1-45/+47
2017-11-04iscsi-target: fix memory leak in iscsit_release_discovery_tpg()tangwenji1-2/+5
2017-11-04iscsi-target: fix memory leak in lio_target_tiqn_addtpg()tangwenji1-1/+2
2017-11-04target:fix condition return in core_pr_dump_initiator_port()tangwenji1-1/+3
2017-11-04target: fix match_token option in target_core_configfs.ctangwenji1-7/+7
2017-11-04target: add sense code INSUFFICIENT REGISTRATION RESOURCEStangwenji2-8/+23
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-11-04target: fix null pointer regression in core_tmr_drain_tmr_listtangwenji1-1/+2
2017-11-04target/file: Do not return error for UNMAP if length is zeroJiang Yi1-0/+4
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman31-0/+31
2017-11-01target/iscsi: Convert timers to use timer_setup()Kees Cook10-33/+37
2017-11-01target/iscsi: Simplify timer manipulation codeBart Van Assche10-42/+34
2017-10-25locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns ...Mark Rutland1-1/+1
2017-10-19target: make config_item_type constBhumika Goyal3-21/+21
2017-09-14Merge branch 'work.set_fs' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds3-3/+5
2017-09-07Merge branch 'for-4.14/block' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+2
2017-09-04fs: fix kernel_write prototypeChristoph Hellwig3-3/+5
2017-08-23block: replace bi_bdev with a gendisk pointer and partitions indexChristoph Hellwig1-2/+2
2017-08-09target: Fix node_acl demo-mode + uncached dynamic shutdown regressionNicholas Bellinger2-4/+4
2017-08-06iscsi-target: Fix iscsi_np reset hung task during parallel deleteNicholas Bellinger2-2/+6
2017-07-30cxgbit: fix sg_nents calculationVarun Prakash1-5/+7
2017-07-30iscsi-target: fix invalid flags in text responseVarun Prakash1-2/+2
2017-07-30iscsi-target: fix memory leak in iscsit_setup_text_cmd()Varun Prakash1-0/+1
2017-07-30cxgbit: add missing __kfree_skb()Varun Prakash1-4/+12
2017-07-30tcmu: free old string on reconfigBryant G. Ly1-0/+2
2017-07-30tcmu: Fix possible to/from address overflow when doing the memcpyXiubo Li1-6/+5
2017-07-15Merge tag 'random_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds2-11/+25
2017-07-13Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds30-600/+1121
2017-07-12mm, tree wide: replace __GFP_REPEAT by __GFP_RETRY_MAYFAIL with more useful s...Michal Hocko1-1/+1
2017-07-11Merge branch 'for-linus' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2017-07-11iscsi-target: Add login_keys_workaround attribute for non RFC initiatorsNicholas Bellinger6-16/+55
2017-07-11tcmu: clean up the code and with one small fixXiubo Li1-13/+11
2017-07-11tcmu: Fix possbile memory leak / OOPs when recalculating cmd base sizeXiubo Li1-7/+5
2017-07-10target: export lio pgr/alua support as device attrMike Christie1-0/+24
2017-07-09target: Fix return sense reason in target_scsi3_emulate_pr_outTang Wenji1-5/+5
2017-07-09target: Fix cmd size for PR-OUT in passthrough_parse_cdbTang Wenji2-2/+2
2017-07-09tcmu: Fix dev_config_storeBryant G. Ly1-8/+24
2017-07-06target: pscsi: Introduce TYPE_ZBC supportDamien Le Moal1-6/+11
2017-07-06target: Use macro for WRITE_VERIFY_32 operation codesDamien Le Moal1-1/+1
2017-07-06target: fix SAM_STAT_BUSY/TASK_SET_FULL handlingMike Christie1-3/+11
2017-07-06target: remove transport_completeMike Christie1-6/+0
2017-07-06pscsi: finish cmd processing from pscsi_req_doneMike Christie2-26/+16
2017-07-06tcmu: fix sense handling during completionMike Christie1-2/+1
2017-07-06target: add helper to copy sense to se_cmd bufferMike Christie1-0/+18
2017-07-06target: do not require a transport_complete for SCF_TRANSPORT_TASK_SENSEMike Christie1-2/+2
2017-07-06target: make device_mutex and device_list staticColin Ian King1-2/+2
2017-07-06tcmu: Fix flushing cmd entry dcache pageXiubo Li1-2/+2
2017-07-06tcmu: fix multiple uio open/close sequencesMike Christie1-1/+5
2017-07-06tcmu: drop configured check in destroyMike Christie1-4/+2
2017-07-06target: remove g_device_listMike Christie2-21/+12
2017-07-06xcopy: loop over devices using idr helperMike Christie1-29/+41
2017-07-06target: add helper to iterate over devicesMike Christie2-0/+47
2017-07-06tcmu: perfom device add, del and reconfig synchronouslyMike Christie1-20/+193
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 Christie6-8/+35
2017-07-06tcmu: reconfigure netlink attr changesMike Christie1-29/+44
2017-07-06tcmu: make array tcmu_attrib_attrs static constColin Ian King1-1/+1
2017-07-06tcmu: Fix module removal due to stuck unmap_thread thread againXiubo Li1-1/+1
2017-07-06target: Fix COMPARE_AND_WRITE caw_sem leak during se_cmd quiesceJiang Yi1-0/+9
2017-07-06tcmu: Add Type of reconfig into netlinkBryant G. Ly1-6/+14
2017-07-06tcmu: Make dev_config configurableBryant G. Ly1-0/+41
2017-07-06tcmu: Make dev_size configurable via userspaceBryant G. Ly1-5/+54
2017-07-06tcmu: Add netlink for device reconfigurationBryant G. Ly1-0/+12
2017-07-06tcmu: Support emulate_write_cacheBryant G. Ly1-0/+30
2017-07-06target/iscsi: Remove dead code from iscsit_process_scsi_cmd()Bart Van Assche1-5/+1
2017-07-06target/iscsi: Simplify iscsit_free_cmd()Bart Van Assche1-35/+4
2017-07-06target/iscsi: Remove second argument of __iscsit_free_cmd()Bart Van Assche3-20/+15
2017-07-06target/tcm_loop: Make TMF processing slightly fasterBart Van Assche1-16/+9
2017-07-06target/tcm_loop: Use target_submit_tmr() instead of open-coding this functionBart Van Assche1-29/+3
2017-07-06target/tcm_loop: Replace a waitqueue and a counter by a completionBart Van Assche2-10/+5
2017-07-06target/tcm_loop: Merge struct tcm_loop_cmd and struct tcm_loop_tmrBart Van Assche2-19/+10
2017-07-06target: Introduce a function that shows the command stateBart Van Assche2-27/+113
2017-07-06iscsi-target: Kill left-over iscsi_target_do_cleanupNicholas Bellinger1-24/+0
2017-07-06target: Fix a deadlock between the XCOPY code and iSCSI session shutdownBart Van Assche1-41/+69
2017-07-06target: Use {get,put}_unaligned_be*() instead of open coding these functionsBart Van Assche8-171/+75
2017-07-06target: Fix transport_init_se_cmd()Bart Van Assche1-0/+1
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 TARGET_SCF_LOOKUP_LUN_FROM_TAG support for ABORT_TASKNicholas Bellinger1-9/+44
2017-07-06target: Add support for TMR percpu reference countingNicholas Bellinger2-4/+13
2017-07-06target: reject COMPARE_AND_WRITE if emulate_caw is not setJiang Yi1-0/+6
2017-07-05Merge branch 'work.read_write' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-3/+3
2017-07-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds3-15/+10
2017-07-03t10-pi: Move opencoded contants to common headerDmitry Monakhov1-1/+1
2017-07-03Merge branch 'for-4.13/block' of git://git.kernel.dk/linux-blockLinus Torvalds2-10/+8
2017-06-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller4-14/+35
2017-06-29fs: implement vfs_iter_write using do_iter_writeChristoph Hellwig1-2/+2
2017-06-29fs: implement vfs_iter_read using do_iter_readChristoph Hellwig1-1/+1
2017-06-20block: Make most scsi_req_init() calls implicitBart Van Assche1-2/+0
2017-06-20net: introduce __skb_put_[zero, data, u8]yuan linyu1-8/+4
2017-06-19iscsi: ensure RNG is seeded before useJason A. Donenfeld2-11/+25
2017-06-18blk: replace bioset_create_nobvec() with a flags arg to bioset_create()NeilBrown1-1/+1
2017-06-16networking: make skb_push & __skb_push return void pointersJohannes Berg1-3/+2
2017-06-16networking: make skb_put & friends return void pointersJohannes Berg2-5/+5
2017-06-12Merge tag 'v4.12-rc5' into for-4.13/blockJens Axboe7-88/+217
2017-06-09block: switch bios to blk_status_tChristoph Hellwig1-5/+5
2017-06-09block: introduce new block status code typeChristoph Hellwig1-2/+2
2017-06-08iscsi-target: Avoid holding ->tpg_state_lock during param updateNicholas Bellinger1-6/+2
2017-06-08target/configfs: Kill se_lun->lun_link_magicNicholas Bellinger2-6/+8
2017-06-08target/configfs: Kill se_device->dev_link_magicNicholas Bellinger3-7/+12
2017-06-08target/iblock: Convert WRITE_SAME to blkdev_issue_zerooutNicholas Bellinger2-18/+28
2017-06-08target: remove dead codeGustavo A. R. Silva1-2/+2
2017-06-08iscsi-target: Reject immediate data underflow larger than SCSI transfer lengthNicholas Bellinger1-0/+12
2017-06-08iscsi-target: Fix delayed logout processing greater than SECONDS_FOR_LOGOUT_COMPNicholas Bellinger1-2/+8
2017-06-08target: Fix kref->refcount underflow in transport_cmd_finish_abortNicholas Bellinger3-12/+15
2017-06-07cxgb4: Fix tids count for ipv6 offload connectionGanesh Goudar1-3/+3
2017-05-31iscsi-target: Always wait for kthread_should_stop() before kthread exitJiang Yi4-8/+34
2017-05-31iscsi-target: Fix initial login PDU asynchronous socket close OOPsNicholas Bellinger1-62/+132
2017-05-23tcmu: fix crash during device removalMike Christie1-13/+33
2017-05-15target: Re-add check to reject control WRITEs with overflow dataNicholas Bellinger1-5/+18
2017-05-12Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds16-238/+682
2017-05-11Revert "target: Fix VERIFY and WRITE VERIFY command parsing"Nicholas Bellinger1-64/+10
2017-05-07target/fileio: Fix zero-length READ and WRITE handlingBart Van Assche1-2/+1
2017-05-04tcmu: fix module removal due to stuck threadMike Christie1-0/+3
2017-05-04target: Don't force session reset if queue_depth does not changeNicholas Bellinger1-0/+7
2017-05-04iscsi-target: Set session_fall_back_to_erl0 when forcing reinstatementNicholas Bellinger3-0/+3
2017-05-04target: Fix compare_and_write_callback handling for non GOOD statusNicholas Bellinger1-1/+4
2017-05-02tcmu: Recalculate the tcmu_cmd size to save cmd area memoriesXiubo Li1-11/+41
2017-05-01tcmu: Add global data block pool supportXiubo Li1-128/+336
2017-05-01tcmu: Add dynamic growing data area feature supportXiubo Li1-101/+237
2017-05-01target: fixup error message in target_tg_pt_gp_tg_pt_gp_id_store()Hannes Reinecke1-4/+4
2017-05-01target: fixup error message in target_tg_pt_gp_alua_access_type_store()Hannes Reinecke1-1/+1
2017-05-01target/user: PGR SupportBryant G. Ly4-7/+46
2017-05-01target: Add WRITE_VERIFY_16Bryant G. Ly1-0/+2
2017-05-01target: Use kmalloc_array() in transport_kmap_data_sg()Markus Elfring1-1/+1
2017-05-01target: Use kmalloc_array() in compare_and_write_callback()Markus Elfring1-2/+2
2017-05-01target: Improve size determinations in two functionsMarkus Elfring1-2/+2
2017-05-01target: Delete error messages for failed memory allocationsMarkus Elfring1-18/+5
2017-05-01target: Use kcalloc() in two functionsMarkus Elfring1-4/+2
2017-05-01iscsi-target: Improve size determinations in four functionsMarkus Elfring1-6/+4
2017-05-01iscsi-target: Delete error messages for failed memory allocationsMarkus Elfring1-27/+10
2017-05-01iscsi-target: Use kcalloc() in iscsit_allocate_iovecs()Markus Elfring1-2/+1
2017-05-01tcm: make pi data verification configurableDmitry Monakhov3-10/+47
2017-05-01tcm_fileio: Prevent information leak for short readsDmitry Monakhov1-6/+17
2017-05-01target: Fix VERIFY and WRITE VERIFY command parsingBart Van Assche1-9/+62
2017-05-01target/pr: update PR out action code tableZhu Lingshan1-4/+5
2017-05-01target/iblock: convert iblock_req.pending from atomic_t to refcount_tElena Reshetova2-7/+8
2017-05-01Merge branch 'for-4.12/block' of git://git.kernel.dk/linux-blockLinus Torvalds3-37/+15
2017-04-20scsi: introduce a result field in struct scsi_requestChristoph Hellwig1-1/+1
2017-04-08block: remove the discard_zeroes_data flagChristoph Hellwig1-1/+1
2017-04-05block, scsi: move the retries field to struct scsi_requestChristoph Hellwig1-1/+1
2017-04-04iscsi-target: use generic inet_pton_with_scopeSagi Grimberg1-34/+12
2017-04-02tcmu: Skip Data-Out blocks before gathering Data-In buffer for BIDI caseXiubo Li1-15/+33
2017-04-02iscsi-target: Drop work-around for legacy GlobalSAN initiatorNicholas Bellinger1-16/+0
2017-03-30target: Fix ALUA transition state race between multiple initiatorsMike Christie2-89/+49
2017-03-30iscsi-target: Propigate queue_data_in + queue_status errorsNicholas Bellinger4-13/+10
2017-03-30target: Fix unknown fabric callback queue-full errorsNicholas Bellinger1-34/+68
2017-03-30tcmu: Fix wrongly calculating of the base_command_sizeXiubo Li1-2/+8
2017-03-30tcmu: Fix possible overwrite of t_data_sg's last iov[]Xiubo Li1-11/+23
2017-03-30target: Avoid mappedlun symlink creation during lun shutdownNicholas Bellinger2-0/+9
2017-03-30iscsi-target: Fix TMR reference leak during session shutdownNicholas Bellinger1-5/+7
2017-03-30tcmu: Allow cmd_time_out to be set to zero (disabled)Nicholas Bellinger1-5/+0
2017-03-18tcmu: Convert cmd_time_out into backend device attributeNicholas Bellinger1-26/+68
2017-03-18tcmu: make cmd timeout configurableMike Christie1-6/+35
2017-03-18tcmu: add helper to check if dev was configuredMike Christie1-2/+6
2017-03-18target: fix race during implicit transition work flushesMike Christie1-9/+1
2017-03-18target: allow userspace to set state to transitioningMike Christie1-15/+22
2017-03-18target: fix ALUA transition timeout handlingMike Christie1-15/+8
2017-03-18target: Use system workqueue for ALUA transitionsMike Christie1-5/+3
2017-03-18target: fail ALUA transitions for pscsiMike Christie1-0/+3
2017-03-18target: allow ALUA setup for some passthrough backendsMike Christie3-6/+9
2017-03-18tcmu: return on first Opt parse failureMike Christie1-0/+3
2017-03-18tcmu: allow hw_max_sectors greater than 128Mike Christie1-19/+35
2017-03-18target: Drop pointless tfo->check_stop_free checkNicholas Bellinger2-2/+5
2017-03-07target: Fix VERIFY_16 handling in sbc_parse_cdbMax Lohrmann1-2/+8
2017-03-07target/pscsi: Fix TYPE_TAPE + TYPE_MEDIMUM_CHANGER exportNicholas Bellinger1-35/+12
2017-03-03Merge branch 'WIP.sched-core-for-linus' of git://git.kernel.org/pub/scm/linux...Linus Torvalds5-0/+7