aboutsummaryrefslogtreecommitdiffstats
path: root/block
AgeCommit message (Expand)AuthorFilesLines
2024-02-16block: sed-opal: handle empty atoms when parsing responseGreg Joyce2-1/+6
2024-02-08blk-iocost: Fix an UBSAN shift-out-of-bounds warningTejun Heo1-0/+7
2024-02-06blk-wbt: Fix detection of dirty-throttled tasksJan Kara1-2/+2
2024-02-01block: Fix where bio IO priority gets setHongyu Jin2-10/+10
2024-01-23block: Fix WARNING in _copy_from_iterChristian A. Ehrhardt1-3/+10
2024-01-22block: Move checking GENHD_FL_NO_PART to bdev_add_partition()Li Lingfeng2-2/+5
2024-01-18Merge tag 'for-6.8/block-2024-01-18' of git://git.kernel.dk/linuxLinus Torvalds8-62/+44
2024-01-17blk-mq: Remove the hctx 'run' debugfs attributeBart Van Assche2-20/+0
2024-01-16block: bio-integrity: fix kcalloc() arguments orderDmitry Antipov1-1/+1
2024-01-15block: Correct a documentation comment in blk-cgroup.cNicky Chorley1-1/+1
2024-01-12block: ensure we hold a queue reference when using queue limitsJens Axboe1-6/+10
2024-01-12blk-mq: rename blk_mq_can_use_cached_rqChristoph Hellwig1-3/+6
2024-01-12block: print symbolic error name instead of error codeChristian Heusel1-2/+2
2024-01-12blk-mq: fix IO hang from sbitmap wakeup raceMing Lei1-0/+16
2024-01-11Merge tag 'for-6.8/block-2024-01-08' of git://git.kernel.dk/linuxLinus Torvalds17-185/+320
2024-01-10block: fix partial zone append completion handling in req_bio_endio()Damien Le Moal1-2/+7
2024-01-10block/iocost: silence warning on 'last_period' potentially being unusedJens Axboe1-1/+1
2024-01-09Merge tag 'mm-stable-2024-01-08-15-31' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-4/+19
2024-01-08block: move __get_task_ioprio() into header fileJens Axboe1-26/+0
2024-01-08Merge tag 'vfs-6.8.super' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds2-107/+171
2024-01-08block: Treat sequential write preferred zone type as invalidDamien Le Moal1-1/+1
2024-01-08block: remove disk_clear_zonedChristoph Hellwig1-21/+0
2024-01-04blk-cgroup: fix rcu lockdep warning in blkg_lookup()Ming Lei1-1/+2
2024-01-04blk-cgroup: don't use removal safe list iteratorsDaniel Vacek1-2/+2
2024-01-04block: floor the discard granularity to the physical block sizeChristoph Hellwig1-0/+3
2023-12-29fs: convert block_write_full_page to block_write_full_folioMatthew Wilcox (Oracle)1-3/+18
2023-12-29Merge tag 'block-6.7-2023-12-29' of git://git.kernel.dk/linuxLinus Torvalds1-2/+4
2023-12-29block: default the discard granularity to sector sizeChristoph Hellwig1-1/+4
2023-12-29block: remove two comments in bio_split_discardChristoph Hellwig1-5/+1
2023-12-28block: Fix a memory leak in bdev_open_by_dev()Christophe JAILLET1-2/+4
2023-12-27block: rename and document BLK_DEF_MAX_SECTORSChristoph Hellwig2-2/+2
2023-12-26blk-wbt: remove the separate write cache trackingChristoph Hellwig3-18/+2
2023-12-26block: reject invalid operation in submit_bio_noacctChristoph Hellwig1-5/+21
2023-12-23badblocks: avoid checking invalid range in badblocks_check()Coly Li1-2/+4
2023-12-20block: export disk_clear_zoned()Jens Axboe1-0/+1
2023-12-19block: simplify disk_set_zonedChristoph Hellwig3-24/+13
2023-12-19block: remove support for the host aware zone modelChristoph Hellwig3-75/+13
2023-12-19block: add check of 'minors' and 'first_minor' in device_add_disk()Li Nan1-1/+3
2023-12-18block: skip cgroups for passthrough ioKundan Kumar1-0/+3
2023-12-15block: support adding less than len in bio_add_hw_pageChristoph Hellwig1-1/+4
2023-12-15block: prevent an integer overflow in bvec_try_merge_hw_pageChristoph Hellwig1-1/+1
2023-12-14block: Use pr_info() instead of printk(KERN_INFO ...)Bart Van Assche1-8/+4
2023-12-13block: add check that partition length needs to be aligned with block sizeMin Li1-4/+7
2023-12-13block: Set memalloc_noio to false on device_add_disk() error pathLi Nan1-0/+1
2023-12-10fs: convert error_remove_page to error_remove_folioMatthew Wilcox (Oracle)1-1/+1
2023-12-07block: Remove special-casing of compound pagesMatthew Wilcox (Oracle)1-22/+24
2023-12-01block: skip QUEUE_FLAG_STATS and rq-qos for passthrough ioKundan Kumar2-2/+3
2023-12-01block: bio-integrity: directly map user buffersKeith Busch1-2/+216
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