aboutsummaryrefslogtreecommitdiffstats
path: root/block
AgeCommit message (Expand)AuthorFilesLines
2024-01-08Merge tag 'vfs-6.8.super' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds2-107/+171
2023-12-29Merge tag 'block-6.7-2023-12-29' of git://git.kernel.dk/linuxLinus Torvalds1-2/+4
2023-12-28block: Fix a memory leak in bdev_open_by_dev()Christophe JAILLET1-2/+4
2023-12-23badblocks: avoid checking invalid range in badblocks_check()Coly Li1-2/+4
2023-12-02Merge tag 'block-6.7-2023-12-01' of git://git.kernel.dk/linuxLinus Torvalds3-4/+26
2023-12-01blk-mq: don't count completed flush data request as inflight in case of quiesceMing Lei1-1/+13
2023-11-29block: Document the role of the two attribute groupsBart Van Assche1-0/+2
2023-11-28block: warn once for each partition in bio_check_ro()Yu Kuai1-3/+11
2023-11-24Merge tag 'vfs-6.7-rc3.fixes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+2
2023-11-20block: Remove blk_set_runtime_active()Damien Le Moal1-28/+5
2023-11-20block: update the stable_writes flag in bdev_addChristoph Hellwig1-0/+2
2023-11-18block: Add config option to not allow writing to mounted devicesJan Kara2-1/+94
2023-11-18block: Remove blkdev_get_by_*() functionsJan Kara1-64/+30
2023-11-18bdev: implement freeze and thaw holder operationsChristian Brauner1-33/+32
2023-11-18bdev: surface the error from sync_blockdev()Christian Brauner1-1/+1
2023-11-18bdev: rename freeze and thaw helpersChristian Brauner1-9/+13
2023-11-17blk-cgroup: bypass blkcg_deactivate_policy after destroyingMing Lei1-0/+13
2023-11-17blk-cgroup: avoid to warn !rcu_read_lock_held() in blkg_lookup()Ming Lei1-2/+0
2023-11-17blk-throttle: fix lockdep warning of "cgroup_mutex or RCU read lock required!"Ming Lei1-0/+2
2023-11-13blk-mq: make sure active queue usage is held for bio_integrity_prep()Christoph Hellwig1-37/+38
2023-11-07blk-core: use pr_warn_ratelimited() in bio_check_ro()Yu Kuai1-2/+2
2023-11-02Merge tag 'mm-nonmm-stable-2023-11-02-14-08' of git://git.kernel.org/pub/scm/...Linus Torvalds1-3/+3
2023-11-01Merge tag 'for-6.7/block-2023-10-30' of git://git.kernel.dk/linuxLinus Torvalds8-384/+1465
2023-10-30Merge tag 'vfs-6.7.super' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs...Linus Torvalds6-58/+142
2023-10-28block: assert that we're not holding open_mutex over blk_report_disk_deadChristian Brauner1-0/+7
2023-10-28block: move bdev_mark_dead out of disk_check_media_changeChristoph Hellwig2-16/+11
2023-10-28block: WARN_ON_ONCE() when we remove active partitionsChristian Brauner1-13/+17
2023-10-28block: simplify bdev_del_partition()Christian Brauner1-1/+12
2023-10-28fs: Avoid grabbing sb->s_umount under bdev->bd_holder_lockJan Kara2-4/+6
2023-10-28block: Use bdev_open_by_dev() in disk_scan_partitions() and blkdev_bszset()Jan Kara2-8/+10
2023-10-28block: Use bdev_open_by_dev() in blkdev_open()Jan Kara2-16/+31
2023-10-28block: Provide bdev_open_* functionsJan Kara1-0/+48
2023-10-20blk-throttle: check for overflow in calculate_bytes_allowedKhazhismel Kumykov1-0/+6
2023-10-18treewide: mark stuff as __ro_after_initAlexey Dobriyan1-3/+3
2023-10-17powerpc/pseries: PLPKS SED Opal keystore supportGreg Joyce1-0/+1
2023-10-17block: sed-opal: keystore access for SED Opal keysGreg Joyce1-2/+16
2023-10-13block: Fix regression in sed-opal for a saved key.Milan Broz1-4/+3
2023-10-11block: Don't invalidate pagecache for invalid falloc modesSarthak Kukreti1-5/+16
2023-10-04partitions/ibm: Introduce defines for magic string length valuesJan Höppner1-9/+13
2023-10-04partitions/ibm: Replace strncpy() and improve readabilityJan Höppner1-25/+61
2023-10-04partitions/ibm: Remove unnecessary memsetJan Höppner1-2/+0
2023-09-26badblocks: switch to the improved badblock handling codeColy Li1-305/+3
2023-09-26badblocks: improve badblocks_check() for multiple ranges handlingColy Li1-0/+97
2023-09-26badblocks: improve badblocks_clear() for multiple ranges handlingColy Li1-0/+325
2023-09-26badblocks: improve badblocks_set() for multiple ranges handlingColy Li1-20/+544
2023-09-26badblocks: add helper routines for badblock ranges handlingColy Li1-0/+386
2023-09-26block: fix kernel-doc for disk_force_media_change()Randy Dunlap1-1/+0
2023-09-22blk-mq: update driver tags request table when start requestChengming Zhou2-3/+1
2023-09-22blk-mq: support batched queue_rqs() on shared tags queueChengming Zhou1-6/+1
2023-09-22blk-mq: remove RQF_MQ_INFLIGHTChengming Zhou3-14/+2
2023-09-22blk-mq: account active requests when get driver tagChengming Zhou2-36/+53
2023-09-18block: correct stale comment in rq_qos_waitKemeng Shi1-1/+1
2023-09-11blk-mq: fix tags UAF when shrinking q->nr_hw_queuesChengming Zhou1-6/+7
2023-09-06block: fix pin count management when merging same-page segmentsChristoph Hellwig1-4/+3
2023-08-31block: don't add or resize partition on the disk with GENHD_FL_NO_PARTLi Lingfeng1-0/+2
2023-08-31block: remove the call to file_remove_privs in blkdev_write_iterChristoph Hellwig1-4/+0
2023-08-30blk-throttle: consider 'carryover_ios/bytes' in throtl_trim_slice()Yu Kuai1-8/+13
2023-08-30blk-throttle: use calculate_io/bytes_allowed() for throtl_trim_slice()Yu Kuai1-45/+41
2023-08-30blk-throttle: fix wrong comparation while 'carryover_ios/bytes' is negativeYu Kuai1-6/+5
2023-08-30blk-throttle: print signed value 'carryover_bytes/ios' for userYu Kuai2-3/+3
2023-08-29Merge tag 'for-6.6/block-2023-08-28' of git://git.kernel.dk/linuxLinus Torvalds16-216/+579
2023-08-28Merge tag 'v6.6-vfs.super' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds5-80/+71
2023-08-23Merge tag 'vfs-6.6-merge-2' of ssh://gitolite.kernel.org/pub/scm/fs/xfs/xfs-l...Christian Brauner7-62/+97
2023-08-22block: use strscpy() to instead of strncpy()Xu Panda1-8/+4
2023-08-22block: sed-opal: keyring support for SED keysGreg Joyce2-2/+174
2023-08-22block: sed-opal: Implement IOC_OPAL_REVERT_LSPGreg Joyce2-0/+44
2023-08-22block: sed-opal: Implement IOC_OPAL_DISCOVERYGreg Joyce1-3/+35
2023-08-22blk-mq: prealloc tags when increase tagset nr_hw_queuesChengming Zhou1-0/+10
2023-08-22blk-mq: delete redundant tagset map update when fallbackChengming Zhou1-1/+0
2023-08-22blk-mq: fix tags leak when shrink nr_hw_queuesChengming Zhou1-1/+5
2023-08-21block: call into the file system for ioctl BLKFLSBUFChristoph Hellwig2-17/+8
2023-08-21block: call into the file system for bdev_mark_deadChristoph Hellwig2-41/+33
2023-08-21block: consolidate __invalidate_device and fsync_bdevChristoph Hellwig4-13/+32
2023-08-21block: drop the "busy inodes on changed media" log messageChristoph Hellwig1-6/+2
2023-08-21block: simplify the disk_force_media_change interfaceChristoph Hellwig1-11/+4
2023-08-19Merge tag 'block-6.5-2023-08-19' of git://git.kernel.dk/linuxLinus Torvalds4-16/+48
2023-08-19blk-mq: release scheduler resource when request completesChengming Zhou2-3/+23
2023-08-18blk-crypto: dynamically allocate fallback profileSweet Tea Dorminy1-13/+23
2023-08-18blk-cgroup: hold queue_lock when removing blkg->q_nodeMing Lei1-0/+2
2023-08-17blk-cgroup: Fix NULL deref caused by blkg_policy_data being installed before ...Tejun Heo1-14/+18
2023-08-14block: Bring back zero_fill_bio_iterKent Overstreet1-3/+3
2023-08-14block: Allow bio_iov_iter_get_pages() with bio->bi_bdev unsetKent Overstreet1-4/+6
2023-08-14block: Add some exports for bcachefsKent Overstreet3-1/+3
2023-08-11Merge tag 'block-6.5-2023-08-11' of git://git.kernel.dk/linuxLinus Torvalds3-11/+7
2023-08-10block: fix bad lockdep annotation in blk-iolatencyJens Axboe1-1/+1
2023-08-10block: remove init_mutex and open-code blk_iolatency_try_initLi Lingfeng1-24/+11
2023-08-09bio-integrity: create multi-page bvecs in bio_integrity_add_page()Jinyoung Choi1-7/+24
2023-08-09bio-integrity: cleanup adding integrity pages to bip's bvec.Jinyoung Choi1-13/+3
2023-08-09bio-integrity: update the payload size in bio_integrity_add_page()Jinyoung Choi1-1/+1
2023-08-09block: make bvec_try_merge_hw_page() non-staticJinyoung Choi2-1/+5
2023-08-09blk-iocost: fix queue stats accountingChengming Zhou1-2/+3
2023-08-09block: don't make REQ_POLLED imply REQ_NOWAITJens Axboe1-3/+4
2023-08-08block: get rid of unused plug->nowait flagJens Axboe1-6/+0
2023-08-08block/mq-deadline: use correct way to throttling write requestsZhiguo Niu1-1/+2
2023-08-02fs: add CONFIG_BUFFER_HEADChristoph Hellwig1-10/+60
2023-08-02block: use iomap for writes to block devicesChristoph Hellwig2-2/+30
2023-08-02block: stop setting ->direct_IOChristoph Hellwig1-2/+1
2023-08-02block: open code __generic_file_write_iter for blkdev writesChristoph Hellwig1-2/+43
2023-07-25block: cleanup bio_integrity_prepJinyoung Choi1-5/+1
2023-07-24block: Improve performance for BLK_MQ_F_BLOCKING driversBart Van Assche1-6/+10
2023-07-24block: don't pass a bio to bio_try_merge_hw_segChristoph Hellwig1-9/+7
2023-07-24block: move the bi_size update out of __bio_try_merge_pageChristoph Hellwig1-37/+20
2023-07-24block: downgrade a bio_full call in bio_add_pageChristoph Hellwig1-1/+1
2023-07-24block: move the bi_size overflow check in __bio_try_merge_pageChristoph Hellwig1-4/+5
2023-07-24block: move the bi_vcnt check out of __bio_try_merge_pageChristoph Hellwig1-23/+22
2023-07-24block: move the BIO_CLONED checks out of __bio_try_merge_pageChristoph Hellwig1-3/+6
2023-07-24block: use SECTOR_SHIFT bio_add_hw_pageChristoph Hellwig1-1/+1
2023-07-24block: tidy up the bio full checks in bio_add_hw_pageChristoph Hellwig1-6/+4
2023-07-22Merge tag 'block-6.5-2023-07-21' of git://git.kernel.dk/linuxLinus Torvalds3-3/+13
2023-07-20block: refactor to use helperNitesh Shetty1-3/+1
2023-07-20blk-iocost: skip empty flush bio in iocostChengming Zhou1-0/+4
2023-07-17fs: distinguish between user initiated freeze and kernel initiated freezeDarrick J. Wong1-4/+4
2023-07-17blk-flush: reuse rq queuelist in flush state machineChengming Zhou1-7/+10
2023-07-17blk-flush: count inflight flush_data requestsChengming Zhou2-7/+7
2023-07-17blk-flush: fix rq->flush.seq for post-flush requestsChengming Zhou1-1/+1
2023-07-17blk-mq: use percpu csd to remote complete instead of per-rq csdChengming Zhou1-6/+6
2023-07-17block: don't allow enabling a cache on devices that don't support itChristoph Hellwig2-6/+12
2023-07-17block: cleanup queue_wc_storeChristoph Hellwig1-11/+3
2023-07-14Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/...Linus Torvalds1-36/+50
2023-07-14blk-mq: Fix stall due to recursive flush plugRoss Lagerwall2-3/+9
2023-07-14block: queue data commands from the flush state machine at the headChristoph Hellwig1-1/+1
2023-07-13blk-mq: fix start_time_ns and alloc_time_ns for pre-allocated rqChengming Zhou1-17/+30
2023-07-12block/mq-deadline: Fix a bug in deadline_from_pos()Bart Van Assche1-1/+1
2023-07-11Merge branch '6.5/scsi-staging' into 6.5/scsi-fixesMartin K. Petersen1-36/+50
2023-07-05scsi: block: Improve checks in blk_revalidate_disk_zones()Damien Le Moal1-36/+50
2023-07-05blk-crypto: use dynamic lock class for blk_crypto_profile::lockEric Biggers1-2/+10
2023-07-05block/partition: fix signedness issue for Amiga partitionsMichael Schmitz1-1/+1
2023-07-03Merge tag 'block-6.5-2023-07-03' of git://git.kernel.dk/linuxLinus Torvalds8-143/+160
2023-06-30Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds4-9/+13
2023-06-28block: add request polling helperKeith Busch1-16/+32
2023-06-28Merge branch 'for-6.5/block-late' into block-6.5Jens Axboe8-127/+128
2023-06-28Merge tag 'mm-stable-2023-06-24-19-15' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-15/+3
2023-06-26Merge tag 'for-6.5/block-2023-06-23' of git://git.kernel.dk/linuxLinus Torvalds32-632/+1152
2023-06-26Merge tag 'for-6.5/io_uring-2023-06-23' of git://git.kernel.dk/linuxLinus Torvalds1-1/+4
2023-06-26Merge tag 'for-6.5/splice-2023-06-23' of git://git.kernel.dk/linuxLinus Torvalds1-1/+1
2023-06-26blk-sysfs: add a new attr_group for blk_mqYu Kuai1-11/+31
2023-06-26blk-iocost: move wbt_enable/disable_default() out of spinlockYu Kuai1-2/+5
2023-06-26blk-wbt: cleanup rwb_enabled() and wbt_disabled()Yu Kuai1-3/+2
2023-06-26blk-wbt: remove dead code to handle wbt enable/disable with io inflightYu Kuai1-16/+0
2023-06-26blk-wbt: don't create wbt sysfs entry if CONFIG_BLK_WBT is disabledYu Kuai2-88/+74
2023-06-25blk-mq: fix two misuses on RQF_USE_SCHEDMing Lei1-1/+5
2023-06-25blk-throttle: Fix io statistics for cgroup v1Jinke Han3-8/+13
2023-06-22block: don't return -EINVAL for not found names in devt_from_devnameChristoph Hellwig1-2/+2
2023-06-22block: make sure local irq is disabled when calling __blkcg_rstat_flushMing Lei1-2/+3
2023-06-21block: Improve kernel-doc headersBart Van Assche2-1/+3
2023-06-21blk-mq: don't insert passthrough request into sw queueMing Lei1-1/+6
2023-06-21bsg: make bsg_class a static const structureIvan Orlov1-7/+11
2023-06-21block: fix the exclusive open mask in disk_scan_partitionsChristoph Hellwig1-1/+1
2023-06-20block: add overflow checks for Amiga partition supportMichael Schmitz1-18/+85
2023-06-20block: fix signed int overflow in Amiga partition supportMichael Schmitz1-4/+5
2023-06-20block: add capacity validation in bdev_add_partition()Min Li1-0/+11
2023-06-20block: fine-granular CAP_SYS_ADMIN for Persistent ReservationJingbo Xu1-19/+22
2023-06-20block: disallow Persistent Reservation on partitionsJingbo Xu1-5/+17
2023-06-20block: fix wrong mode for blkdev_get_by_dev() from disk_scan_partitions()Yu Kuai1-1/+2
2023-06-20block: document the holder argument to blkdev_get_by_pathChristoph Hellwig1-0/+1
2023-06-20block: increment diskseq on all media change eventsDemi Marie Obenour1-0/+1
2023-06-16Merge patch series "scsi: fixes for targets with many LUNs, and scsi_target_b...Martin K. Petersen1-1/+1
2023-06-16scsi: bsg: Increase number of devicesHannes Reinecke1-1/+1
2023-06-16blk-mq: fix NULL dereference on q->elevator in blk_mq_elv_switch_noneMing Lei1-3/+7
2023-06-16block: remove BIO_PAGE_REFFEDChristoph Hellwig1-2/+0
2023-06-16scsi: block: Improve ioprio value validity checksDamien Le Moal1-0/+1
2023-06-14block: fix blktrace debugfs entries leakageYu Kuai1-1/+4
2023-06-14blk-mq: check on cpu id when there is only one ctx mappingEd Tsai1-2/+3
2023-06-12blk-mq: fix potential io hang by wrong 'wake_batch'Yu Kuai3-8/+12
2023-06-12block: store the holder in file->private_dataChristoph Hellwig1-6/+8
2023-06-12block: always use I_BDEV on file->f_mapping->host to find the bdevChristoph Hellwig1-10/+8
2023-06-12block: replace fmode_t with a block-specific type for block open flagsChristoph Hellwig6-65/+68
2023-06-12block: remove unused fmode_t arguments from ioctl handlersChristoph Hellwig3-12/+12
2023-06-12block: move a few internal definitions out of blkdev.hChristoph Hellwig1-2/+21
2023-06-12scsi: replace the fmode_t argument to ->sg_io_fn with a simple boolChristoph Hellwig2-4/+6
2023-06-12block: use the holder as indication for exclusive opensChristoph Hellwig4-24/+29
2023-06-12block: rename blkdev_close to blkdev_releaseChristoph Hellwig1-2/+2
2023-06-12block: remove the unused mode argument to ->releaseChristoph Hellwig1-7/+7
2023-06-12block: pass a gendisk to ->openChristoph Hellwig1-1/+1
2023-06-12block: pass a gendisk on bdev_check_media_changeChristoph Hellwig1-9/+9
2023-06-12block: also call ->open for incremental partition opensChristoph Hellwig1-10/+8
2023-06-11blk-cgroup: Flush stats before releasing blkcg_gqMing Lei1-9/+31
2023-06-09filemap: add a kiocb_write_and_wait helperChristoph Hellwig1-15/+3
2023-06-09block: fix rootwait= againChristoph Hellwig1-1/+1
2023-06-07block: fix rootwait=Christoph Hellwig1-2/+2
2023-06-07blk-cgroup: Reinit blkg_iostat_set after clearing in blkcg_reset_stats()Waiman Long1-0/+5
2023-06-07blk-ioc: fix recursive spin_lock/unlock_irq() in ioc_clear_queue()Yu Kuai1-2/+2
2023-06-06blk-ioprio: Introduce promote-to-rt policyHou Tao1-3/+20
2023-06-05blk-iocost: use spin_lock_irqsave in adjust_inuse_and_calc_costLi Nan1-3/+4
2023-06-05block: mark early_lookup_bdev as __initChristoph Hellwig1-10/+9
2023-06-05block: move more code to early-lookup.cChristoph Hellwig2-92/+92
2023-06-05block: move the code to do early boot lookup of block devices to block/Christoph Hellwig2-1/+225
2023-06-05block: add a mark_dead holder operationChristoph Hellwig1-0/+24
2023-06-05block: introduce holder opsChristoph Hellwig4-16/+36
2023-06-05block: remove blk_drop_partitionsChristoph Hellwig1-12/+4
2023-06-05block: delete partitions later in del_gendiskChristoph Hellwig3-13/+32
2023-06-05block: unhash the inode earlier in delete_partitionChristoph Hellwig1-6/+6
2023-06-05block: avoid repeated work in blk_mark_disk_deadChristoph Hellwig1-1/+3
2023-06-05block: consolidate the shutdown logic in blk_mark_disk_dead and del_gendiskChristoph Hellwig1-14/+12
2023-06-05block: turn bdev_lock into a mutexChristoph Hellwig1-14/+13
2023-06-05block: refactor bd_may_claimChristoph Hellwig1-18/+22
2023-06-05block: factor out a bd_end_claim helper from blkdev_putChristoph Hellwig1-30/+33
2023-06-03blk-mq: fix blk_mq_hw_ctx active request accountingTian Lan1-4/+4
2023-06-01block: Replace all non-returning strlcpy with strscpyAzeem Shaikh3-3/+3
2023-06-01blk-ioc: protect ioc_destroy_icq() by 'queue_lock'Yu Kuai1-17/+13