aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_sysfs.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-05scsi: core: Store owner from modules with scsi_register_driver()Krzysztof Kozlowski1-2/+3
2024-03-22Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-0/+10
2024-02-26scsi: core: Query the Block Limits Extension VPD pageBart Van Assche1-0/+10
2024-02-26scsi: core: Constify the struct device_type usageRicardo B. Marliere1-2/+2
2024-02-12scsi: core: Make scsi_bus_type constRicardo B. Marliere1-1/+1
2023-08-24scsi: core: Improve type safety of scsi_rescan_device()Bart Van Assche1-2/+2
2023-05-22scsi: core: Allow enabling and disabling command duration limitsDamien Le Moal1-0/+28
2023-05-22scsi: core: Detect support for command duration limitsDamien Le Moal1-0/+2
2023-03-24scsi: core: Declare most SCSI host template pointers constBart Van Assche1-3/+3
2023-02-24Merge tag 'driver-core-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+2
2023-01-27driver core: make struct bus_type.uevent() take a const *Greg Kroah-Hartman1-2/+2
2023-01-26scsi: core: Fix the scsi_device_put() might_sleep annotationBart Van Assche1-0/+2
2022-12-14Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-20/+2
2022-10-18scsi: core: Release SCSI devices synchronouslyBart Van Assche1-20/+2
2022-10-18scsi: core: Restrict legal sdev_state transitions via sysfsUday Shankar1-0/+8
2022-10-07Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-0/+2
2022-09-25scsi: core: Add I/O timeout count for SCSI deviceWu Bo1-0/+2
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-17/+3
2022-09-01scsi: core: Revert "Simplify LLD module reference counting"Bart Van Assche1-0/+9
2022-08-13Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-12/+17
2022-08-01scsi: core: Simplify LLD module reference countingMing Lei1-9/+0
2022-08-01scsi: core: Make sure that targets outlive devicesBart Van Assche1-3/+17
2022-06-28block: simplify disk shutdownChristoph Hellwig1-1/+1
2022-05-23scsi: core: Unexport scsi_bus_typeChristoph Hellwig1-1/+0
2022-05-02scsi: core: Cache VPD pages b0, b1, b2Martin K. Petersen1-0/+28
2022-03-29scsi: core: sysfs: Remove comments that conflict with the actual logicJackie Liu1-4/+0
2022-02-07scsi: core: Make "access_state" sysfs attribute always visibleMartin Wilck1-8/+0
2021-12-16Merge branch '5.16/scsi-fixes' into 5.17/scsi-stagingMartin K. Petersen1-11/+19
2021-11-22scsi: core: sysfs: Fix setting device state to SDEV_RUNNINGMike Christie1-1/+1
2021-11-18scsi: core: Remove Scsi_Host.shost_dev_attr_groupsBart Van Assche1-1/+6
2021-11-16scsi: core: sysfs: Fix hang when device state is set via sysfsMike Christie1-11/+19
2021-11-03Merge branch '5.15/scsi-fixes' into 5.16/scsi-queueMartin K. Petersen1-0/+9
2021-11-03scsi: bsg: Fix errno when scsi_bsg_register_queue() failsJackie Liu1-0/+1
2021-10-27scsi: core: Fix early registration of sysfs attributes for scsi_deviceSteffen Maier1-10/+1
2021-10-16scsi: core: Remove two host template members that are no longer usedBart Van Assche1-28/+0
2021-10-16scsi: core: Register sysfs attributes earlierBart Van Assche1-40/+41
2021-10-16scsi: core: pm: Rely on the device driver core for async power managementBart Van Assche1-0/+1
2021-10-12scsi: core: Put LLD module refcnt after SCSI device is releasedMing Lei1-0/+9
2021-09-02Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-8/+16
2021-08-24scsi: core: Fix hang of freezing queue between blocking and running deviceLi Jinlin1-3/+6
2021-08-11Merge branch '5.14/scsi-fixes' into 5.15/scsi-stagingMartin K. Petersen1-3/+6
2021-07-30scsi: bsg: Simplify device registrationChristoph Hellwig1-8/+16
2021-07-29scsi: core: Fix capacity set to zero after offlinining devicelijinlin1-3/+6
2021-07-28scsi: bsg: Move bsg_scsi_ops to drivers/scsi/Christoph Hellwig1-1/+1
2021-04-28Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-2/+4
2021-04-06scsi: remove the unchecked_isa_dma flagChristoph Hellwig1-2/+0
2021-03-29scsi: core: Fix comment typodudengke1-1/+1
2021-03-04scsi: core: Replace sdev->device_busy with sbitmapMing Lei1-0/+2
2021-03-04scsi: core: Add scsi_device_busy() wrapperMing Lei1-1/+1
2020-11-16scsi: core: Fix -Wformat for scsi_hostNick Desaulniers1-1/+1
2020-10-06scsi: core: Show nr_hw_queues in sysfsJohn Garry1-0/+11
2020-03-17scsi: core: Use scnprintf() for avoiding potential buffer overflowTakashi Iwai1-5/+5
2020-02-28scsi: core: use kobj_to_devGuosong Su1-4/+4
2019-12-02Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-1/+21
2019-10-31Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/pau...Ingo Molnar1-4/+4
2019-10-30drivers/scsi: Replace rcu_swap_protected() with rcu_replace_pointer()Paul E. McKenney1-4/+4
2019-10-17scsi: core: try to get module before removing deviceYufen Yu1-1/+10
2019-09-30scsi: core: Add sysfs attributes for VPD pages 0h and 89hRyan Attard1-0/+19
2019-09-30scsi: core: allow auto suspend override by low-level driverStanley Chu1-1/+2
2019-07-11Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-1/+6
2019-06-20scsi: Restrict user space SCSI device state changes to "running" and "offline"Bart Van Assche1-1/+6
2019-05-21scsi: core: add SPDX tags to scsi midlayer files missing licensing informationChristoph Hellwig1-0/+1
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-03-27scsi: core: Run queue when state is set to running after being blockedzhengbin1-0/+6
2018-11-07scsi: kill off the legacy IO pathJens Axboe1-1/+7
2018-08-02scsi: core: Avoid that SCSI device removal through sysfs triggers a deadlockBart Van Assche1-2/+18
2018-06-26scsi: read host_busy via scsi_host_busy()Ming Lei1-1/+1
2018-04-20scsi: devinfo: change blist_flag_t to 64bitMartin Wilck1-1/+1
2018-04-20scsi: devinfo: use const_ilog2 for array indicesMartin Wilck1-1/+1
2018-04-05Merge tag 'scsi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/j...Linus Torvalds1-0/+11
2018-03-13bsg: split handling of SCSI CDBs vs transport requeuesChristoph Hellwig1-2/+1
2018-02-15scsi: core: host template attribute groupsStanislav Nijnikov1-0/+11
2018-01-31Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-3/+0
2017-12-18scsi: core: check for device state in __scsi_remove_target()Hannes Reinecke1-1/+4
2017-12-14scsi: core: Use blist_flags_t consistentlyBart Van Assche1-2/+3
2017-12-07scsi: dh: Remove scsi_dh_remove_device()Bart Van Assche1-3/+0
2017-11-14Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-7/+38
2017-10-17scsi: scsi: Export blacklist flags to sysfsHannes Reinecke1-0/+37
2017-10-06scsi: fixup kernel warning during rmmod()Hannes Reinecke1-2/+8
2017-09-25scsi: scsi_dh: suppress errors from unsupported devicesHannes Reinecke1-7/+1
2017-08-29scsi: Rework handling of scsi_device.vpd_pg8[03]Bart Van Assche1-9/+20
2017-08-25scsi: Convert a strncmp() call into a strcmp() callBart Van Assche1-1/+1
2017-08-24scsi: scsi-sysfs: Adjust error returned for adapter reset requestweiping zhang1-0/+2
2017-07-01scsi: Add STARGET_CREATED_REMOVE state to scsi_target_stateEwan D. Milne1-2/+6
2017-06-12scsi: Make __scsi_remove_device go straight from BLOCKED to DELBart Van Assche1-0/+10
2017-06-12scsi: Protect SCSI device state changes with a mutexBart Van Assche1-5/+19
2016-12-14scsi: avoid a permanent stop of the scsi device's request queueWei Fang1-4/+0
2016-04-15Revert "scsi: fix soft lockup in scsi_remove_target() on module removal"Johannes Thumshirn1-4/+2
2016-04-15scsi: Add intermediate STARGET_REMOVE state to scsi_target_stateJohannes Thumshirn1-0/+2
2016-04-11scsi: disable automatic target scanHannes Reinecke1-1/+2
2016-03-29scsi: Declare local symbols staticBart Van Assche1-3/+5
2016-03-10scsi_sysfs: Fix typo in is_bin_visible()Hannes Reinecke1-1/+1
2016-03-05scsi_sysfs: call 'device_add' after attaching device handlerHannes Reinecke1-7/+8
2016-03-05scsi: Add 'access_state' and 'preferred_path' attributeHannes Reinecke1-0/+74
2016-03-05scsi_sysfs: add 'is_bin_visible' callbackHannes Reinecke1-0/+17
2016-02-11scsi: fix soft lockup in scsi_remove_target() on module removalJames Bottomley1-2/+4
2016-01-07Merge branch 'jejb-scsi' into miscJames Bottomley1-11/+11
2015-12-03Merge branch 'mkp-fixes' into fixesJames Bottomley1-0/+8
2015-12-02scsi: export 'wwid' to sysfsHannes Reinecke1-0/+17
2015-12-02scsi: ignore errors from scsi_dh_add_device()Hannes Reinecke1-3/+4
2015-12-02scsi_dh: move 'dh_state' sysfs attribute to generic codeHannes Reinecke1-0/+58
2015-12-02Revert "scsi: Fix a bdi reregistration race"Bart Van Assche1-11/+3
2015-11-30scsi: rescan VPD attributesHannes Reinecke1-2/+6
2015-11-19scsi_sysfs: protect against double execution of __scsi_remove_device()Vitaly Kuznetsov1-0/+8
2015-11-13Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-16/+40
2015-11-12Merge tag '4.4-scsi-mkp' into miscJames Bottomley1-0/+24
2015-11-09scsi_sysfs: Fix queue_ramp_up_period return codePeter Oberparleiter1-1/+1
2015-11-09scsi: Fix a bdi reregistration raceBart Van Assche1-3/+11
2015-11-09scsi_sysfs: Fix queue_ramp_up_period return codePeter Oberparleiter1-1/+1
2015-11-09scsi: Export SCSI Inquiry data to sysfsJohannes Thumshirn1-0/+24
2015-11-05scsi: restart list search after unlock in scsi_remove_targetChristoph Hellwig1-12/+4
2015-10-27scsi_dh: fix use-after-free when removing scsi deviceJunichi Nomura1-0/+2
2015-08-28scsi_dh: integrate into the core SCSI codeChristoph Hellwig1-0/+10
2015-07-16scsi: fix host max depth checking for the 'queue_depth' sysfs interfaceJens Axboe1-1/+1
2014-12-04scsi: remove ->change_queue_type methodChristoph Hellwig1-26/+4
2014-11-24scsi: drop reason argument from ->change_queue_depthChristoph Hellwig1-2/+1
2014-11-24scsi: don't allow setting of queue_depth bigger than can_queueChristoph Hellwig1-1/+1
2014-11-12scsi: remove ordered_tags scsi_device fieldChristoph Hellwig1-6/+7
2014-09-15scsi: balance out autopm get/put calls in scsi_sysfs_add_sdev()Subhash Jadavani1-4/+1
2014-09-15scsi: don't store LUN bits in CDB[1] for USB mass-storage devicesAlan Stern1-0/+12
2014-08-08drivers/scsi: replace strict_strto callsDaniel Walter1-2/+2
2014-07-25scsi: add support for a blk-mq based I/O path.Christoph Hellwig1-0/+2
2014-07-25scsi: fix the {host,target,device}_blocked counter messChristoph Hellwig1-1/+9
2014-07-25scsi: convert device_busy to atomic_tChristoph Hellwig1-1/+9
2014-07-25scsi: convert host_busy to atomic_tChristoph Hellwig1-1/+8
2014-07-17scsi: use 64-bit LUNsHannes Reinecke1-7/+7
2014-04-01Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-99/+143
2014-03-27[SCSI] Add EVPD page 0x83 and 0x80 to sysfsHannes Reinecke1-1/+33
2014-03-19[SCSI] scsi_sysfs: Implement 'is_visible' callbackHannes Reinecke1-91/+93
2014-03-15[SCSI] scsi_error: disable eh_deadline if no host_reset_handler is setHannes Reinecke1-1/+3
2014-03-15[SCSI] fix our current target reap infrastructureJames Bottomley1-6/+14
2014-02-07scsi: use device_remove_file_self() instead of device_schedule_callback()Tejun Heo1-13/+2
2013-12-19[SCSI] Set the minimum valid value of 'eh_deadline' as 0Ren Mingxin1-11/+25
2013-10-25[SCSI] Add 'eh_deadline' to limit SCSI EH runtimeHannes Reinecke1-0/+37
2013-10-25[SCSI] export device_busy for sdevJack Wang1-0/+2
2013-08-26[SCSI] Generate uevents on certain unit attention codesEwan D. Milne1-0/+10
2013-06-04[SCSI] Allow error handling timeout to be specifiedMartin K. Petersen1-0/+30
2012-11-30[SCSI] prevent stack buffer overflow in host_resetSasha Levin1-7/+4
2012-09-24[SCSI] scsi_remove_target: fix softlockup regression on hot removeDan Williams1-16/+14
2012-07-20[SCSI] fix hot unplug vs async scan raceDan Williams1-15/+26
2012-07-20[SCSI] Stop accepting SCSI requests before removing a deviceBart Van Assche1-2/+9
2012-07-20[SCSI] Fix device removal NULL pointer dereferenceBart Van Assche1-4/+1
2012-07-20[SCSI] add new SDEV_TRANSPORT_OFFLINE stateMike Christie1-0/+1
2011-08-27[SCSI] scsi: Added support for adapter and firmware resetVikas Chaudhary1-0/+38
2011-06-02[SCSI] Fix oops caused by queue refcounting failureJames Bottomley1-0/+1
2011-04-24[SCSI] put stricter guards on queue dead checksJames Bottomley1-8/+8
2011-03-15PM: Remove CONFIG_PM_OPSRafael J. Wysocki1-1/+1
2011-01-13Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jiko...Linus Torvalds1-2/+4
2011-01-03[SCSI] eliminate an unnecessary local variable from scsi_remove_target()Alan Stern1-4/+2
2010-12-22Merge branch 'master' into for-nextJiri Kosina1-1/+2
2010-11-26SCSI: improve two error messagesAlan Stern1-2/+4
2010-10-25[SCSI] Fix race when removing SCSI devicesChristof Schmitt1-1/+2
2010-09-10block/scsi: Provide a limit on the number of integrity segmentsMartin K. Petersen1-0/+2
2010-08-06SCSI: remove fake "address-of" expressionAlan Stern1-0/+2
2010-07-28[SCSI] implement runtime Power ManagementAlan Stern1-2/+18
2010-07-28[SCSI] convert to the new PM frameworkAlan Stern1-47/+1
2010-05-01[SCSI] fix sdev_rw_attr macro for scsi device sysfs entriesTomohiro Kusumi1-2/+2
2010-04-11[SCSI] don't reap targets upon device_add failureAlan Stern1-3/+0
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2010-02-26Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/raf...Linus Torvalds1-0/+4
2010-02-26PM: Allow SCSI devices to suspend/resume asynchronouslyRafael J. Wysocki1-0/+4
2010-02-18[SCSI] fix duplicate removal on error path in scsi_sysfs_add_sdevAlan Stern1-11/+7
2009-12-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6Linus Torvalds1-3/+41
2009-12-04[SCSI] add queue_depth ramp up codeVasu Dev1-2/+39
2009-12-04[SCSI] modify change_queue_depth to take in reason why it is being calledMike Christie1-1/+2
2009-11-26[SCSI] fix async scan add/remove race resulting in an oopsJames Bottomley1-36/+27
2009-10-13[SCSI] fix memory leak in initializationJames Bottomley1-5/+2
2009-09-15driver model: constify attribute groupsDavid Brownell1-2/+2
2009-06-21sd, sr: fix Driver 'sd' needs updating messageHannes Reinecke1-17/+0
2009-03-12[SCSI] scsi_sysfs: delete extra kernel-docRandy Dunlap1-1/+0
2009-01-02[SCSI] struct device - replace bus_id with dev_name(), dev_set_name()Kay Sievers1-7/+5
2008-10-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6Linus Torvalds1-0/+1
2008-10-09block: unify request timeout handlingJens Axboe1-2/+5
2008-10-03[SCSI] Update the SCSI state model to allow blocking in the created stateJames Bottomley1-0/+1
2008-07-26[SCSI] Host protection capabilitiesMartin K. Petersen1-0/+4
2008-06-05[SCSI] scsi_dh: add infrastructure for SCSI Device HandlersChandra Seetharaman1-0/+1
2008-05-23[SCSI] fix intermittent oops in scsi_bus_ueventJames Bottomley1-1/+6
2008-04-22[SCSI] bsg: add release callback supportFUJITA Tomonori1-1/+1
2008-04-22[SCSI] rework scsi_target allocationJames Bottomley1-0/+27
2008-04-22[SCSI] use default attributes for scsi_hostHannes Reinecke1-61/+23
2008-04-22[SCSI] add scsi_host and scsi_target to scsi_busHannes Reinecke1-5/+24
2008-04-19SCSI: convert struct class_device to struct deviceTony Jones1-65/+85
2008-03-26Revert "[SCSI] fix bsg queue oops with iscsi logout"James Bottomley1-1/+1
2008-03-13[SCSI] fix bsg queue oops with iscsi logoutMike Christie1-1/+1
2008-01-23[SCSI] add missing transport configure points for target and hostJames Bottomley1-0/+1
2008-01-02[SCSI] scsi_sysfs: restore prep_fn when ULD is removedJames Bottomley1-0/+17
2007-11-03SCSI: add asynchronous event notification APIJeff Garzik1-0/+47
2007-10-17[SCSI] make supported_mode default to initiator.James Bottomley1-4/+6
2007-10-15Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6Linus Torvalds1-85/+95
2007-10-12Driver core: change add_uevent_var to use a structKay Sievers1-7/+2
2007-10-12[SCSI] fix scsi_is_sdev_device() after switch to default sdev attributesKay Sievers1-1/+1
2007-10-12[SCSI] switch sdev sysfs attributes to default attributesKay Sievers1-84/+52
2007-10-12[SCSI] add supported_mode and active_mode attributes to the hostFUJITA Tomonori1-0/+42
2007-07-21[SCSI] bsg: make class backlinksJames Bottomley1-1/+1
2007-07-19[SCSI] bsg: separate bsg and SCSI (so SCSI can be modular)James Bottomley1-0/+13
2007-07-18[SCSI] small cleanupsAdrian Bunk1-1/+2
2007-05-22[SCSI] kill scsi host template suspend/resumeTejun Heo1-22/+3
2007-05-05Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6Linus Torvalds1-4/+50
2007-04-17[SCSI] modalias for scsi devicesMichael Tokarev1-0/+23