aboutsummaryrefslogtreecommitdiffstats
path: root/block
AgeCommit message (Expand)AuthorFilesLines
2024-03-01block: Fix WARNING in _copy_from_iterChristian A. Ehrhardt1-3/+10
2024-02-23block: fix partial zone append completion handling in req_bio_endio()Damien Le Moal1-2/+7
2024-02-16block: treat poll queue enter similarly to timeoutsJens Axboe1-1/+10
2024-02-16blk-iocost: Fix an UBSAN shift-out-of-bounds warningTejun Heo1-0/+7
2024-02-05blk-mq: fix IO hang from sbitmap wakeup raceMing Lei1-0/+16
2024-02-05block: prevent an integer overflow in bvec_try_merge_hw_pageChristoph Hellwig1-1/+1
2024-01-31block: Move checking GENHD_FL_NO_PART to bdev_add_partition()Li Lingfeng2-2/+5
2024-01-25block: Remove special-casing of compound pagesMatthew Wilcox (Oracle)1-15/+23
2024-01-25block: ensure we hold a queue reference when using queue limitsJens Axboe1-6/+10
2024-01-25block: add check that partition length needs to be aligned with block sizeMin Li1-4/+7
2024-01-25block: make BLK_DEF_MAX_SECTORS unsignedKeith Busch1-1/+1
2024-01-25block: add check of 'minors' and 'first_minor' in device_add_disk()Li Nan1-1/+3
2024-01-25block: Set memalloc_noio to false on device_add_disk() error pathLi Nan1-0/+1
2024-01-20blk-mq: don't count completed flush data request as inflight in case of quiesceMing Lei1-1/+13
2024-01-10block: update the stable_writes flag in bdev_addChristoph Hellwig1-0/+2
2024-01-10blk-mq: make sure active queue usage is held for bio_integrity_prep()Christoph Hellwig1-37/+38
2024-01-10block: Don't invalidate pagecache for invalid falloc modesSarthak Kukreti1-5/+16
2023-12-20blk-cgroup: bypass blkcg_deactivate_policy after destroyingMing Lei1-0/+13
2023-12-20blk-throttle: fix lockdep warning of "cgroup_mutex or RCU read lock required!"Ming Lei1-0/+2
2023-11-20blk-core: use pr_warn_ratelimited() in bio_check_ro()Yu Kuai1-2/+2
2023-11-02blk-throttle: check for overflow in calculate_bytes_allowedKhazhismel Kumykov1-0/+6
2023-10-10block: fix use-after-free of q->q_usage_counterMing Lei1-2/+1
2023-09-23block: factor out a bvec_set_page helperChristoph Hellwig2-16/+3
2023-09-19blk-throttle: consider 'carryover_ios/bytes' in throtl_trim_slice()Yu Kuai1-8/+13
2023-09-19blk-throttle: use calculate_io/bytes_allowed() for throtl_trim_slice()Yu Kuai1-45/+41
2023-09-13block: don't add or resize partition on the disk with GENHD_FL_NO_PARTLi Lingfeng1-0/+2
2023-09-13block/mq-deadline: use correct way to throttling write requestsZhiguo Niu1-1/+2
2023-09-13block: don't allow enabling a cache on devices that don't support itChristoph Hellwig2-6/+12
2023-09-13block: cleanup queue_wc_storeChristoph Hellwig1-11/+3
2023-08-23blk-crypto: dynamically allocate fallback profileSweet Tea Dorminy1-13/+23
2023-08-03blk-mq: Fix stall due to recursive flush plugRoss Lagerwall2-3/+9
2023-07-23blk-crypto: use dynamic lock class for blk_crypto_profile::lockEric Biggers1-2/+10
2023-07-19block/partition: fix signedness issue for Amiga partitionsMichael Schmitz1-1/+1
2023-07-19block: increment diskseq on all media change eventsDemi Marie Obenour1-0/+1
2023-07-19block: add overflow checks for Amiga partition supportMichael Schmitz1-18/+85
2023-07-19block: fix signed int overflow in Amiga partition supportMichael Schmitz1-4/+5
2023-07-19block: fix blktrace debugfs entries leakageYu Kuai1-1/+4
2023-07-19blk-mq: fix potential io hang by wrong 'wake_batch'Yu Kuai3-8/+12
2023-07-19blk-iocost: use spin_lock_irqsave in adjust_inuse_and_calc_costLi Nan1-3/+4
2023-06-14blk-mq: fix blk_mq_hw_ctx active request accountingTian Lan1-4/+4
2023-06-09block: fix revalidate performance regressionDamien Le Moal1-1/+2
2023-06-09block: Deny writable memory mapping if block is read-onlyLoic Poulain1-1/+11
2023-06-05block: fix bio-cache for passthru IOAnuj Gupta1-1/+1
2023-06-05blk-mq: fix race condition in active queue accountingTian Lan1-4/+8
2023-05-24block, bfq: Fix division by zero error on zero wsumColin Ian King1-0/+2
2023-05-17block: Skip destroyed blkg when restart in blkg_destroy_all()Tao Su1-0/+3
2023-05-11block/blk-iocost (gcc13): keep large values in a new enumJiri Slaby (SUSE)1-0/+2
2023-05-11blk-iocost: avoid 64-bit division in ioc_timer_fnArnd Bergmann1-3/+5
2023-05-11blk-mq: don't plug for head insertions in blk_execute_rq_nowaitChristoph Hellwig1-1/+1
2023-05-11blk-crypto: make blk_crypto_evict_key() more robustEric Biggers2-33/+41
2023-05-11blk-crypto: make blk_crypto_evict_key() return voidEric Biggers1-11/+9
2023-05-11blk-mq: release crypto keyslot before reporting I/O completeEric Biggers4-17/+49
2023-05-11blk-crypto: Add a missing include directiveBart Van Assche1-0/+1
2023-05-11blk-crypto: move internal only declarations to blk-crypto-internal.hChristoph Hellwig1-0/+12
2023-05-11blk-crypto: add a blk_crypto_config_supported_natively helperChristoph Hellwig1-9/+12
2023-05-11blk-crypto: don't use struct request_queue for public interfacesChristoph Hellwig1-10/+14
2023-05-11blk-stat: fix QUEUE_FLAG_STATS clearChengming Zhou1-2/+2
2023-04-13blk-throttle: Fix that bps of child could exceed bps limited in parentKemeng Shi1-1/+1
2023-04-13block: don't set GD_NEED_PART_SCAN if scan partition failedYu Kuai1-1/+7
2023-04-13blk-mq: directly poll requestsKeith Busch1-3/+1
2023-03-22block: do not reverse request order when flushing plug listJan Kara1-2/+3
2023-03-17block: fix wrong mode for blkdev_put() from disk_scan_partitions()Yu Kuai1-1/+1
2023-03-17block: fix scan partition for exclusively open device againYu Kuai2-5/+27
2023-03-17block: Revert "block: Do not reread partition table on exclusively open device"Yu Kuai3-13/+9
2023-03-11Revert "blk-cgroup: dropping parent refcount after pd_free_fn() is done"Greg Kroah-Hartman1-2/+2
2023-03-11Revert "blk-cgroup: synchronize pd_free_fn() from blkg_free_workfn() and blkc...Greg Kroah-Hartman1-29/+6
2023-03-10block: be a bit more careful in checking for NULL bdev while pollingJens Axboe1-2/+8
2023-03-10block: clear bio->bi_bdev when putting a bio back in the cacheJens Axboe1-0/+1
2023-03-10block: don't allow multiple bios for IOCB_NOWAIT issueJens Axboe1-3/+18
2023-03-10blk-cgroup: synchronize pd_free_fn() from blkg_free_workfn() and blkcg_deacti...Yu Kuai1-6/+29
2023-03-10blk-cgroup: dropping parent refcount after pd_free_fn() is doneYu Kuai1-2/+2
2023-03-10blk-iocost: fix divide by 0 error in calc_lcoefs()Li Nan1-3/+8
2023-03-10block: use proper return value from bio_failfast()Jens Axboe1-1/+1
2023-03-10block: bio-integrity: Copy flags when bio_integrity_payload is clonedMartin K. Petersen1-0/+1
2023-03-10block: Fix io statistics for cgroup in throttle pathJinke Han1-11/+12
2023-03-10block: sync mixed merged request's failfast with 1st bio'sMing Lei1-2/+33
2023-03-10blk-mq: correct stale comment of .get_budgetKemeng Shi1-2/+2
2023-03-10blk-mq: Fix potential io hung for shared sbitmap per tagsetKemeng Shi1-2/+4
2023-03-10blk-mq: wait on correct sbitmap_queue in blk_mq_mark_tag_waitKemeng Shi1-1/+5
2023-03-10blk-mq: remove stale comment for blk_mq_sched_mark_restart_hctxKemeng Shi1-2/+1
2023-03-10blk-mq: avoid sleep in blk_mq_alloc_request_hctxKemeng Shi1-1/+2
2023-02-09block, bfq: fix uaf for bfqq in bic_set_bfqq()Yu Kuai2-2/+4
2023-02-09block, bfq: replace 0/1 with false/true in bic apisYu Kuai2-6/+6
2023-02-06block: fix hctx checks for batch allocationPavel Begunkov1-1/+5
2023-02-06blk-cgroup: fix missing pd_online_fn() while activating policyYu Kuai1-0/+4
2023-01-24block: mq-deadline: Rename deadline_is_seq_writes()Damien Le Moal1-2/+2
2023-01-18block: handle bio_split_to_limits() NULL returnJens Axboe2-2/+7
2023-01-12block: don't allow splitting of a REQ_NOWAIT bioJens Axboe1-0/+10
2023-01-07block: mq-deadline: Do not break sequential write streams to zoned HDDsDamien Le Moal1-4/+62
2023-01-07block: mq-deadline: Fix dd_finish_request() for zoned devicesDamien Le Moal1-2/+15
2023-01-04block: Do not reread partition table on exclusively open deviceJan Kara3-8/+13
2023-01-04block, bfq: fix uaf for bfqq in bfq_exit_icq_bfqqYu Kuai1-1/+1
2022-12-31blk-iolatency: Fix memory leak on add_disk() failuresTejun Heo1-0/+2
2022-12-31blk-mq: fix possible memleak when register 'hctx' failedYe Bin1-2/+9
2022-12-31blk-mq: avoid double ->queue_rq() because of early timeoutDavid Jeffery1-12/+44
2022-12-31block, bfq: fix possible uaf for 'bfqq->bic'Yu Kuai1-1/+6
2022-12-31block: clear ->slave_dir when dropping the main slave_dir referenceChristoph Hellwig1-0/+2
2022-12-31bfq: fix waker_bfqq inconsistency crashKhazhismel Kumykov1-2/+7
2022-11-25Merge tag 'block-6.1-2022-11-25' of git://git.kernel.dk/linuxLinus Torvalds1-1/+6
2022-11-22blk-mq: fix queue reference leak on blk_mq_alloc_disk_for_queue failureChristoph Hellwig1-1/+6
2022-11-18Merge tag 'block-6.1-2022-11-18' of git://git.kernel.dk/linuxLinus Torvalds4-6/+7
2022-11-16block: make blk_set_default_limits() privateKeith Busch2-1/+1
2022-11-16block: make dma_alignment a stacking queue_limitKeith Busch2-4/+5
2022-11-14blk-cgroup: properly pin the parent in blkcg_css_onlineChris Mason1-1/+1
2022-11-11Merge tag 'block-6.1-2022-11-11' of git://git.kernel.dk/linuxLinus Torvalds2-4/+32
2022-11-08block: sed-opal: kmalloc the cmd/resp buffersSerge Semin1-4/+28
2022-11-08block, bfq: fix null pointer dereference in bfq_bio_bfqg()Yu Kuai1-0/+4
2022-11-05Merge tag 'block-6.1-2022-11-05' of git://git.kernel.dk/linuxLinus Torvalds2-3/+3
2022-10-31block: blk_add_rq_to_plug(): clear stale 'last' after flushAl Viro1-0/+1
2022-10-31blk-mq: Fix kmemleak in blk_mq_init_allocated_queueChen Jun1-3/+1
2022-10-31block: Fix possible memory leak for rq_wb on add_disk failureChen Zhongjin1-0/+1
2022-10-29Merge tag 'block-6.1-2022-10-28' of git://git.kernel.dk/linuxLinus Torvalds2-5/+14
2022-10-28blk-mq: Properly init requests from blk_mq_alloc_request_hctx()John Garry1-1/+6
2022-10-22block: fix memory leak for elevator on add_disk failureYu Kuai1-4/+8
2022-10-21Merge tag 'block-6.1-2022-10-20' of git://git.kernel.dk/linuxLinus Torvalds3-7/+6
2022-10-20bio: safeguard REQ_ALLOC_CACHE bio putPavel Begunkov1-1/+1
2022-10-20block, bfq: remove unused variable for bfq_queueYuwei Guan1-4/+0
2022-10-16blk-mq: fix null pointer dereference in blk_mq_clear_rq_mapping()Yu Kuai1-2/+5
2022-10-16Merge tag 'random-6.1-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+1
2022-10-13Merge tag 'block-6.1-2022-10-13' of git://git.kernel.dk/linuxLinus Torvalds3-3/+9
2022-10-11treewide: use get_random_bytes() when possibleJason A. Donenfeld1-1/+1
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds2-0/+9
2022-10-10Merge tag 'cgroup-for-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-2/+2
2022-10-10Merge branch 'for-6.1/block' into block-6.1Jens Axboe3-3/+9
2022-10-10block: fix leaking minors of hidden disksChristoph Hellwig1-0/+7
2022-10-09blk-wbt: fix that 'rwb->wc' is always set to 1 in wbt_init()Yu Kuai1-2/+1
2022-10-07Merge tag 'for-6.1/passthrough-2022-10-04' of git://git.kernel.dk/linuxLinus Torvalds3-38/+230
2022-10-07Merge tag 'for-6.1/block-2022-10-03' of git://git.kernel.dk/linuxLinus Torvalds32-456/+532
2022-10-07Merge tag 'for-6.1/io_uring-2022-10-03' of git://git.kernel.dk/linuxLinus Torvalds1-1/+2
2022-10-06block: Remove the repeat word 'can'Deming Wang1-1/+1
2022-10-03Merge tag 'statx-dioalign-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-0/+23
2022-10-03block: kmsan: skip bio block merging logic for KMSANAlexander Potapenko1-0/+2
2022-10-03kmsan: disable physical page merging in biovecAlexander Potapenko1-0/+7
2022-09-30block: extend functionality to map bvec iteratorKanchan Joshi1-4/+71
2022-09-30block: factor out blk_rq_map_bio_alloc helperKanchan Joshi1-11/+22
2022-09-30block: rename bio_map_put to blk_mq_map_bio_putAnuj Gupta1-3/+3
2022-09-30block: add blk_rq_map_user_ioAnuj Gupta1-0/+36
2022-09-30block: allow end_io based requests in the completion batch handlingJens Axboe1-2/+11
2022-09-30block: change request end_io handler to pass back a return valueJens Axboe2-8/+16
2022-09-30block: enable batched allocation for blk_mq_alloc_request()Jens Axboe1-9/+71
2022-09-30block: kill deprecated BUG_ON() in the flush handlingJens Axboe1-1/+0
2022-09-30Merge branch 'for-6.1/io_uring' into for-6.1/passthroughJens Axboe1-1/+2
2022-09-30Merge branch 'for-6.1/block' into for-6.1/passthroughJens Axboe32-456/+532
2022-09-29block: add rationale for not using blk_mq_plug() when applicablePankaj Raghav2-0/+12
2022-09-29block: adapt blk_mq_plug() to not plug for writes that require a zone lockPankaj Raghav2-7/+5
2022-09-27blk-cgroup: don't update the blkg lookup hint in blkg_conf_prepChristoph Hellwig1-13/+4
2022-09-27blk-mq: use quiesced elevator switch when reinitializing queuesKeith Busch3-7/+6
2022-09-27block: replace blk_queue_nowait with bdev_nowaitChristoph Hellwig1-1/+1
2022-09-26blk-cgroup: pass a gendisk to the blkg allocation helpersChristoph Hellwig1-28/+28
2022-09-26blk-cgroup: pass a gendisk to blkcg_schedule_throttleChristoph Hellwig3-6/+8
2022-09-26blk-cgroup: pass a gendisk to blkg_destroy_allChristoph Hellwig1-9/+4
2022-09-26blk-throttle: pass a gendisk to blk_throtl_cancel_biosChristoph Hellwig3-4/+5
2022-09-26blk-throttle: pass a gendisk to blk_throtl_register_queueChristoph Hellwig3-4/+5
2022-09-26blk-throttle: pass a gendisk to blk_throtl_init and blk_throtl_exitChristoph Hellwig3-9/+12
2022-09-26blk-iocost: cleanup ioc_qos_writeChristoph Hellwig1-6/+8
2022-09-26blk-iocost: pass a gendisk to blk_iocost_initChristoph Hellwig1-3/+4
2022-09-26blk-iocost: simplify ioc_nameChristoph Hellwig1-9/+5
2022-09-26blk-iolatency: pass a gendisk to blk_iolatency_initChristoph Hellwig3-4/+5
2022-09-26blk-ioprio: pass a gendisk to blk_ioprio_init and blk_ioprio_exitChristoph Hellwig3-10/+10
2022-09-26blk-cgroup: pass a gendisk to blkcg_init_queue and blkcg_exit_queueChristoph Hellwig3-26/+12
2022-09-26blk-cgroup: remove blkg_lookup_checkChristoph Hellwig1-26/+10
2022-09-26blk-cgroup: cleanup the blkg_lookup family of functionsChristoph Hellwig2-50/+27
2022-09-26blk-cgroup: remove open coded blkg_lookup instancesChristoph Hellwig2-7/+7
2022-09-26blk-cgroup: remove blk_queue_root_blkgChristoph Hellwig2-15/+1
2022-09-26blk-cgroup: fix error unwinding in blkcg_init_queueChristoph Hellwig1-6/+7
2022-09-24Merge tag 'block-6.0-2022-09-22' of git://git.kernel.dk/linuxLinus Torvalds1-1/+2
2022-09-24blk-mq: don't redirect completion for hctx withs only one ctx mappingLiu Song1-3/+5
2022-09-24blk-throttle: improve bypassing bios checkingsYu Kuai2-7/+28
2022-09-24blk-throttle: remove THROTL_TG_HAS_IOPS_LIMITYu Kuai2-21/+3
2022-09-23Merge branch 'for-6.0-fixes' into for-6.1Tejun Heo1-23/+4
2022-09-21block/blk-rq-qos: delete useless enmu RQ_QOS_IOPRIOLi Jinlin2-3/+0
2022-09-21block: export blk_rq_is_pollKanchan Joshi1-1/+2
2022-09-21blk-wbt: call rq_qos_add() after wb_normal is initializedYu Kuai1-5/+4
2022-09-20blk-iocost: Remove unnecessary (void*) conversionsLi zeming1-1/+1
2022-09-20block: remove PSI accounting from the bio layerChristoph Hellwig2-25/+0
2022-09-20block: fix comment typo in submit_bio of block-core.c.Ping-Xiang Chen1-1/+1
2022-09-20Revert "block: freeze the queue earlier in del_gendisk"Christoph Hellwig1-1/+2
2022-09-16Merge tag 'block-6.0-2022-09-16' of git://git.kernel.dk/linux-blockLinus Torvalds2-5/+10
2022-09-15blk-lib: fix blkdev_issue_secure_eraseMikulas Patocka1-3/+8
2022-09-13block: blk_queue_enter() / __bio_queue_enter() must return -EAGAIN for nowaitStefan Roesch1-2/+2
2022-09-12blk-throttle: cleanup tg_update_disptime()Yu Kuai1-4/+7
2022-09-12blk-throttle: calling throtl_dequeue/enqueue_tg in pairsYu Kuai1-2/+2
2022-09-12blk-throttle: use 'READ/WRITE' instead of '0/1'Yu Kuai1-3/+3
2022-09-12blk-throttle: fix io hung due to configuration updatesYu Kuai2-6/+61
2022-09-12blk-throttle: factor out code to calculate ios/bytes_allowedYu Kuai1-24/+35
2022-09-12blk-throttle: prevent overflow while calculating wait timeYu Kuai1-5/+3
2022-09-12blk-throttle: fix that io throttle can only work for single bioYu Kuai3-17/+7
2022-09-12sbitmap: fix batched wait_cnt accountingKeith Busch1-1/+1
2022-09-11vfs: support STATX_DIOALIGN on block devicesEric Biggers1-0/+23
2022-09-09Merge tag 'block-6.0-2022-09-09' of git://git.kernel.dk/linux-blockLinus Torvalds2-0/+5
2022-09-09block: add missing request flags to debugfs codeJens Axboe1-0/+2
2022-09-05block: remove unneeded return value of bio_check_ro()Miaohe Lin1-7/+3
2022-09-05blk-mq: remove unneeded needs_restart checkMiaohe Lin1-1/+1
2022-09-05block/blk-map: Remove set but unused variable 'added'Jiapeng Chong1-2/+1
2022-09-04blk-throttle: clean up codes that can't be reachedYu Kuai1-34/+56
2022-09-04Revert "sbitmap: fix batched wait_cnt accounting"Jens Axboe1-1/+1
2022-09-03block: don't add partitions if GD_SUPPRESS_PART_SCAN is setMing Lei1-0/+3
2022-09-02block: enable per-cpu bio caching for the fs bio setJens Axboe1-1/+2
2022-09-01sbitmap: fix batched wait_cnt accountingKeith Busch1-1/+1
2022-08-26cgroup: Homogenize cgroup_get_from_id() return valueMichal Koutný1-2/+2