aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/block
AgeCommit message (Expand)AuthorFilesLines
2023-10-10block: fix use-after-free of q->q_usage_counterMing Lei2-2/+2
2023-09-19block: don't add or resize partition on the disk with GENHD_FL_NO_PARTLi Lingfeng1-0/+2
2023-09-19block: rename GENHD_FL_NO_PART_SCAN to GENHD_FL_NO_PARTChristoph Hellwig1-1/+1
2023-09-19block: move GENHD_FL_BLOCK_EVENTS_ON_EXCL_WRITE to disk->event_flagsChristoph Hellwig1-1/+1
2023-09-19block: move GENHD_FL_NATIVE_CAPACITY to disk->stateChristoph Hellwig1-9/+6
2023-07-23block/partition: fix signedness issue for Amiga partitionsMichael Schmitz1-1/+1
2023-07-23block: increment diskseq on all media change eventsDemi Marie Obenour1-0/+1
2023-07-23block: add overflow checks for Amiga partition supportMichael Schmitz1-18/+85
2023-07-23block: fix signed int overflow in Amiga partition supportMichael Schmitz1-4/+5
2023-07-23blk-iocost: use spin_lock_irqsave in adjust_inuse_and_calc_costLi Nan1-3/+4
2023-06-14blk-iocost: avoid 64-bit division in ioc_timer_fnArnd Bergmann1-3/+5
2023-06-09block: fix revalidate performance regressionDamien Le Moal1-1/+2
2023-06-09block/blk-iocost (gcc13): keep large values in a new enumJiri Slaby (SUSE)1-0/+2
2023-05-11blk-crypto: make blk_crypto_evict_key() more robustEric Biggers2-30/+42
2023-05-11blk-crypto: make blk_crypto_evict_key() return voidEric Biggers1-12/+10
2023-05-11blk-mq: release crypto keyslot before reporting I/O completeEric Biggers5-17/+43
2023-03-10block: don't allow multiple bios for IOCB_NOWAIT issueJens Axboe1-3/+18
2023-03-10blk-iocost: fix divide by 0 error in calc_lcoefs()Li Nan1-3/+8
2023-03-10block: bio-integrity: Copy flags when bio_integrity_payload is clonedMartin K. Petersen1-0/+1
2023-03-10blk-mq: correct stale comment of .get_budgetKemeng Shi1-2/+2
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-09block/bfq-iosched.c: use "false" rather than "BLK_RW_ASYNC"NeilBrown1-1/+1
2023-02-06blk-cgroup: fix missing pd_online_fn() while activating policyYu Kuai1-0/+4
2023-02-01block: fix and cleanup bio_check_roChristoph Hellwig1-6/+2
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-1/+5
2023-01-12block: don't allow splitting of a REQ_NOWAIT bioJens Axboe1-0/+10
2023-01-12block: mq-deadline: Fix dd_finish_request() for zoned devicesDamien Le Moal1-3/+15
2023-01-12block: mq-deadline: Do not break sequential write streams to zoned HDDsDamien Le Moal1-4/+62
2023-01-12block, bfq: fix uaf for bfqq in bfq_exit_icq_bfqqYu Kuai1-1/+1
2022-12-31blk-mq: fix possible memleak when register 'hctx' failedYe Bin1-2/+9
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-12-14block: move CONFIG_BLOCK guard to top MakefileMasahiro Yamada1-1/+1
2022-12-02block, bfq: fix null pointer dereference in bfq_bio_bfqg()Yu Kuai1-0/+4
2022-11-26block: sed-opal: kmalloc the cmd/resp buffersSerge Semin1-4/+28
2022-11-10block, bfq: protect 'bfqd->queued' by 'bfqd->lock'Yu Kuai1-1/+3
2022-11-10block: Fix possible memory leak for rq_wb on add_disk failureChen Zhongjin1-0/+1
2022-10-26blk-wbt: fix that 'rwb->wc' is always set to 1 in wbt_init()Yu Kuai1-2/+1
2022-10-26blk-throttle: prevent overflow while calculating wait timeYu Kuai1-5/+3
2022-10-26blk-wbt: call rq_qos_add() after wb_normal is initializedYu Kuai1-5/+4
2022-09-23block: blk_queue_enter() / __bio_queue_enter() must return -EAGAIN for nowaitStefan Roesch1-2/+2
2022-08-31blk-mq: fix io hung due to missing commit_rqsYu Kuai1-2/+3
2022-08-17block: don't allow the same type rq_qos add more than onceJinke Han4-16/+45
2022-08-17block: ensure iov_iter advances for added pagesKeith Busch1-4/+4
2022-08-17block/bio: remove duplicate append pages codeKeith Busch1-60/+42
2022-08-17blk-mq: don't create hctx debugfs dir until q->debugfs_dir is createdMing Lei1-0/+3
2022-08-17block: fix infinite loop for invalid zone appendKeith Busch1-3/+0
2022-08-11block: fix default IO priority handling againJan Kara2-2/+3
2022-07-12block: fix rq-qos breakage from skipping rq_qos_done_bio()Tejun Heo3-12/+13
2022-07-12block: only mark bio as tracked if it really is trackedJens Axboe1-2/+3
2022-07-12block: use bdev_get_queue() in bio.cPavel Begunkov1-5/+5
2022-06-22block: Fix handling of offline queues in blk_mq_alloc_request_hctx()Bart Van Assche1-0/+2
2022-06-14block: make bioset_exit() fully resilient against being called twiceJens Axboe1-0/+1
2022-06-14block: take destination bvec offsets into account in bio_copy_data_iterChristoph Hellwig1-3/+5
2022-06-14blk-mq: don't touch ->tagset in blk_mq_get_sq_hctxMing Lei1-4/+3
2022-06-09block: fix bio_clone_blkg_association() to associate with proper blkcg_gqJan Kara1-6/+2
2022-06-09blk-iolatency: Fix inflight count imbalances and IO hangs on offlineTejun Heo1-58/+64
2022-06-09bfq: Make sure bfqg for which we are queueing requests is onlineJan Kara1-3/+12
2022-06-09bfq: Get rid of __bio_blkcg() usageJan Kara3-52/+25
2022-06-09bfq: Track whether bfq_group is still onlineJan Kara2-1/+4
2022-06-09bfq: Remove pointless bfq_init_rq() callsJan Kara1-6/+6
2022-06-09bfq: Drop pointless unlock-lock pairJan Kara1-3/+0
2022-06-09bfq: Update cgroup information before merging bioJan Kara1-2/+9
2022-06-09bfq: Split shared queues on move between cgroupsJan Kara3-4/+35
2022-06-09bfq: Avoid merging queues with different parentsJan Kara1-0/+8
2022-06-09bfq: Avoid false marking of bic as stably mergedJan Kara1-3/+6
2022-06-09bfq: Allow current waker to defend against a tentative oneJan Kara1-2/+1
2022-06-09bfq: Relax waker detection for shared queuesJan Kara2-2/+4
2022-05-09iocost: don't reset the inuse weight of under-weighted debtorsTejun Heo1-1/+11
2022-04-27block/compat_ioctl: fix range check in BLKGETSIZEKhazhismel Kumykov1-1/+1
2022-04-27block: simplify the block device syncing codeChristoph Hellwig1-3/+14
2022-04-27block: remove __sync_blockdevChristoph Hellwig1-5/+6
2022-04-20block: fix offset/size check in bio_trim()Ming Lei1-1/+1
2022-04-08block: Fix the maximum minor value is blk_alloc_ext_minor()Christophe JAILLET1-1/+1
2022-04-08Revert "Revert "block, bfq: honor already-setup queue merges""Paolo Valente1-3/+13
2022-04-08bfq: fix use-after-free in bfq_dispatch_requestZhang Wensheng1-7/+8
2022-04-08block, bfq: don't move oom_bfqqYu Kuai1-0/+6
2022-04-08block/bfq_wf2q: correct weight to ioprioYahu Gao1-1/+1
2022-04-08block: don't delete queue kobject before its childrenEric Biggers1-3/+5
2022-04-08blk-cgroup: set blkg iostat after percpu stat aggregationChengming Zhou1-5/+5
2022-04-08block: don't merge across cgroup boundaries if blkcg is enabledTejun Heo1-0/+11
2022-04-08block: limit request dispatch loop durationShin'ichiro Kawasaki1-1/+8
2022-03-23block: release rq qos structures for queue without diskMing Lei1-0/+4
2022-03-16block: drop unused includes in <linux/genhd.h>Christoph Hellwig3-0/+3
2022-03-08block-map: add __GFP_ZERO flag for alloc_page in function bio_copy_kernHaimin Zhang1-1/+1
2022-02-23block: fix surprise removal for drivers calling blk_set_queue_dyingChristoph Hellwig2-8/+16
2022-02-23block/wbt: fix negative inflight counter when remove scsi deviceLaibin Qiu2-2/+2
2022-02-08block: bio-integrity: Advance seed correctly for larger interval sizesMartin K. Petersen1-1/+1
2022-02-01block: Fix wrong offset in bio_truncate()OGAWA Hirofumi1-1/+2
2022-02-01block: add bio_start_io_acct_time() to control start_timeMike Snitzer1-6/+19
2022-01-27block: Fix fsync always failed if once failedYe Bin1-1/+3
2022-01-27block: fix async_depth sysfs interface for mq-deadlineJens Axboe1-2/+2
2022-01-27block: check minor range in device_add_disk()Tetsuo Handa1-0/+2
2022-01-27scsi: block: pm: Always set request queue runtime active in blk_post_runtime_...Alan Stern1-15/+7
2022-01-27block: fix error unwinding in device_add_diskChristoph Hellwig1-7/+6
2022-01-27bfq: Do not let waker requests skip proper accountingJan Kara1-43/+1
2021-12-22iocost: Fix divide-by-zero on donation from low hweight cgroupTejun Heo1-1/+8
2021-12-14block: fix ioprio_get(IOPRIO_WHO_PGRP) vs setuid(2)Davidlohr Bueso1-0/+3
2021-12-01block: avoid to quiesce queue in elevator_init_mqMing Lei1-2/+8
2021-12-01blk-mq: cancel blk-mq dispatch work in both blk_cleanup_queue and disk_release()Ming Lei5-11/+20
2021-11-25block: Check ADMIN before NICE for IOPRIO_CLASS_RTAlistair Delva1-1/+8
2021-11-25blk-cgroup: fix missing put device in error path from blkg_conf_pref()Yu Kuai1-4/+5
2021-11-25blkcg: Remove extra blkcg_bio_issue_initLaibin Qiu1-3/+1
2021-11-18block: Hold invalidate_lock in BLKRESETZONE ioctlShin'ichiro Kawasaki1-10/+5
2021-11-18block: Hold invalidate_lock in BLKZEROOUT ioctlShin'ichiro Kawasaki1-3/+9
2021-11-18block: Hold invalidate_lock in BLKDISCARD ioctlShin'ichiro Kawasaki1-3/+9
2021-11-18block: fix device_add_disk() kobject_create_and_add() error handlingLuis Chamberlain1-2/+6
2021-11-18blk-cgroup: synchronize blkg creation against policy deactivationYu Kuai1-0/+10
2021-11-18blk-wbt: prevent NULL pointer dereference in wb_timer_fnAndrea Righi1-0/+3
2021-11-18block: remove inaccurate requeue checkJens Axboe1-1/+0
2021-11-18block: bump max plugged deferred size from 16 to 32Jens Axboe2-2/+8
2021-10-29Merge tag 'block-5.15-2021-10-29' of git://git.kernel.dk/linux-blockLinus Torvalds3-15/+40
2021-10-27block: Fix partition check for host-aware zoned block devicesShin'ichiro Kawasaki1-1/+19
2021-10-26block: schedule queue restart after BLK_STS_ZONE_RESOURCENaohiro Aota1-4/+9
2021-10-26block: drain queue after disk is removed from sysfsMing Lei1-10/+12
2021-10-22Merge tag 'block-5.15-2021-10-22' of git://git.kernel.dk/linux-blockLinus Torvalds2-2/+4
2021-10-18block: fix incorrect references to disk objectsZqiang1-0/+1
2021-10-17Merge tag 'block-5.15-2021-10-17' of git://git.kernel.dk/linux-blockLinus Torvalds6-75/+123
2021-10-17blk-cgroup: blk_cgroup_bio_start() should use irq-safe operations on blkg->io...Tejun Heo1-2/+3
2021-10-17block, bfq: reset last_bfqq_created on group changePaolo Valente1-0/+6
2021-10-17block: warn when putting the final reference on a registered diskChristoph Hellwig1-0/+1
2021-10-15kyber: avoid q->disk dereferences in trace pointsChristoph Hellwig1-4/+6
2021-10-15block: keep q_usage_counter in atomic mode after del_gendiskChristoph Hellwig3-2/+11
2021-10-15block: drain file system I/O on del_gendiskChristoph Hellwig3-15/+34
2021-10-15block: split bio_queue_enter from blk_queue_enterChristoph Hellwig1-8/+25
2021-10-15block: factor out a blk_try_enter_queue helperChristoph Hellwig1-28/+32
2021-10-15block: call submit_bio_checks under q_usage_counterChristoph Hellwig1-22/+12
2021-10-09Merge tag 'block-5.15-2021-10-09' of git://git.kernel.dk/linux-blockLinus Torvalds3-1/+3
2021-10-04block: decode QUEUE_FLAG_HCTX_ACTIVE in debugfs outputJohannes Thumshirn1-0/+1
2021-10-02Merge tag 'block-5.15-2021-10-01' of git://git.kernel.dk/linux-blockLinus Torvalds1-13/+3
2021-10-02block: genhd: fix double kfree() in __alloc_disk_node()Tetsuo Handa2-1/+2
2021-09-28Revert "block, bfq: honor already-setup queue merges"Jens Axboe1-13/+3
2021-09-25Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/...Linus Torvalds1-8/+15
2021-09-24block: hold ->invalidate_lock in blkdev_fallocateMing Lei1-11/+10
2021-09-24block: don't call rq_qos_ops->done_bio if the bio isn't trackedMing Lei1-1/+1
2021-09-15blk-cgroup: fix UAF by grabbing blkcg lock before destroying blkg pdLi Jinlin1-0/+8
2021-09-15blkcg: fix memory leak in blk_iolatency_initYanfei Xu1-4/+6
2021-09-14block: flush the integrity workqueue in blk_integrity_unregisterLihong Kou1-0/+3
2021-09-14block: check if a profile is actually registered in blk_integrity_unregisterChristoph Hellwig1-1/+5
2021-09-14scsi: bsg: Fix device unregistrationZenghui Yu1-8/+15
2021-09-12blk-mq: avoid to iterate over stale requestMing Lei1-1/+1
2021-09-11Merge tag 'block-5.15-2021-09-11' of git://git.kernel.dk/linux-blockLinus Torvalds7-4/+1722
2021-09-07blk-mq: allow 4x BLK_MAX_REQUEST_COUNT at blk_plug for multiple_queuesSong Liu1-1/+13
2021-09-07block: move fs/block_dev.c to block/bdev.cChristoph Hellwig2-1/+1059
2021-09-07block: split out operations on block special filesChristoph Hellwig3-1/+643
2021-09-07blk-throttle: fix UAF by deleteing timer in blk_throtl_exit()Li Jinlin1-0/+1
2021-09-07block: genhd: don't call blkdev_show() with major_names_lock heldTetsuo Handa1-2/+7
2021-09-06Merge tag 'block-5.15-2021-09-05' of git://git.kernel.dk/linux-blockLinus Torvalds3-10/+20
2021-09-03Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+1
2021-09-03mm: remove flush_kernel_dcache_pageChristoph Hellwig1-1/+1
2021-09-03bio: fix kerneldoc documentation for bio_alloc_kiocb()Jens Axboe1-1/+1
2021-09-02Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds6-1325/+149
2021-09-02block, bfq: honor already-setup queue mergesPaolo Valente1-3/+13
2021-09-02block/mq-deadline: Move dd_queued() to fix defined but not used warningGeert Uytterhoeven1-6/+6
2021-08-31Merge tag 'for-5.15-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kda...Linus Torvalds1-5/+7
2021-08-30Merge tag 'io_uring-bio-cache.5-2021-08-30' of git://git.kernel.dk/linux-blockLinus Torvalds4-18/+162
2021-08-30Merge tag 'for-5.15/block-2021-08-30' of git://git.kernel.dk/linux-blockLinus Torvalds48-963/+1049
2021-08-30Merge tag 'irq-core-2021-08-30' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2021-08-27Merge tag 'block-5.14-2021-08-27' of git://git.kernel.dk/linux-blockLinus Torvalds1-42/+16
2021-08-26Revert "block/mq-deadline: Prioritize high-priority requests"Jens Axboe1-37/+5
2021-08-25block, bfq: cleanup the repeated declarationShaokun Zhang1-2/+0
2021-08-25blk-crypto: fix check for too-large dun_bytesEric Biggers1-1/+1
2021-08-24mq-deadline: Fix request accountingBart Van Assche1-5/+11
2021-08-24blk-zoned: allow BLKREPORTZONE without CAP_SYS_ADMINNiklas Cassel1-3/+0
2021-08-24blk-zoned: allow zone management send operations without CAP_SYS_ADMINNiklas Cassel1-3/+0
2021-08-24block: refine the disk_live check in del_gendiskChristoph Hellwig1-1/+1
2021-08-24partitions/efi: Support non-standard GPT locationDmitry Osipenko1-0/+12
2021-08-24bio: fix page leak bio_add_hw_page failurePavel Begunkov1-2/+13
2021-08-24block: remove CONFIG_DEBUG_BLOCK_EXT_DEVTChristoph Hellwig1-39/+4
2021-08-24block: remove a pointless call to MINOR() in device_add_diskChristoph Hellwig1-1/+1
2021-08-23bio: improve kerneldoc documentation for bio_alloc_kiocb()Jens Axboe1-1/+4
2021-08-23block: provide bio_clear_hipri() helperJens Axboe3-6/+10
2021-08-23block: clear BIO_PERCPU_CACHE flag if polling isn't supportedJens Axboe1-1/+4
2021-08-23bio: add allocation cache abstractionJens Axboe1-14/+120
2021-08-23bio: optimize initialization of a bioJens Axboe1-2/+30
2021-08-23block: add error handling for device_add_disk / add_diskLuis Chamberlain1-34/+58
2021-08-23block: return errors from disk_alloc_eventsLuis Chamberlain2-4/+5
2021-08-23block: return errors from blk_integrity_addLuis Chamberlain2-7/+10
2021-08-23block: call blk_register_queue earlier in device_add_diskChristoph Hellwig2-11/+3
2021-08-23block: call blk_integrity_add earlier in device_add_diskChristoph Hellwig1-1/+2
2021-08-23block: create the bdi link earlier in device_add_diskChristoph Hellwig1-7/+6
2021-08-23block: call bdev_add later in device_add_diskChristoph Hellwig1-19/+17
2021-08-23block: fold register_disk into device_add_diskChristoph Hellwig1-71/+60
2021-08-23block: add a sanity check for a live disk in del_gendiskChristoph Hellwig1-1/+1
2021-08-23block: add an explicit ->disk backpointer to the request_queueChristoph Hellwig7-20/+21
2021-08-23block: hold a request_queue reference for the lifetime of struct gendiskChristoph Hellwig1-12/+7
2021-08-23block: pass a request_queue to __blk_alloc_diskChristoph Hellwig2-5/+5
2021-08-23block: remove the minors argument to __alloc_disk_nodeChristoph Hellwig2-5/+3
2021-08-23block: cleanup the lockdep handling in *alloc_diskChristoph Hellwig2-5/+8
2021-08-23block: fix argument type of bio_trim()Chaitanya Kulkarni1-5/+7
2021-08-21Merge tag 'block-5.14-2021-08-20' of git://git.kernel.dk/linux-blockLinus Torvalds4-32/+20
2021-08-20block: add back the bd_holder_dir reference in bd_link_disk_holderChristoph Hellwig1-0/+7
2021-08-18block: fix default IO priority handlingDamien Le Moal2-4/+4
2021-08-18block: Introduce IOPRIO_NR_LEVELSDamien Le Moal4-11/+10
2021-08-18block: bfq: fix bfq_set_next_ioprio_data()Damien Le Moal1-1/+1