aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sd.c
AgeCommit message (Expand)AuthorFilesLines
2025-10-03Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-28/+30
2025-08-30scsi: sd: Make sd_revalidate_disk() return voidAbinash Singh1-6/+5
2025-08-30scsi: sd: Remove redundant printk() after kmalloc() failureAbinash Singh1-4/+1
2025-08-30scsi: sd: Fix build warning in sd_revalidate_disk()Abinash Singh1-22/+28
2025-08-13block: switch ->getgeo() to struct gendiskAl Viro1-4/+4
2025-08-13scsi: switch ->bios_param() to passing gendiskAl Viro1-2/+2
2025-08-06Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-1/+3
2025-07-31Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-9/+4
2025-07-28Merge tag 'vfs-6.17-rc1.fallocate' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+5
2025-07-25scsi: sd: Make sd shutdown issue START STOP UNIT appropriatelySalomon Dushimirimana1-1/+3
2025-06-24scsi: sd: Fix VPD page 0xb7 length checkjackysliu1-1/+1
2025-06-23scsi: sd: set max_hw_wzeroes_unmap_sectors if device supports SD_ZERO_*_UNMAPZhang Yi1-0/+5
2025-06-16scsi: core: Remember if a device is an ATA deviceDamien Le Moal1-9/+4
2025-05-12scsi: sd: Remove the stream_status member from scsi_stream_status_headerChristoph Hellwig1-1/+1
2025-01-20Merge tag 'for-6.14/io_uring-20250119' of git://git.kernel.dk/linuxLinus Torvalds1-2/+2
2025-01-17block: Add common atomic writes enable flagJohn Garry1-0/+1
2025-01-10block: add a queue_limits_commit_update_frozen helperChristoph Hellwig1-12/+5
2024-12-23scsi: add support for user-meta interfaceAnuj Gupta1-2/+2
2024-11-12block: remove the write_hint field from struct requestChristoph Hellwig1-3/+3
2024-10-02move asm/unaligned.h to linux/unaligned.hAl Viro1-1/+1
2024-09-29Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-2/+30
2024-09-19Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-1/+1
2024-09-12scsi: sd: Fix off-by-one error in sd_read_block_characteristics()Martin Wilck1-1/+1
2024-09-12scsi: sd: Retry START STOP UNIT commandsBart Van Assche1-0/+29
2024-09-12scsi: sd: Remove duplicate included header file linux/bio-integrity.hHongbo Li1-1/+0
2024-08-22scsi: sd: Ignore command SYNCHRONIZE CACHE error if format in progressYihang Li1-5/+7
2024-08-16scsi: sd: Do not attempt to configure discard unless LBPME is setMartin K. Petersen1-0/+3
2024-08-12scsi: sd: Don't check if a write for REQ_ATOMICJohn Garry1-1/+1
2024-08-02scsi: sd: Keep the discard mode stableLi Feng1-4/+2
2024-08-01scsi: sd: Move sd_read_cpr() out of the q->limits_lock regionShin'ichiro Kawasaki1-1/+8
2024-07-29Merge branch '6.11/scsi-queue' into 6.11/scsi-fixesMartin K. Petersen1-2/+3
2024-07-22scsi: Revert "scsi: sd: Do not repeat the starting disk message"Johan Hovold1-2/+3
2024-07-22Merge tag 'for-6.11/block-post-20240722' of git://git.kernel.dk/linuxLinus Torvalds1-1/+2
2024-07-15Merge tag 'for-6.11/block-20240710' of git://git.kernel.dk/linuxLinus Torvalds1-144/+229
2024-07-10Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/...Linus Torvalds1-3/+2
2024-07-04scsi: sd: Do not repeat the starting disk messageDamien Le Moal1-3/+2
2024-07-03block: split integrity support out of bio.hChristoph Hellwig1-1/+2
2024-07-03Merge tag 'v6.10-rc6' into for-6.11/block-postJens Axboe1-5/+16
2024-06-21Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/...Linus Torvalds1-0/+4
2024-06-20scsi: sd: Atomic write supportJohn Garry1-1/+92
2024-06-19block: move the add_random flag to queue_limitsChristoph Hellwig1-8/+3
2024-06-19block: move the nonrot flag to queue_limitsChristoph Hellwig1-2/+2
2024-06-19block: move cache control settings out of queue->flagsChristoph Hellwig1-9/+19
2024-06-19sd: move zone limits setup out of sd_read_block_characteristicsChristoph Hellwig1-20/+1
2024-06-19sd: remove sd_is_zonedChristoph Hellwig1-5/+1
2024-06-14Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/...Linus Torvalds1-5/+12
2024-06-14block: move integrity information into queue_limitsChristoph Hellwig1-3/+5
2024-06-14block: add special APIs for run-time disabling of discard and friendsChristoph Hellwig1-2/+2
2024-06-14sd: convert to the atomic queue limits APIChristoph Hellwig1-57/+73
2024-06-14sd: factor out a sd_discard_mode helperChristoph Hellwig1-17/+20
2024-06-14sd: simplify the disable case in sd_config_discardChristoph Hellwig1-2/+1
2024-06-14sd: add a sd_disable_write_same helperChristoph Hellwig1-2/+8
2024-06-14sd: add a sd_disable_discard helperChristoph Hellwig1-2/+8
2024-06-14sd: simplify the ZBC case in provisioning_mode_storeChristoph Hellwig1-5/+4
2024-06-14block: take io_opt and io_min into account for max_sectorsChristoph Hellwig1-24/+5
2024-06-13scsi: core: Introduce the BLIST_SKIP_IO_HINTS flagBart Van Assche1-0/+4
2024-06-05scsi: sd: Use READ(16) when reading block zero on large capacity disksMartin K. Petersen1-5/+12
2024-05-28sd: also set max_user_sectors when setting max_sectorsChristoph Hellwig1-1/+3
2024-05-14Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-1/+0
2024-05-13Merge tag 'for-6.10/block-20240511' of git://git.kernel.dk/linuxLinus Torvalds1-8/+0
2024-04-24scsi: sd: Only print updates to permanent stream countJohn Garry1-1/+3
2024-04-17scsi: sd: Use the block layer zone append emulationDamien Le Moal1-8/+0
2024-04-05scsi: sd: Drop driver owner initializationKrzysztof Kozlowski1-1/+0
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