aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_scan.c
AgeCommit message (Expand)AuthorFilesLines
4 daysMerge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-33/+41
2024-04-11scsi: core: Add a device_configure method to the host templateChristoph Hellwig1-21/+26
2024-04-11scsi: core: Use the atomic queue limits API in scsi_add_lun()Christoph Hellwig1-13/+15
2024-04-11scsi: core: Initialize scsi midlayer limits before allocating the queueChristoph Hellwig1-2/+3
2024-03-25scsi: sd: Fix TCG OPAL unlock on system resumeDamien Le Moal1-0/+34
2024-03-16Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-43/+66
2024-02-26scsi: core: Constify the struct device_type usageRicardo B. Marliere1-1/+1
2024-02-13block: pass a queue_limits argument to blk_mq_init_queueChristoph Hellwig1-1/+1
2024-01-29scsi: core: Have SCSI midlayer retry scsi_report_lun_scan() errorsMike Christie1-24/+33
2024-01-29scsi: core: Retry INQUIRY after timeoutMike Christie1-0/+4
2024-01-29scsi: core: Have midlayer retry scsi_probe_lun() errorsMike Christie1-18/+28
2023-10-10scsi: Do not rescan devices with a suspended queueDamien Le Moal1-5/+6
2023-09-29Merge tag 'ata-6.6-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/dlem...Linus Torvalds1-1/+17
2023-09-28scsi: Do not attempt to rescan suspended devicesDamien Le Moal1-1/+17
2023-09-21scsi: core: ata: Do no try to probe for CDL on old drivesDamien Le Moal1-1/+1
2023-08-24scsi: core: Improve type safety of scsi_rescan_device()Bart Van Assche1-2/+2
2023-05-22scsi: core: Detect support for command duration limitsDamien Le Moal1-0/+3
2023-03-09scsi: core: Add BLIST_NO_VPD_SIZE for some VDASDLee Duncan1-0/+3
2023-02-22Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-10/+16
2023-01-26scsi: Revert "scsi: core: map PQ=1, PDT=other values to SCSI_SCAN_TARGET_PRES...Martin K. Petersen1-4/+3
2023-01-13scsi: core: Convert to scsi_execute_cmd()Mike Christie1-10/+16
2022-12-14Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-2/+3
2022-11-26scsi: core: Use SCSI_SCAN_INITIAL in do_scsi_scan_host()John Garry1-1/+1
2022-11-26scsi: core: Use SCSI_SCAN_RESCAN in __scsi_add_device()John Garry1-1/+2
2022-10-25scsi: remove an extra queue referenceChristoph Hellwig1-1/+0
2022-09-01scsi: core: Fix a use-after-freeBart Van Assche1-0/+1
2022-09-01scsi: core: Revert "Make sure that targets outlive devices"Bart Van Assche1-2/+0
2022-09-01scsi: core: Revert "Make sure that hosts outlive targets"Bart Van Assche1-7/+0
2022-08-01scsi: core: Make sure that hosts outlive targetsMing Lei1-0/+7
2022-08-01scsi: core: Make sure that targets outlive devicesBart Van Assche1-0/+2
2022-05-02scsi: core: Do not truncate INQUIRY data on modern devicesMartin K. Petersen1-1/+11
2022-03-29scsi: core: Fix sbitmap depth in scsi_realloc_sdev_budget_map()John Garry1-0/+5
2022-01-31scsi: core: Reallocate device's budget map on queue depth changeMing Lei1-5/+50
2021-11-29scsi: core: Declare 'scsi_scan_type' staticBart Van Assche1-1/+1
2021-11-29scsi: core: Suppress a kernel-doc warningBart Van Assche1-1/+1
2021-11-05Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-57/+17
2021-10-22block: remove QUEUE_FLAG_SCSI_PASSTHROUGHChristoph Hellwig1-1/+0
2021-10-16scsi: core: pm: Rely on the device driver core for async power managementBart Van Assche1-0/+17
2021-09-28scsi: core: Delete scsi_{get,free}_host_dev()John Garry1-57/+0
2021-08-11Merge branch '5.14/scsi-fixes' into 5.15/scsi-stagingMartin K. Petersen1-1/+2
2021-07-30scsi: block: Remove the remaining SG_IO-related fields from struct request_queueChristoph Hellwig1-0/+2
2021-07-29scsi: core: Avoid printing an error if target_alloc() returns -ENXIOSreekanth Reddy1-1/+2
2021-07-21scsi: core: Add new flag BLIST_IGN_MEDIA_CHANGEMartin Kepplinger1-0/+3
2021-06-22scsi: core: Inline scsi_mq_alloc_queue()Bart Van Assche1-4/+8
2021-05-31scsi: core: Kill DRIVER_SENSEHannes Reinecke1-1/+1
2021-05-31scsi: core: Stop using DRIVER_ERRORHannes Reinecke1-2/+2
2021-04-28Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-2/+21
2021-04-06scsi: remove the unchecked_isa_dma flagChristoph Hellwig1-4/+2
2021-03-04scsi: core: Replace sdev->device_busy with sbitmapMing Lei1-2/+21
2020-10-26scsi: core: Don't start concurrent async scan on same hostMing Lei1-3/+4
2020-02-28scsi: core: Remove cmd_list functionalityHannes Reinecke1-1/+0
2019-04-15scsi: core: map PQ=1, PDT=other values to SCSI_SCAN_TARGET_PRESENTLi Zhong1-3/+4
2019-02-27scsi: core: replace GFP_ATOMIC with GFP_KERNEL in scsi_scan.cBenjamin Block1-3/+3
2018-11-07scsi: kill off the legacy IO pathJens Axboe1-9/+1
2018-06-26scsi: core: check for equality of result byte valuesJohannes Thumshirn1-1/+1
2017-12-14scsi: core: Use blist_flags_t consistentlyBart Van Assche1-6/+7
2017-11-16scsi: Use 'blist_flags_t' for scsi_devinfo flagsHannes Reinecke1-1/+1
2017-11-14Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-0/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-17scsi: scsi: Export blacklist flags to sysfsHannes Reinecke1-0/+1
2017-10-02scsi: sd: Implement blacklist option for WRITE SAME w/ UNMAPMartin K. Petersen1-0/+3
2017-08-25scsi: Document which queue type a function is intended forBart Van Assche1-1/+1
2017-07-06Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-32/+14
2017-07-01scsi: Add STARGET_CREATED_REMOVE state to scsi_target_stateEwan D. Milne1-2/+3
2017-06-26scsi: remove various unused blist flagsChristoph Hellwig1-23/+2
2017-06-12scsi: Protect SCSI device state changes with a mutexBart Van Assche1-7/+9
2017-05-16scsi: fix some kernel-doc markupsMauro Carvalho Chehab1-3/+4
2016-10-11scsi: Remove one useless stack variableMing Lei1-4/+0
2016-10-11scsi: Fix use-after-freeMing Lei1-1/+1
2016-08-31scsi: move function declarations to scsi_priv.hBaoyou Xie1-2/+0
2016-04-15scsi: Add intermediate STARGET_REMOVE state to scsi_target_stateJohannes Thumshirn1-0/+1
2016-04-11scsi: disable automatic target scanHannes Reinecke1-14/+30
2016-02-23scsi_dh: add 'rescan' callbackHannes Reinecke1-1/+7
2016-02-23scsi_dh_alua: Add new blacklist flag 'BLIST_SYNC_ALUA'Hannes Reinecke1-0/+3
2016-02-23scsi: Export function scsi_scan.c:sanitize_inquiry_stringDon Brace1-5/+7
2016-01-07Merge branch 'jejb-scsi' into miscJames Bottomley1-3/+6
2015-12-03Merge branch 'mkp-fixes' into fixesJames Bottomley1-3/+6
2015-11-30scsi: rescan VPD attributesHannes Reinecke1-0/+4
2015-11-19scsi: report 'INQUIRY result too short' once per hostVitaly Kuznetsov1-3/+6
2015-11-12Merge tag '4.4-scsi-mkp' into miscJames Bottomley1-3/+3
2015-11-11scsi_scan: don't dump trace when scsi_prep_async_scan() is called twiceVitaly Kuznetsov1-2/+1
2015-11-09scsi: use host wide tags by defaultChristoph Hellwig1-2/+1
2015-11-02SCSI: Increase REPORT_LUNS timeoutBrian King1-1/+2
2015-06-01Move code that is used both by initiator and target driversBart Van Assche1-62/+0
2015-05-25scsi_scan: fix queue depth initialisation problemJames Bottomley1-1/+2
2015-04-27SCSI: add 1024 max sectors black list flagMike Christie1-0/+6
2015-03-19scsi: serialize ->rescan against ->removeChristoph Hellwig1-4/+3
2015-02-12Merge branch 'for-3.20/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+2
2015-01-23block: support different tag allocation policyShaohua Li1-1/+2
2015-01-09scsi: retry report-luns when reported LU count requres more memoryRob Evers1-30/+11
2015-01-09scsi: use set/get_unaligned_be32 in report_lunsRob Evers1-8/+3
2015-01-09scsi: avoid unnecessary GFP_ATOMIC allocation in scsi_report_lun_scanRob Evers1-1/+1
2014-12-08Merge remote-tracking branch 'scsi-queue/drivers-for-3.19' into for-linusJames Bottomley1-1/+1
2014-11-24scsi: remove scsi_driver owner fieldChristoph Hellwig1-5/+4
2014-11-24scsi: drop reason argument from ->change_queue_depthChristoph Hellwig1-1/+1
2014-11-12scsi: don't set tagging state from scsi_adjust_queue_depthChristoph Hellwig1-2/+4
2014-11-12scsi: always assign block layer tags if enabledChristoph Hellwig1-0/+6
2014-11-12scsi: fix off-by-one LUN check in scsi_scan_host_selected()Mark Knibbs1-1/+1
2014-11-12scsi: fix trivial typos in scsi_scan.c commentMark Knibbs1-2/+2
2014-10-01scsi: don't add scsi_device if its already visibleSubhash Jadavani1-0/+3
2014-10-01scsi: fix the type for well known LUsSubhash Jadavani1-0/+13
2014-09-15scsi: don't store LUN bits in CDB[1] for USB mass-storage devicesAlan Stern1-0/+10
2014-07-29scsi: do not issue SCSI RSOC command to Promise Vtrak E610fJanusz Dziemidowicz1-0/+6
2014-07-25scsi: add a blacklist flag which enables VPD page inquiriesMartin K. Petersen1-1/+3
2014-07-25scsi: move the writeable field from struct scsi_device to struct scsi_cdChristoph Hellwig1-24/+0
2014-07-25scsi: add support for a blk-mq based I/O path.Christoph Hellwig1-1/+4
2014-07-17scsi: use dev_printk variants where possibleHannes Reinecke1-29/+33
2014-07-17scsi_scan: Fixup scsilun_to_int()Hannes Reinecke1-12/+10
2014-07-17scsi: use 64-bit value for 'max_luns'Hannes Reinecke1-3/+3
2014-07-17scsi: use 64-bit LUNsHannes Reinecke1-35/+19
2014-07-17scsi_scan: Restrict sequential scan to 256 LUNsHannes Reinecke1-0/+6
2014-07-17scsi: Remove CONFIG_SCSI_MULTI_LUNHannes Reinecke1-4/+0
2014-04-11Merge branch 'async-scsi-resume' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2014-04-10scsi: async sd resumeDan Williams1-1/+1
2014-03-27[SCSI] Add EVPD page 0x83 and 0x80 to sysfsHannes Reinecke1-0/+3
2014-03-15[SCSI] dual scan thread bug fixJames Bottomley1-7/+16
2014-03-15[SCSI] fix our current target reap infrastructureJames Bottomley1-39/+60
2013-06-24[SCSI] Workaround for disks that report bad optimal transfer lengthMartin K. Petersen1-0/+3
2013-06-04[SCSI] Allow error handling timeout to be specifiedMartin K. Petersen1-0/+2
2012-10-02Merge SCSI misc branch into isci-for-3.6 tagJames Bottomley1-0/+3
2012-09-24[SCSI] Disable DIF on Hitachi Ultrastar 15K300Martin K. Petersen1-0/+3
2012-08-22[SCSI] Fix 'Device not ready' issue on mpt2sasJames Bottomley1-0/+10
2012-07-20[SCSI] Revert "[SCSI] fix async probe regression"Dan Williams1-5/+2
2012-07-20[SCSI] cleanup usages of scsi_complete_async_scansDan Williams1-12/+0
2012-07-20[SCSI] queue async scan work to an async_schedule domainDan Williams1-6/+6
2012-07-20[SCSI] fix hot unplug vs async scan raceDan Williams1-0/+3
2012-05-30[SCSI] fix async probe regressionDan Williams1-2/+5
2012-03-12Merge 3.3-rc7 into usb-nextGreg Kroah-Hartman1-0/+4
2012-02-18[SCSI] scsi_scan: Fix 'Poison overwritten' warning caused by using freed 'shost'Huajun Li1-2/+2
2012-02-08SCSI & usb-storage: add flags for VPD pages and REPORT LUNSAlan Stern1-0/+4
2011-12-14block: misc updates to blk_get_queue()Tejun Heo1-1/+1
2011-11-09[SCSI] fix WARNING: at drivers/scsi/scsi_lib.c:1704James Bottomley1-5/+1
2011-11-03[SCSI] Fix block queue and elevator memory leak in scsi_alloc_sdevAnton Blanchard1-0/+1
2011-06-02[SCSI] Fix oops caused by queue refcounting failureJames Bottomley1-1/+1
2011-05-17scsi: remove performance regression due to async queue runJens Axboe1-0/+2
2010-10-22driver core: remove CONFIG_SYSFS_DEPRECATED_V2 but keep it for block devicesKay Sievers1-2/+0
2010-07-28[SCSI] implement runtime Power ManagementAlan Stern1-4/+20
2010-05-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6Linus Torvalds1-4/+5
2010-05-25[SCSI] fix race in scsi_target_reapAlan Stern1-4/+5
2010-05-24scsi_scan.c: fix/convert functions to use kernel-docRandy Dunlap1-17/+9
2010-04-11[SCSI] don't kfree an initialized struct deviceAlan Stern1-2/+1
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2010-03-01Merge branch 'for-2.6.34' of git://git.kernel.dk/linux-2.6-blockLinus Torvalds1-1/+1
2010-02-26block: Rename blk_queue_max_sectors to blk_queue_max_hw_sectorsMartin K. Petersen1-1/+1
2010-02-18[SCSI] fix refcounting bug in scsi_get_host_devAlan Stern1-3/+2
2010-02-18[SCSI] fix memory leak in scsi_report_lun_scanAlan Stern1-1/+3
2009-12-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6Linus Torvalds1-0/+3
2009-12-04[SCSI] add queue_depth ramp up codeVasu Dev1-0/+3
2009-11-26[SCSI] fix async scan add/remove race resulting in an oopsJames Bottomley1-14/+4
2009-10-13[SCSI] fix memory leak in initializationJames Bottomley1-0/+2
2009-05-20[SCSI] Increase default timeout for INQUIRYAlan Stern1-2/+2
2009-05-14[SCSI] initialize max_target_blocked in scsi_alloc_targetEdward Goggin1-0/+1
2009-04-21driver synchronization: make scsi_wait_scan more advancedArjan van de Ven1-2/+0
2009-03-12[SCSI] add OSD_TYPEBoaz Harrosh1-0/+1
2009-02-10[SCSI] scsi_scan: add missing interim SDEV_DEL state if slave_alloc failsJames Smart1-0/+1
2009-01-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6Linus Torvalds1-4/+3
2009-01-07fastboot: make scsi probes asynchronousArjan van de Ven1-0/+3
2009-01-02[SCSI] struct device - replace bus_id with dev_name(), dev_set_name()Kay Sievers1-4/+3
2008-12-29[SCSI] retry with missing data for INQUIRYFUJITA Tomonori1-1/+11
2008-12-29[SCSI] add residual argument to scsi_execute and scsi_execute_reqFUJITA Tomonori1-3/+4
2008-10-13[SCSI] Add helper code so transport classes/driver can control queueing (v3)Mike Christie1-0/+1
2008-10-03[SCSI] Update the SCSI state model to allow blocking in the created stateJames Bottomley1-2/+14
2008-10-03[SCSI] add inline functions for recognising created and blocked statesJames Bottomley1-2/+2
2008-08-29[SCSI] fix check of PQ and PDT bits for WLUNsJames Bottomley1-1/+2
2008-07-27[SCSI] replace __FUNCTION__ with __func__Harvey Harrison1-6/+6
2008-07-26[SCSI] scsi_scan.c: Release mutex in error handling codeJulia Lawall1-0/+1
2008-07-12[SCSI] make struct scsi_{host,target}_type staticAdrian Bunk1-1/+1
2008-04-29Remove duplicated unlikely() in IS_ERR()Hirofumi Nakagawa1-1/+1
2008-04-22[SCSI] rework scsi_target allocationJames Bottomley1-38/+34
2008-04-22[SCSI] add scsi_host and scsi_target to scsi_busHannes Reinecke1-2/+10
2008-03-03docbook: fix scsi source fileRandy Dunlap1-2/+1
2008-01-23[SCSI] add missing transport configure points for target and hostJames Bottomley1-0/+2
2008-01-11[SCSI] move single_lun flag from scsi_device to scsi_targetTony Battersby1-1/+1
2008-01-11[SCSI] Add Documentation and integrate into docbook buildRob Landley1-12/+20
2007-11-03SCSI: add asynchronous event notification APIJeff Garzik1-0/+3
2007-10-12[SCSI] scsi_scan: Cope with kthread_run failingMatthew Wilcox1-1/+4
2007-10-12[SCSI] Fix signness of parameters in scsi moduleMasatake YAMATO1-3/+3
2007-10-12[SCSI] Fix async scanning double-add problemsMatthew Wilcox1-10/+27
2007-07-15Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6Linus Torvalds1-39/+28
2007-07-14[SCSI] Clean up scsi_add_lun a bitMatthew Wilcox1-38/+26
2007-06-19[SCSI] zfcp: Report FCP LUN to SCSI midlayerChristof Schmitt1-1/+2
2007-05-30[SCSI] fix CONFIG_SCSI_WAIT_SCAN=mHugh Dickins1-0/+9
2007-03-21[SCSI] fix scsi_wait_scan build problemJames Bottomley1-2/+0
2007-02-19Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6Linus Torvalds1-0/+14
2007-02-17Replace remaining references to "driverfs" with "sysfs".Robert P. J. Day1-1/+1
2007-02-16[SCSI] SCSI core: better initialization for sdev->scsi_levelAlan Stern1-0/+1
2007-02-16[SCSI] scsi_scan.c: handle bad inquiry responsesAlan Stern1-0/+13
2007-02-10Merge branch 'linus'James Bottomley1-0/+6
2007-01-31Merge branch 'linus'James Bottomley1-8/+25
2007-01-27[SCSI] Fix scsi_add_device() for async scanningMatthew Wilcox1-0/+6
2007-01-13[SCSI] scsi_scan message cosmetic errorKurt Garloff1-1/+1
2007-01-06[SCSI] scsi_scan: fix report lun problems with CDROM or RBC devicesJames Bottomley1-2/+16
2007-01-03[SCSI] Add missing completion to scsi_complete_async_scans()Matthew Wilcox1-6/+9
2006-12-06Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torval...David Howells1-6/+219
2006-11-22[SCSI] Make scsi_scan_host work for drivers which find their own targetsMatthew Wilcox1-7/+20
2006-11-22[SCSI] fix missing check for no scanningMatthew Wilcox1-0/+3
2006-11-22[SCSI] Add Kconfig option for asynchronous SCSI scanningMatthew Wilcox1-1/+7
2006-11-22Merge ../scsi-rc-fixes-2.6James Bottomley1-4/+14
2006-11-22WorkStruct: Pass the work_struct pointer instead of context dataDavid Howells1-3/+4
2006-11-13[PATCH] SCSI core: always store >= 36 bytes of INQUIRY dataAlan Stern1-4/+14