aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/vhost/scsi.c
AgeCommit message (Expand)AuthorFilesLines
2023-11-05Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-1/+1
2023-11-01vhost-scsi: Spelling s/preceeding/preceding/gGeert Uytterhoeven1-1/+1
2023-10-13scsi: target: Allow userspace to request direct submissionsMike Christie1-1/+1
2023-10-13scsi: target: Have drivers report if they support direct submissionsMike Christie1-0/+3
2023-08-10vhost-scsi: Rename vhost_scsi_iov_to_sglMike Christie1-6/+7
2023-08-10vhost-scsi: Fix alignment handling with windowsMike Christie1-25/+161
2023-07-03vhost_scsi: add support for worker ioctlsMike Christie1-0/+8
2023-07-03vhost_scsi: flush IO vqs then send TMF rspMike Christie1-3/+18
2023-07-03vhost_scsi: convert to vhost_vq_work_queueMike Christie1-9/+9
2023-07-03vhost_scsi: make SCSI cmd completion per vqMike Christie1-30/+26
2023-04-27Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-46/+56
2023-04-26Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-31/+0
2023-04-24Merge tag 'iter-ubuf.2-2023-04-21' of git://git.kernel.dk/linuxLinus Torvalds1-1/+1
2023-04-21vhost-scsi: Reduce vhost_scsi_mutex useMike Christie1-7/+9
2023-04-21vhost-scsi: Drop vhost_scsi_mutex use in port calloutsMike Christie1-12/+2
2023-04-21vhost-scsi: Check for a cleared backend before queueing an eventMike Christie1-0/+8
2023-04-21vhost-scsi: Drop device mutex use in vhost_scsi_do_plugMike Christie1-3/+0
2023-04-21vhost-scsi: Delay releasing our refcount on the tpgMike Christie1-24/+37
2023-04-04vhost-scsi: Fix crash during LUN unmappingMike Christie1-32/+4
2023-04-04vhost-scsi: Fix vhost_scsi struct use after freeMike Christie1-0/+3
2023-03-30iov_iter: add iter_iovec() helperJens Axboe1-1/+1
2023-03-16scsi: vhost-scsi: Remove default fabric ops calloutsDmitry Bogdanov1-31/+0
2023-02-20vhost-scsi: convert sysfs snprintf and sprintf to sysfs_emitBo Liu1-3/+3
2023-01-27vhost-scsi: unbreak any layout for responseJason Wang1-4/+17
2022-11-25use less confusing names for iov_iter direction initializersAl Viro1-5/+5
2022-08-12Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-24/+61
2022-08-11vhost scsi: Allow user to control num virtqueuesMike Christie1-24/+61
2022-08-11vhost-scsi: Fix max number of virtqueuesMike Christie1-1/+1
2022-08-08iov_iter: advancing variants of iov_iter_get_pages{,_alloc}()Al Viro1-3/+1
2022-05-31vhost: rename vhost_work_dev_flushMike Christie1-1/+1
2022-05-31vhost-scsi: drop flush after vhost_dev_cleanupMike Christie1-2/+0
2021-09-05vhost scsi: Convert to SPDX identifierCai Huoqing1-13/+1
2021-07-03vhost-scsi: reduce flushes during endpoint clearingMike Christie1-5/+6
2021-07-03vhost-scsi: remove extra flushesMike Christie1-8/+0
2021-07-03vhost: remove work arg from vhost_work_flushMike Christie1-2/+2
2021-03-04scsi: target: vhost-scsi: Use LIO wq cmd submission helperMike Christie1-30/+6
2021-03-04scsi: target: core: Add gfp_t arg to target_cmd_init_cdb()Mike Christie1-1/+1
2021-03-04scsi: target: vhost-scsi: Convert to new submission APIMike Christie1-11/+9
2021-03-04scsi: sbitmap: Move allocation hint into sbitmapMing Lei1-2/+2
2021-03-04scsi: sbitmap: Maintain allocation round_robin in sbitmapMing Lei1-2/+2
2021-02-23vhost scsi: alloc vhost_scsi with kvzalloc() to avoid delayDongli Zhang1-6/+3
2020-12-18vhost scsi: fix error return code in vhost_scsi_set_endpoint()Zhang Changzhong1-1/+2
2020-11-25vhost scsi: fix lun reset completion handlingMike Christie1-1/+3
2020-11-15vhost scsi: Add support for LUN resets.Mike Christie1-13/+134
2020-11-15vhost scsi: add lun parser helperMike Christie1-2/+7
2020-11-15vhost scsi: fix cmd completion raceMike Christie1-27/+15
2020-11-15vhost scsi: alloc cmds per vq instead of sessionMike Christie1-79/+128
2020-07-29vhost/scsi: fix up req type endian-nessMichael S. Tsirkin1-1/+1
2020-06-10Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-1/+1
2020-06-05Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-0/+1
2020-06-04vhost: allow device that does not depend on vhost workerJason Wang1-1/+1
2020-05-26scsi: vhost: Notify TCM about the maximum sg entries supported per commandSudhakar Panneerselvam1-0/+1
2020-04-16vhost: Create accessors for virtqueues private_dataEugenio Pérez1-7/+7
2020-04-01vhost: allow per device message handlerJason Wang1-1/+1
2019-10-23compat_ioctl: move drivers to compat_ptr_ioctlArnd Bergmann1-11/+1
2019-05-27vhost: scsi: add weight supportJason Wang1-6/+6
2019-05-27vhost: introduce vhost_exceeds_weight()Jason Wang1-1/+8
2019-05-12vhost-scsi: remove incorrect memory barrierPaolo Bonzini1-1/+0
2019-03-09Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-6/+0
2019-02-04scsi: target/core: Remove the write_pending_status() callback functionBart Van Assche1-6/+0
2019-01-28vhost: fix OOB in get_rx_bufs()Jason Wang1-1/+1
2019-01-14vhost/scsi: Use copy_to_iter() to send control queue responseBijan Mottahedeh1-8/+12
2019-01-02Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-2/+2
2018-12-19vhost: correct the related warning messagewangyan1-2/+2
2018-11-28scsi: target: replace fabric_ops.name with fabric_aliasDavid Disseldorp1-1/+0
2018-11-28scsi: target: drop unnecessary get_fabric_name() accessor from fabric_opsDavid Disseldorp1-6/+1
2018-10-24vhost/scsi: Use common handling code in request queue handlerBijan Mottahedeh1-197/+164
2018-10-24vhost/scsi: Extract common handling code from control queue handlerBijan Mottahedeh1-99/+172
2018-10-24vhost/scsi: Respond to control queue operationsBijan Mottahedeh1-0/+190
2018-10-24vhost/scsi: truncate T10 PI iov_iter to prot_bytesGreg Edwards1-1/+3
2018-08-24Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-1/+1
2018-08-22vhost/scsi: increase VHOST_SCSI_PREALLOC_PROT_SGLS to 2048Greg Edwards1-1/+1
2018-08-02scsi: target: loop, usb, vhost, xen: use target_remove_sessionMike Christie1-1/+1
2018-08-02scsi: target: rename target_alloc_sessionMike Christie1-1/+1
2018-07-02scsi: target: Remove second argument from fabric_make_tpg()Bart Van Assche1-3/+1
2018-06-19scsi: target: Convert target drivers to use sbitmapMatthew Wilcox1-3/+3
2018-06-19scsi: target: Abstract tag freeingMatthew Wilcox1-1/+1
2018-06-12treewide: kzalloc() -> kcalloc()Kees Cook1-6/+9
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-1/+1
2018-02-01vhost: remove unused lock check flag in vhost_dev_cleanup()夷则(Caspar)1-1/+1
2018-01-31vhost/scsi: Improve a size determination in four functionsMarkus Elfring1-5/+4
2017-11-17Merge branch 'work.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-50/+23
2017-11-16Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-2/+2
2017-11-14vhost/scsi: Use safe iteration in vhost_scsi_complete_cmd_work()Byungchul Park1-2/+2
2017-10-25locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns ...Mark Rutland1-1/+1
2017-10-11vhost/scsi: switch to iov_iter_get_pages()Al Viro1-48/+20
2017-10-11fix a page leak in vhost_scsi_iov_to_sgl() error recoveryAl Viro1-2/+3
2017-07-13Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds1-8/+3
2017-07-12mm, tree wide: replace __GFP_REPEAT by __GFP_RETRY_MAYFAIL with more useful s...Michal Hocko1-1/+1
2017-06-08vhost/scsi: Don't reinvent the wheel but use existing llist APIByungchul Park1-8/+3
2017-01-19vhost/scsi: silence uninitialized variable warningDan Carpenter1-1/+1
2017-01-19vhost: scsi: constify target_core_fabric_ops structuresBhumika Goyal1-1/+1
2016-12-16Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-2/+1
2016-12-16vhost/scsi: Remove unused but set variableTobias Klauser1-2/+0
2016-12-05[iov_iter] new primitives - copy_from_iter_full() and friendsAl Viro1-2/+1
2016-08-23vhost/scsi: fix reuse of &vq->iov[out] in responseBenjamin Coddington1-3/+3
2016-05-10target: make close_session optionalChristoph Hellwig1-6/+0
2016-05-10target: make ->shutdown_session optionalChristoph Hellwig1-6/+0
2016-03-22Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds1-58/+41
2016-03-10vhost/scsi: Convert to target_alloc_session usageNicholas Bellinger1-58/+41
2016-03-02vhost: rename vhost_init_used()Greg Kurz1-1/+1
2015-11-13Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds1-22/+19
2015-10-13target: use per-attribute show and store methodsChristoph Hellwig1-22/+19
2015-09-18Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-3/+1
2015-09-16vhost: move features to coreMichael S. Tsirkin1-3/+1
2015-08-05char: make misc_deregister a void functionGreg Kroah-Hartman1-2/+2
2015-07-04Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds1-216/+3
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-1/+2
2015-06-15target: Drop unnecessary core_tpg_register TFO parameterNicholas Bellinger1-3/+1
2015-06-02target: Minimize SCSI header #include directivesBart Van Assche1-1/+2
2015-06-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+2
2015-05-30target: target_core_configfs.h is not needed in fabric driversChristoph Hellwig1-1/+0
2015-05-30target: Move task tag into struct se_cmd + support 64-bit tagsBart Van Assche1-6/+1
2015-05-30target: move transport ID handling to the coreChristoph Hellwig1-94/+0
2015-05-30target: remove the get_fabric_proto_ident methodChristoph Hellwig1-23/+0
2015-05-30target: change core_tpg_register prototypeChristoph Hellwig1-2/+2
2015-05-30target: move node ACL allocation to core codeChristoph Hellwig1-15/+0
2015-05-30target: refactor init/drop_nodeacl methodsChristoph Hellwig1-39/+0
2015-05-30target: make the tpg_get_default_depth method optionalChristoph Hellwig1-6/+0
2015-05-30vhost/scsi: remove struct vhost_scsi_naclChristoph Hellwig1-31/+3
2015-05-30target: Remove first argument of target_{get,put}_sess_cmd()Bart Van Assche1-1/+1
2015-05-30target: Fix se_tpg_tfo->tf_subsys regression + remove tf_subsystemChristoph Hellwig1-4/+2
2015-05-28treewide: Add missing vmalloc.h inclusion.David S. Miller1-0/+1
2015-04-24Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds1-63/+63
2015-04-14target: simplify the target template registration APIChristoph Hellwig1-63/+13
2015-04-07vhost/scsi: Add fabric_prot_type attribute supportNicholas Bellinger1-1/+51
2015-03-19loop/usb/vhost-scsi/xen-scsiback: Fix use of __transport_register_sessionBart Van Assche1-3/+2
2015-02-21Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds1-527/+541
2015-02-05vhost/scsi: potential memory corruptionDan Carpenter1-3/+3
2015-02-04vhost/scsi: Global tcm_vhost -> vhost_scsi renameNicholas Bellinger1-331/+331
2015-02-04vhost/scsi: Drop left-over scsi_tcq.h includeNicholas Bellinger1-1/+0
2015-02-04vhost/scsi: Set VIRTIO_F_ANY_LAYOUT + VIRTIO_F_VERSION_1 feature bitsNicholas Bellinger1-1/+3
2015-02-04vhost/scsi: Add ANY_LAYOUT support in vhost_scsi_handle_vqNicholas Bellinger1-196/+110
2015-02-04vhost/scsi: Add ANY_LAYOUT iov -> sgl mapping prerequisitesNicholas Bellinger1-0/+93
2015-02-04vhost/scsi: Change vhost_scsi_map_to_sgl to accept iov ptr + lenNicholas Bellinger1-22/+15
2015-02-04vhost/scsi: Fix incorrect early vhost_scsi_handle_vq failuresNicholas Bellinger1-23/+29
2015-02-04vhost/scsi: Convert completion path to use copy_to_iterNicholas Bellinger1-5/+12
2015-02-04vhost: vhost_scsi_handle_vq() should just use copy_from_user()Al Viro1-1/+1
2015-01-06vhost-scsi: Add missing virtio-scsi -> TCM attribute conversionNicholas Bellinger1-3/+21
2014-12-09vhost/scsi: partial virtio 1.0 supportMichael S. Tsirkin1-10/+12
2014-10-28vhost-scsi: Take configfs group dependency during VHOST_SCSI_SET_ENDPOINTNicholas Bellinger1-0/+24
2014-06-23vhost-scsi: don't open-code kvfreeMichael S. Tsirkin1-10/+2
2014-06-12Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds1-96/+212
2014-06-11Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-11/+15
2014-06-11vhost-scsi: Include prot_bytes into expected data transfer lengthNicholas Bellinger1-1/+2
2014-06-09vhost: move memory pointer to VQsMichael S. Tsirkin1-2/+2
2014-06-09vhost: move acked_features to VQsMichael S. Tsirkin1-9/+13
2014-06-02vhost/scsi: Enable T10 PI IOV -> SGL memory mappingNicholas Bellinger1-59/+124
2014-06-02vhost/scsi: Add T10 PI IOV -> SGL memory mapping logicNicholas Bellinger1-1/+47
2014-06-02vhost/scsi: Add preallocation of protection SGLsNicholas Bellinger1-1/+14
2014-06-02vhost/scsi: Move sanity check into vhost_scsi_map_iov_to_sglNicholas Bellinger1-34/+25
2014-04-18arch: Mass conversion of smp_mb__*()Peter Zijlstra1-1/+1
2014-04-07target: Pass in transport supported PI at session initializationNicholas Bellinger1-1/+2
2014-04-07target: Add TFO->abort_task for aborted task resources releaseNicholas Bellinger1-0/+6
2014-02-24vhost/scsi: Check LUN structure byte 0 is set to 1, per specVenkatesh Srinivas1-0/+6
2014-01-31Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds1-2/+2
2014-01-23percpu_ida: Make percpu_ida_alloc + callers accept task state bitmaskKent Overstreet1-1/+1
2014-01-18target: Add protection SGLs to target_submit_cmd_map_sglsNicholas Bellinger1-1/+1
2013-12-06vhost: remove the dead branchZhi Yong Wu1-6/+1
2013-11-22Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds1-9/+9
2013-10-25vhost/scsi: Fix incorrect usage of get_user_pages_fast write parameterNicholas Bellinger1-1/+1
2013-10-16target: Remove TF_CIT_TMPL macroAndy Grover1-9/+9
2013-10-01vhost/scsi: Use GFP_ATOMIC with percpu_ida_alloc for obtaining tagNicholas Bellinger1-1/+6
2013-09-17vhost-scsi: whitespace tweakMichael S. Tsirkin1-1/+1
2013-09-17vhost/scsi: use vmalloc for order-10 allocationMichael S. Tsirkin1-14/+27
2013-09-10target: Update copyright ownership/year information to 2013Nicholas Bellinger1-2/+2
2013-09-09vhost/scsi: Add pre-allocation for tv_cmd SGL + upages memoryNicholas Bellinger1-19/+80
2013-09-09vhost/scsi: Convert to per-cpu ida_alloc + ida_free command mapNicholas Bellinger1-12/+21
2013-07-23Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-11/+6
2013-07-11Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds1-15/+22
2013-07-11vhost: Remove custom vhost rcu usageAsias He1-4/+2
2013-07-11vhost-scsi: Always access vq->private_data under vq mutexAsias He1-7/+4
2013-07-07target: make queue_tm_rsp() return voidJoern Engel1-2/+2
2013-07-07vhost: Make local function staticAsias He1-1/+1
2013-07-07vhost: Make vhost a separate moduleAsias He1-1/+0
2013-07-07vhost-scsi: Rename struct tcm_vhost_cmd *tv_cmd to *cmdAsias He1-71/+71
2013-07-07vhost-scsi: Rename struct tcm_vhost_tpg *tv_tpg to *tpgAsias He1-61/+61
2013-07-07vhost-scsi: Make func indention more consistentAsias He1-66/+88
2013-07-07vhost-scsi: Rename struct vhost_scsi *s to *vsAsias He1-28/+28
2013-07-07vhost-scsi: Remove unnecessary forward struct vhost_scsi declarationAsias He1-1/+0
2013-06-20vhost/scsi: Convert to se_cmd->cmd_kref TARGET_SCF_ACK_KREF usageNicholas Bellinger1-12/+19
2013-06-20vhost/scsi: Drop unnecessary wait_for_tasks=true usage with transport_generic...Nicholas Bellinger1-1/+1
2013-05-07vhost-scsi: Enable VIRTIO_RING_F_EVENT_IDXAsias He1-7/+1
2013-05-02vhost_scsi: module renameMichael S. Tsirkin1-1/+2
2013-05-02tcm_vhost: header split upMichael S. Tsirkin1-8/+104
2013-05-02vhost: src file renamesMichael S. Tsirkin1-0/+2046