aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sd.c
AgeCommit message (Expand)AuthorFilesLines
9 daysscsi: sd: Only print updates to permanent stream countJohn Garry1-1/+3
2024-04-01scsi: sd: Unregister device if device_add_disk() failed in sd_probe()Li Nan1-1/+1
2024-03-25scsi: sd: Fix TCG OPAL unlock on system resumeDamien Le Moal1-4/+19
2024-03-22Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-3/+108
2024-03-16Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-81/+139
2024-02-26scsi: sd: Translate data lifetime informationBart Van Assche1-3/+95
2024-02-26scsi: core: Query the Block Limits Extension VPD pageBart Van Assche1-0/+13
2024-02-14scsi: sd: usb_storage: uas: Access media prior to querying device propertiesMartin K. Petersen1-1/+25
2024-01-29Merge patch series "scsi: Allow scsi_execute users to request retries"Martin K. Petersen1-80/+138
2024-01-29scsi: sd: Have midlayer retry read_capacity_10() errorsMike Christie1-23/+39
2024-01-29scsi: sd: Have pr commands retry UAsMike Christie1-0/+28
2024-01-29scsi: sd: Have midlayer retry sd_sync_cache() errorsMike Christie1-18/+17
2024-01-29scsi: sd: Have midlayer retry sd_spinup_disk() errorsMike Christie1-32/+45
2024-01-29scsi: sd: Use separate buf for START_STOP in sd_spinup_disk()Mike Christie1-7/+9
2024-01-23scsi: core: Move autosuspend timer delay to Scsi_HostPeter Wang1-1/+1
2024-01-11Merge tag 'for-6.8/block-2024-01-08' of git://git.kernel.dk/linuxLinus Torvalds1-26/+23
2024-01-08sd: remove the !ZBC && blk_queue_is_zoned case in sd_read_block_characteristicsChristoph Hellwig1-4/+3
2023-12-27block: rename and document BLK_DEF_MAX_SECTORSChristoph Hellwig1-1/+1
2023-12-19sd: only call disk_clear_zoned when neededChristoph Hellwig1-1/+1
2023-12-19block: simplify disk_set_zonedChristoph Hellwig1-2/+5
2023-12-19block: remove support for the host aware zone modelChristoph Hellwig1-25/+20
2023-11-24scsi: sd: Fix system start for ATA devicesDamien Le Moal1-1/+8
2023-11-14Merge branch '6.7/scsi-staging' into 6.7/scsi-fixesMartin K. Petersen1-30/+23
2023-11-08scsi: sd: Fix sshdr use in sd_suspend_common()Mike Christie1-30/+23
2023-11-02Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-21/+27
2023-11-01Merge tag 'ata-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dlem...Linus Torvalds1-6/+3
2023-10-27scsi: sd: Introduce manage_shutdown device flagDamien Le Moal1-3/+36
2023-10-16scsi: core: Handle depopulation and restoration in progressDouglas Gilbert1-0/+4
2023-10-13scsi: sd: Fix sshdr use in cache_type_storeMike Christie1-4/+5
2023-10-13scsi: sd: Fix scsi_mode_sense caller's sshdr useMike Christie1-2/+2
2023-10-13scsi: sd: Fix sshdr use in sd_spinup_diskMike Christie1-11/+13
2023-10-13scsi: sd: Fix sshdr use in read_capacity_16Mike Christie1-4/+3
2023-10-03scsi: Remove scsi device no_start_on_resume flagDamien Le Moal1-6/+3
2023-09-28scsi: sd: Do not issue commands to suspended disks on shutdownDamien Le Moal1-4/+13
2023-09-28scsi: sd: Differentiate system and runtime start/stop managementDamien Le Moal1-18/+72
2023-09-09Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-39/+27
2023-08-24scsi: sd: Remove the number of forward declarationsBart Van Assche1-39/+27
2023-08-02ata,scsi: do not issue START STOP UNIT on resumeDamien Le Moal1-3/+6
2023-06-30Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-44/+145
2023-06-12block: replace fmode_t with a block-specific type for block open flagsChristoph Hellwig1-9/+10
2023-06-12scsi: replace the fmode_t argument to scsi_ioctl with a simple boolChristoph Hellwig1-1/+1
2023-06-12block: remove the unused mode argument to ->releaseChristoph Hellwig1-2/+1
2023-06-12block: pass a gendisk to ->openChristoph Hellwig1-6/+6
2023-06-12block: pass a gendisk on bdev_check_media_changeChristoph Hellwig1-5/+4
2023-05-22Merge patch series "Add Command Duration Limits support"Martin K. Petersen1-16/+43
2023-05-22scsi: sd: Set read/write command CDL indexDamien Le Moal1-6/+34
2023-05-22scsi: core: Support Service Action in scsi_report_opcode()Damien Le Moal1-5/+5
2023-05-22scsi: core: Support retrieving sub-pages of mode pagesDamien Le Moal1-5/+4
2023-05-22Merge patch series "Use block pr_ops in LIO"Martin K. Petersen1-28/+102
2023-04-11scsi: Add support for block PR read keys/reservationMike Christie1-0/+91
2023-04-11scsi: Move sd_pr_type to scsi_commonMike Christie1-25/+8
2023-04-11scsi: Rename sd_pr_commandMike Christie1-6/+6
2023-04-03Merge 6.3-rc5 into driver-core-nextGreg Kroah-Hartman1-1/+6
2023-03-17drivers: remove struct module * setting from struct classGreg Kroah-Hartman1-1/+0
2023-03-06scsi: sd: Fix wrong zone_write_granularity value during revalidateShin'ichiro Kawasaki1-1/+6
2023-03-03Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-23/+6
2023-02-22Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-28/+55
2023-02-21scsi: sd: Update DIX config every time sd_revalidate_disk() is calledXingui Yang1-8/+5
2023-02-21scsi: sd: Remove unused sd_cdb_cacheFengnan Chang1-15/+1
2023-02-03sd: factor out a sd_set_special_bvec helperChristoph Hellwig1-19/+17
2023-01-13scsi: sd: Convert to scsi_execute_cmd()Mike Christie1-28/+55
2022-12-01scsi: sd: Convert SCSI errors to PR errorsMike Christie1-1/+34
2022-11-26scsi: sd: Use 16-byte SYNCHRONIZE CACHE on ZBC devicesShin'ichiro Kawasaki1-4/+12
2022-08-22scsi: sd: Revert "Rework asynchronous resume support"Bart Van Assche1-66/+18
2022-08-06Merge tag 'dma-mapping-5.20-2022-08-06' of git://git.infradead.org/users/hch/...Linus Torvalds1-0/+7
2022-08-04Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-18/+66
2022-07-22scsi: sd: Add a comment about limiting max_sectors to shost optimal limitJohn Garry1-0/+5
2022-07-19scsi: sd: allow max_sectors be capped at DMA optimal size limitJohn Garry1-0/+2
2022-07-07Merge branch '5.19/scsi-fixes' into 5.20/scsi-stagingMartin K. Petersen1-1/+1
2022-07-07scsi: sd: Rework asynchronous resume supportBart Van Assche1-18/+66
2022-07-06block: pass a gendisk to blk_queue_set_zonedChristoph Hellwig1-3/+3
2022-06-28block: simplify disk shutdownChristoph Hellwig1-2/+2
2022-06-07scsi: sd: Fix interpretation of VPD B9h lengthTyler Erickson1-1/+1
2022-06-05Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-3/+2
2022-06-01scsi: sd_zbc: Prevent zone information memory leakDamien Le Moal1-1/+1
2022-06-01scsi: sd: Fix potential NULL pointer dereferenceDamien Le Moal1-1/+0
2022-05-25Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-75/+118
2022-05-23scsi: sd: Don't call blk_cleanup_disk() in sd_probe()Christoph Hellwig1-1/+1
2022-05-02scsi: sd: Reorganize DIF/DIX code to avoid calling revalidate twiceMartin K. Petersen1-29/+33
2022-05-02scsi: sd: Optimal I/O size should be a multiple of reported granularityMartin K. Petersen1-4/+41
2022-05-02scsi: sd: Switch to using scsi_device VPD pagesMartin K. Petersen1-40/+40
2022-05-02scsi: sd: Use cached ATA Information VPD pageMartin K. Petersen1-3/+5
2022-04-17block: remove QUEUE_FLAG_DISCARDChristoph Hellwig1-2/+0
2022-04-06scsi: sd: Clean up gendisk if device_add_disk() failedWenchao Hao1-0/+1
2022-04-06scsi: sd: sd_read_cpr() requires VPD pagesMartin K. Petersen1-1/+1
2022-03-24Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-97/+12
2022-03-08sd: implement ->free_disk to simplify refcountingChristoph Hellwig1-74/+16
2022-03-08sd: delay calling free_opal_devChristoph Hellwig1-2/+1
2022-03-08sd: call sd_zbc_release_disk before releasing the scsi_device referenceChristoph Hellwig1-1/+1
2022-03-08sd: rename the scsi_disk.dev fieldChristoph Hellwig1-11/+11
2022-03-08scsi: don't use disk->private_data to find the scsi_driverChristoph Hellwig1-2/+1
2022-03-01scsi: core: sd: Add silence_suspend flag to suppress some PM messagesAdrian Hunter1-2/+4
2022-03-01scsi: core: Remove the cmd field from struct scsi_requestChristoph Hellwig1-27/+1
2022-02-22scsi: sd: Remove WRITE_SAME supportChristoph Hellwig1-68/+7
2022-02-02block: remove genhd.hChristoph Hellwig1-1/+0
2022-01-22Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-1/+1
2022-01-14Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-1/+0
2022-01-05scsi: core: Fix scsi_mode_select() interfaceDamien Le Moal1-1/+1
2021-11-29scsi: Remove superfluous #include <linux/async.h> directivesBart Van Assche1-1/+0
2021-11-29scsi: remove the gendisk argument to scsi_ioctlChristoph Hellwig1-1/+1
2021-11-29block: remove the ->rq_disk field in struct requestChristoph Hellwig1-12/+12
2021-11-29block: remove GENHD_FL_EXT_DEVTChristoph Hellwig1-1/+0
2021-11-05Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-7/+31
2021-11-01Merge tag 'for-5.16/passthrough-flag-2021-10-29' of git://git.kernel.dk/linux...Linus Torvalds1-0/+39
2021-11-01Merge tag 'for-5.16/scsi-ma-2021-10-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+81
2021-11-01Merge tag 'for-5.16/block-2021-10-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+1
2021-10-26scsi: sd: add concurrent positioning ranges supportDamien Le Moal1-0/+81
2021-10-22sd: implement ->get_unique_idChristoph Hellwig1-0/+39
2021-10-18scsi: sd: Add error handling support for add_disk()Luis Chamberlain1-1/+7
2021-10-18scsi: sd: Print write through due to no caching mode page as warningMartin Kepplinger1-2/+3
2021-10-18block: drop unused includes in <linux/genhd.h>Christoph Hellwig1-0/+1
2021-10-16scsi: sd: Fix crashes in sd_resume_runtime()Miles Chen1-1/+6
2021-10-16scsi: core: pm: Only runtime resume if necessaryBart Van Assche1-0/+6
2021-10-16scsi: sd: Rename sd_resume() into sd_resume_system()Bart Van Assche1-3/+8
2021-10-16scsi: core: pm: Rely on the device driver core for async power managementBart Van Assche1-1/+0
2021-10-12Merge branch '5.15/scsi-fixes' into 5.16/scsi-stagingMartin K. Petersen1-5/+9
2021-09-29scsi: sd: Fix sd_do_mode_sense() buffer length handlingDamien Le Moal1-0/+7
2021-09-14scsi: sd: Make sd_spinup_disk() less noisyHeiner Kallweit1-1/+4
2021-09-13scsi: sd: Free scsi_disk device via put_device()Ming Lei1-4/+5
2021-09-02Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-74/+51
2021-08-23block: pass a request_queue to __blk_alloc_diskChristoph Hellwig1-2/+2
2021-08-23block: remove the minors argument to __alloc_disk_nodeChristoph Hellwig1-1/+2
2021-08-23block: remove alloc_disk and alloc_disk_nodeChristoph Hellwig1-1/+2
2021-08-17scsi: sd: Do not exit sd_spinup_disk() quietlyChristian Loehle1-1/+3
2021-08-16sd: use bvec_virtChristoph Hellwig1-1/+1
2021-08-11scsi: sd: Use scsi_cmd_to_rq() instead of scsi_cmnd.requestBart Van Assche1-16/+17
2021-07-28scsi: scsi_ioctl: Call scsi_cmd_ioctl() from scsi_ioctl()Christoph Hellwig1-17/+1
2021-07-28scsi: scsi_ioctl: Remove scsi_verify_blk_ioctl()Christoph Hellwig1-6/+2
2021-07-28scsi: scsi_ioctl: Remove scsi_cmd_blk_ioctl()Christoph Hellwig1-1/+4
2021-07-28scsi: core: Remove scsi_compat_ioctl()Christoph Hellwig1-2/+0
2021-07-28scsi: sd: Consolidate compat ioctl handlingChristoph Hellwig1-45/+18
2021-07-21scsi: sd: REQUEST SENSE for BLIST_IGN_MEDIA_CHANGE devices in runtime_resume()Martin Kepplinger1-1/+21
2021-07-12sd: don't mess with SD_MINORS for CONFIG_DEBUG_BLOCK_EXT_DEVTChristoph Hellwig1-4/+0
2021-07-02Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-30/+33
2021-06-30Merge tag 'for-5.14/block-2021-06-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+2
2021-06-22scsi: sd: Call sd_revalidate_disk() for ioctl(BLKRRPART)Christoph Hellwig1-4/+18
2021-06-01block: move bd_mutex to struct gendiskChristoph Hellwig1-2/+2
2021-05-31scsi: core: Drop the now obsolete driver_byte definitionsHannes Reinecke1-5/+4
2021-05-31scsi: core: Kill DRIVER_SENSEHannes Reinecke1-16/+17
2021-05-31scsi: core: Stop using DRIVER_ERRORHannes Reinecke1-6/+9
2021-05-31scsi: core: Fixup calling convention for scsi_mode_sense()Hannes Reinecke1-6/+6
2021-04-15scsi: sd: Introduce a new local variable in sd_check_events()Bart Van Assche1-2/+3
2021-03-18scsi: sd: Fix function name in headerLee Jones1-1/+1
2021-02-22scsi: sd: Fix Opal supportBart Van Assche1-3/+3
2021-02-08scsi: sd: Warn if unsupported ZBC device is probedDamien Le Moal1-3/+5
2021-01-05scsi: sd: Remove obsolete variable in sd_remove()Lukas Bulwahn1-2/+0
2021-01-05scsi: sd: Suppress spurious errors when WRITE SAME is being disabledEwan D. Milne1-1/+3
2020-11-16block: remove the update_bdev parameter to set_capacity_revalidate_and_notifyChristoph Hellwig1-3/+2
2020-11-16sd: update the bdev size in sd_revalidate_diskChristoph Hellwig1-5/+3
2020-11-16sd: use __register_blkdev to avoid a modprobe for an unregistered dev_tChristoph Hellwig1-14/+5
2020-10-23Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-12/+15
2020-10-14Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-30/+71
2020-10-13Merge tag 'block-5.10-2020-10-12' of git://git.kernel.dk/linux-blockLinus Torvalds1-5/+8
2020-10-07scsi: core: Clean up allocation and freeing of sgtablesChristoph Hellwig1-12/+15
2020-10-02scsi: sd: Allow user to configure command retriesMike Christie1-30/+71
2020-09-15scsi: sd: sd_zbc: Fix ZBC disk initializationDamien Le Moal1-4/+0
2020-09-15scsi: sd: sd_zbc: Fix handling of host-aware ZBC disksDamien Le Moal1-12/+18
2020-09-10sd: use bdev_check_media_changeChristoph Hellwig1-3/+4
2020-09-02sd: open code revalidate_diskChristoph Hellwig1-2/+4
2020-08-04scsi: sd_zbc: Improve zone revalidationDamien Le Moal1-2/+8
2020-07-08scsi: sd: Fix kdoc comment formatDamien Le Moal1-1/+1
2020-06-05Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-0/+19
2020-05-19scsi: sd: Add zoned capabilities device attributeDamien Le Moal1-0/+16
2020-05-14scsi: sd: Signal drive managed SMR disksDamien Le Moal1-0/+3
2020-05-12scsi: sd_zbc: emulate ZONE_APPEND commandsJohannes Thumshirn1-1/+15
2020-03-30Merge tag 'for-5.7/block-2020-03-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+2
2020-03-24scsi: sd: Fix optimal I/O size for devices that change reported valuesMartin K. Petersen1-1/+3
2020-03-18scsi: Convert to use set_capacity_revalidate_and_notifyBalbir Singh1-1/+2
2020-01-29Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-31/+19
2020-01-26Merge tag 'block-5.5-2020-01-26' of git://git.kernel.dk/linux-blockLinus Torvalds1-4/+5
2020-01-26block: allow partitions on host aware zone devicesChristoph Hellwig1-4/+5
2020-01-10scsi: sd: Clear sdkp->protection_type if disk is reformatted without PIXiang Chen1-1/+3
2020-01-03compat_ioctl: scsi: move ioctl handling into driversArnd Bergmann1-31/+19
2019-12-08Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-7/+2
2019-12-02Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-0/+4
2019-12-01Merge tag 'compat-ioctl-5.5' of git://git.kernel.org:/pub/scm/linux/kernel/gi...Linus Torvalds1-2/+12
2019-11-26scsi: sd_zbc: Improve report zones error printoutDamien Le Moal1-7/+2
2019-11-07scsi: sd_zbc: add zone open, close, and finish supportAjay Joshi1-2/+13
2019-11-07Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/...Jens Axboe1-2/+4
2019-10-24scsi: sd: define variable dif as unsigned int instead of boolXiang Chen1-1/+2
2019-10-23scsi: sd: enable compat ioctls for sed-opalArnd Bergmann1-2/+12
2019-10-09Merge branch '5.4/scsi-fixes' into 5.5/scsi-queueMartin K. Petersen1-1/+2
2019-09-30scsi: sd: Ignore a failure to sync cache due to lack of authorizationOliver Neukum1-1/+2
2019-09-30scsi: core: allow auto suspend override by low-level driverStanley Chu1-0/+4
2019-09-24Merge tag 'for-5.4/post-2019-09-24' of git://git.kernel.dk/linux-blockLinus Torvalds1-8/+0
2019-09-21Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-0/+1
2019-09-17block: centralize PI remapping logic to the block layerMax Gurtovoy1-8/+0
2019-09-07scsi: sd: Improve unaligned completion resid messageDamien Le Moal1-0/+1
2019-08-04scsi: implement REQ_OP_ZONE_RESET_ALLChaitanya Kulkarni1-1/+4
2019-07-11Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-66/+45
2019-06-18scsi: sd: Inline sd_probe_part2()Bart Van Assche1-59/+44
2019-06-18scsi: sd: Rely on the driver core for asynchronous probingBart Van Assche1-9/+3
2019-05-24Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/...Linus Torvalds1-2/+1
2019-05-21scsi: sd: add a SPDX tag to sd.cChristoph Hellwig1-0/+1
2019-05-21treewide: Add SPDX license identifier for more missed filesThomas Gleixner1-0/+1
2019-05-20Revert "scsi: sd: Keep disk read-only when re-reading partition"Martin K. Petersen1-2/+1
2019-04-29scsi: sd: Revert "Rely on the driver core for asynchronous probing"Bart Van Assche1-3/+10
2019-04-29scsi: sd: Revert "Inline sd_probe_part2()"Bart Van Assche1-43/+58
2019-04-12Merge branch '5.1/scsi-fixes' into 5.2/mergeMartin K. Petersen1-6/+16
2019-04-12block: disk_events: introduce event flagsMartin Wilck1-0/+1