aboutsummaryrefslogtreecommitdiffstats
path: root/block
AgeCommit message (Expand)AuthorFilesLines
2018-04-26blk-mq: fix sysfs inflight counterOmar Sandoval4-5/+40
2018-04-26blk-mq: count allocated but not started requests in iostats inflightOmar Sandoval1-12/+9
2018-04-25Revert "blk-mq: remove code for dealing with remapping queue"Ming Lei1-3/+31
2018-04-25block: mq: Add some minor doc for core structsLinus Walleij1-0/+3
2018-04-19blkcg: init root blkcg_gq under lockJiang Biao1-6/+11
2018-04-19blkcg: small fix on comment in blkcg_init_queueJiang Biao1-5/+1
2018-04-18blkcg: don't hold blkcg lock when deactivating policyJiang Biao1-5/+0
2018-04-17bfq-iosched: ensure to clear bic/bfqq pointers when preparing requestJens Axboe1-1/+9
2018-04-16blk-mq: start request gstate with gen 1Jianchao Wang2-0/+11
2018-04-14block: do not use interruptible wait anywhereAlan Jenkins1-7/+4
2018-04-11blk-mq: Revert "blk-mq: reimplement blk_mq_hw_queue_mapped"Ming Lei1-1/+1
2018-04-10blk-mq: Avoid that submitting a bio concurrently with device removal triggers...Bart Van Assche1-6/+29
2018-04-10blk-mq: remove code for dealing with remapping queueMing Lei1-31/+3
2018-04-10blk-mq: reimplement blk_mq_hw_queue_mappedMing Lei1-1/+1
2018-04-10blk-mq: don't check queue mapped in __blk_mq_delay_run_hw_queue()Ming Lei1-3/+0
2018-04-10blk-mq: remove blk_mq_delay_queue()Ming Lei2-29/+2
2018-04-10blk-mq: introduce blk_mq_hw_queue_first_cpu() to figure out first cpuMing Lei1-12/+11
2018-04-10blk-mq: avoid to write intermediate result to hctx->next_cpuMing Lei1-8/+9
2018-04-10blk-mq: don't keep offline CPUs mapped to hctx 0Ming Lei1-5/+0
2018-04-10blk-mq: make sure that correct hctx->next_cpu is setMing Lei1-0/+2
2018-04-10blk-mq: order getting budget and driver tagMing Lei1-11/+10
2018-04-05Merge tag 'for-4.17/block-20180402' of git://git.kernel.dk/linux-blockLinus Torvalds17-426/+695
2018-04-04Merge tag 'char-misc-4.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-8/+11
2018-04-02blk-mq: Directly schedule q->timeout_work when aborting a requestTejun Heo1-1/+1
2018-03-27blk-mq: Allow PCI vector offset for mapping queuesKeith Busch1-2/+4
2018-03-26block, bfq: lower-bound the estimated peak rate to 1Paolo Valente2-2/+25
2018-03-26treewide: simplify Kconfig dependencies for removed archsArnd Bergmann1-1/+1
2018-03-21Fix slab name "biovec-(1<<(21-12))"Mikulas Patocka1-2/+2
2018-03-19block: Change a rcu_read_{lock,unlock}_sched() pair into rcu_read_{lock,unloc...Bart Van Assche1-2/+2
2018-03-17block: bio_check_eod() needs to consider partitionsChristoph Hellwig1-53/+40
2018-03-17blk-mq-debugfs: Show more request state informationBart Van Assche1-1/+15
2018-03-16blk-throttle: fix race between blkcg_bio_issue_check() and cgroup_rmdir()Joseph Qi1-16/+62
2018-03-16block: sed-opal: fix u64 short atom lengthJonas Rabenstein1-7/+4
2018-03-15block, char_dev: Use correct format specifier for unsigned intsSrivatsa S. Bhat1-8/+11
2018-03-13bsg: split handling of SCSI CDBs vs transport requeuesChristoph Hellwig2-198/+222
2018-03-13bsg-lib: remove bsg_job.reqChristoph Hellwig1-8/+6
2018-03-13bsg-lib: introduce a timeout field in struct bsg_jobChristoph Hellwig1-0/+1
2018-03-09block: Suppress kernel-doc warnings triggered by blk-zoned.cBart Van Assche1-2/+2
2018-03-08block: Move the queue_flag_*() functions from a public into a private header ...Bart Van Assche1-0/+69
2018-03-08block: Use blk_queue_flag_*() in drivers instead of queue_flag_*()Bart Van Assche1-2/+2
2018-03-08block: Protect queue flag changes with the queue lockBart Van Assche2-4/+4
2018-03-08block: Introduce blk_queue_flag_{set,clear,test_and_{set,clear}}()Bart Van Assche5-49/+88
2018-03-08block: Use the queue_flag_*() functions instead of open-coding theseBart Van Assche4-7/+7
2018-03-06block: sed-opal: fix response string extractionJonas Rabenstein1-3/+23
2018-03-02Merge tag 'for-linus-20180302' of git://git.kernel.dk/linux-blockLinus Torvalds8-23/+67
2018-03-01block: display the correct diskname for bioJiufei Xue1-0/+6
2018-03-01block: fix the count of PGPGOUT for WRITE_SAMEJiufei Xue1-1/+1
2018-03-01mq-deadline: Make sure to always unlock zonesDamien Le Moal1-3/+13
2018-02-28block: Fix a race between request queue removal and the block cgroup controllerBart Van Assche2-7/+31
2018-02-28block: Fix a race between the cgroup code and request queue initializationBart Van Assche1-8/+16
2018-02-28block: Add 'lock' as third argument to blk_alloc_queue_node()Bart Van Assche2-4/+5
2018-02-28block: clear ctx pending bit under ctx lockOmar Sandoval1-1/+1
2018-02-28blk-mq-debugfs: Show zone locking informationBart Van Assche1-0/+16
2018-02-28blk-mq-debugfs: Reorder queue show and store methodsBart Van Assche1-65/+65
2018-02-26genhd: Fix BUG in blkdev_open()Jan Kara1-1/+20
2018-02-26genhd: Add helper put_disk_and_module()Jan Kara2-13/+18
2018-02-26genhd: Rename get_disk() to get_disk_and_module()Jan Kara1-6/+4
2018-02-26genhd: Fix leaked module reference for NVME devicesJan Kara1-0/+3
2018-02-24block: kyber: fix domain token leak during requeueMing Lei1-0/+1
2018-02-24blk-mq: don't call io sched's .requeue_request when requeueing rq to ->dispatchMing Lei1-1/+3
2018-02-23block: pass inclusive 'lend' parameter to truncate_inode_pages_rangeMing Lei1-1/+1
2018-02-22treewide/trivial: Remove ';;$' typo noiseIngo Molnar1-1/+1
2018-02-13blk: optimization for classic pollingNitesh Shetty1-0/+1
2018-02-11vfs: do bulk POLL* -> EPOLL* replacementLinus Torvalds1-2/+2
2018-02-07block, bfq: add requeue-request hookPaolo Valente1-25/+82
2018-02-06block: Add should_fail_bio() for bpf error injectionHoward McLauchlan1-1/+10
2018-02-06blk-wbt: account flush requests correctlyJens Axboe1-1/+9
2018-02-04Merge tag 'for-linus-20180204' of git://git.kernel.dk/linux-blockLinus Torvalds4-7/+47
2018-02-01blk-mq-sched: Enable merging discard bio into requestKeith Busch1-0/+2
2018-02-01blk-mq: fix discard merge with scheduler attachedJens Axboe2-3/+28
2018-01-30blk-mq: introduce BLK_STS_DEV_RESOURCEMing Lei2-4/+17
2018-01-30Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-2/+2
2018-01-29Merge branch 'for-4.16/block' of git://git.kernel.dk/linux-blockLinus Torvalds32-684/+1506
2018-01-24bsg: use pr_debug instead of hand crafted macrosJohannes Thumshirn1-23/+17
2018-01-24blk-mq-debugfs: don't allow write on attributes with seq_operations setEryu Guan1-1/+5
2018-01-23block: Set BIO_TRACE_COMPLETION on new bio during splitGoldwyn Rodrigues1-1/+1
2018-01-19blk-throttle: use queue_is_rq_basedweiping zhang1-1/+1
2018-01-19block: Remove kblockd_schedule_delayed_work{,_on}()Bart Van Assche1-14/+0
2018-01-19blk-mq: Avoid that blk_mq_delay_run_hw_queue() introduces unintended delaysBart Van Assche1-4/+3
2018-01-19blk-mq: Rename blk_mq_request_direct_issue() into blk_mq_request_issue_direct...Bart Van Assche3-4/+4
2018-01-18blk-throttle: track read and write request individuallyJoseph Qi1-55/+79
2018-01-18block: add bdev_read_only() checks to common helpersIlya Dryomov1-0/+12
2018-01-18block: fail op_is_write() requests to read-only partitionsIlya Dryomov1-18/+38
2018-01-18blk-throttle: export io_serviced_recursive, io_service_bytes_recursiveweiping zhang1-0/+10
2018-01-18block: Protect less code with sysfs_lock in blk_{un,}register_queue()Bart Van Assche1-9/+28
2018-01-18block: Document scheduler modification locking requirementsBart Van Assche1-0/+8
2018-01-18block: Unexport elv_register_queue() and elv_unregister_queue()Bart Van Assche2-2/+3
2018-01-18block, bfq: limit sectors served with interactive weight raisingPaolo Valente3-9/+80
2018-01-18block, bfq: limit tags for writes and async I/OPaolo Valente2-0/+89
2018-01-17blk-mq: don't dispatch request in blk_mq_request_direct_issue if queue is busyMing Lei1-12/+10
2018-01-17block: Fix __bio_integrity_endio() documentationBart Van Assche1-1/+0
2018-01-17blk-mq-sched: remove unused 'can_block' arg from blk_mq_sched_insert_requestMike Snitzer4-12/+10
2018-01-17blk-mq: improve DM's blk-mq IO merging via blk_insert_cloned_request feedbackMing Lei3-10/+33
2018-01-17blk-mq: factor out a few helpers from __blk_mq_try_issue_directlyMike Snitzer1-27/+52
2018-01-17blk-mq: turn WARN_ON in __blk_mq_run_hw_queue into printkMing Lei1-2/+20
2018-01-17blk-mq: make sure hctx->next_cpu is set correctlyMing Lei1-2/+28
2018-01-15blk_rq_map_user_iov: fix error overrideDouglas Gilbert1-2/+2
2018-01-15block: allow gendisk's request_queue registration to be deferredMike Snitzer2-3/+22
2018-01-15block: properly protect the 'queue' kobj in blk_unregister_queueMike Snitzer2-11/+11
2018-01-15block: only bdi_unregister() in del_gendisk() if !GENHD_FL_HIDDENMike Snitzer1-1/+2
2018-01-14blk-mq: fix bad clear of RQF_MQ_INFLIGHT in blk_mq_ct_ctx_init()Jens Axboe1-2/+3
2018-01-12blk-mq: add missing RQF_STARTED to debugfsJens Axboe1-0/+1
2018-01-12blk-mq: simplify queue mapping & schedule with each possisble CPUChristoph Hellwig1-11/+8
2018-01-11blk-mq: Reduce the number of if-statements in blk_mq_mark_tag_wait()Bart Van Assche1-34/+35
2018-01-10blk-mq: Add locking annotations to hctx_lock() and hctx_unlock()Bart Van Assche1-0/+2
2018-01-10block: silently forbid sending any ioctl to a partitionPaolo Bonzini1-29/+0
2018-01-10block: rearrange a few request fields for better cache layoutJens Axboe1-9/+9
2018-01-10block: convert REQ_ATOM_COMPLETE to stealing rq->__deadline bitJens Axboe4-20/+12
2018-01-10block: add accessors for setting/querying request deadlineJens Axboe3-7/+24
2018-01-10block: remove REQ_ATOM_POLL_SLEPTJens Axboe3-6/+3
2018-01-10blk-mq: add a few missing debugfs RQF_ flagsJens Axboe1-0/+2
2018-01-10blk-mq: Explain when 'active_queues' is decrementedBart Van Assche1-0/+6
2018-01-10partitions/msdos: Unable to mount UFS 44bsd partitionsRichard Narron1-1/+3
2018-01-10block, bfq: fix occurrences of request finish method's old nameChiara Bruschi1-13/+13
2018-01-09Revert "block: blk-merge: try to make front segments in full size"Ming Lei1-49/+5
2018-01-09bfq-iosched: don't call bfqg_and_blkg_put for !CONFIG_BFQ_GROUP_IOSCHEDJens Axboe1-1/+1
2018-01-09block: Fix kernel-doc warnings reported when building with W=1Bart Van Assche2-3/+5
2018-01-09blk-mq: Fix spelling in a source code commentBart Van Assche1-2/+2
2018-01-09blk-mq: silence false positive warnings in hctx_unlock()Jens Axboe1-2/+4
2018-01-09blk-mq: rename blk_mq_hw_ctx->queue_rq_srcu to ->srcuTejun Heo1-7/+7
2018-01-09blk-mq: remove REQ_ATOM_STARTEDTejun Heo4-33/+10
2018-01-09blk-mq: remove REQ_ATOM_COMPLETE usages from blk-mqTejun Heo2-8/+8
2018-01-09blk-mq: make blk_abort_request() trigger timeout pathTejun Heo3-7/+10
2018-01-09blk-mq: use blk_mq_rq_state() instead of testing REQ_ATOM_COMPLETETejun Heo1-3/+3
2018-01-09blk-mq: replace timeout synchronization with a RCU and generation based schemeTejun Heo5-79/+206
2018-01-09blk-mq: protect completion path with RCUTejun Heo1-0/+5
2018-01-09blk-mq: move hctx lock/unlock into a helperJens Axboe1-34/+32
2018-01-09block, bfq: release oom-queue ref to root group on exitPaolo Valente1-0/+3
2018-01-09block, bfq: put async queues for root bfq groups tooPaolo Valente1-2/+5
2018-01-09blk-mq: fix kernel oops in blk_mq_tag_idle()Ming Lei1-1/+2
2018-01-06blk-mq: fix race between updating nr_hw_queues and switching io schedMing Lei1-0/+4
2018-01-06blk-mq: avoid to map CPU into stale hw queueMing Lei1-2/+20
2018-01-06blk-mq: quiesce queue during switching io sched and updating nr_requestsMing Lei2-1/+28
2018-01-06blk-mq: quiesce queue before freeing queueMing Lei1-0/+9
2018-01-06mq-deadline: make it clear that __dd_dispatch_request() works on all hw queuesJens Axboe1-3/+8
2018-01-06block: blk-merge: remove unnecessary checkMing Lei1-3/+1
2018-01-06block: blk-merge: try to make front segments in full sizeMing Lei1-5/+49
2018-01-06blk-merge: compute bio->bi_seg_front_size efficientlyMing Lei1-4/+5
2018-01-06block: move bio_alloc_pages() to bcacheMing Lei1-28/+0
2018-01-06block: bounce: don't access bio->bi_io_vec in copy_to_high_bio_irqMing Lei1-5/+11
2018-01-06block: bounce: avoid direct access to bvec tableMing Lei1-9/+8
2018-01-05block, bfq: remove batches of confusing ifdefsPaolo Valente1-55/+72
2018-01-05block, bfq: consider also past I/O in soft real-time detectionPaolo Valente1-34/+81
2018-01-05block, bfq: remove superfluous check in queue-merging setupAngelo Ruocco1-31/+5
2018-01-05block, bfq: let a queue be merged only shortly after starting I/OPaolo Valente3-11/+52
2018-01-05block, bfq: check low_latency flag in bfq_bfqq_save_state()Angelo Ruocco1-1/+2
2018-01-05block, bfq: add missing rq_pos_tree update on rq removalPaolo Valente1-0/+2
2018-01-05block, bfq: increase threshold to deem I/O as randomPaolo Valente1-1/+1
2018-01-05deadline-iosched: Introduce zone locking supportDamien Le Moal1-3/+68
2018-01-05deadline-iosched: Introduce dispatch helpersDamien Le Moal1-10/+37
2018-01-05mq-deadline: Introduce zone locking supportDamien Le Moal1-3/+86
2018-01-05mq-deadline: Introduce dispatch helpersDamien Le Moal1-8/+37
2018-01-05block: introduce zoned block devices zone write lockingChristoph Hellwig2-0/+43
2018-01-05block: drain queue before waiting for q_usage_counter becoming zeroMing Lei3-2/+11
2018-01-05blk-mq: remove confusing comment of blk_mq_sched_dispatch_requestsLiu Bo1-1/+0
2017-12-22blk-mq: improve heavily contended tag caseJens Axboe1-6/+7
2017-12-20block-throttle: avoid double chargeShaohua Li2-7/+3
2017-12-18block: fix blk_rq_append_bioJens Axboe1-16/+22
2017-12-18block: don't let passthrough IO go into .make_request_fn()Ming Lei1-2/+4
2017-12-06kyber: fix another domain token wait queue hangOmar Sandoval1-13/+24
2017-12-01Merge branch 'for-linus' of git://git.kernel.dk/linux-blockLinus Torvalds4-13/+10
2017-11-27block: annotate ->poll() instancesAl Viro1-2/+2
2017-11-23blk-wbt: fix comments typoweiping zhang1-1/+1
2017-11-23blk-wbt: move wbt_clear_stat to common place in wbt_doneweiping zhang1-2/+1
2017-11-23blk-sysfs: remove NULL pointer checking in queue_wb_lat_storeweiping zhang1-4/+1
2017-11-23blk-wbt: remove duplicated setting in wbt_initweiping zhang1-2/+0
2017-11-22block: remove useless assignment in bio_splitMikulas Patocka1-1/+1
2017-11-21treewide: setup_timer() -> timer_setup()Kees Cook2-8/+7
2017-11-21block/laptop_mode: Convert timers to use timer_setup()Kees Cook1-5/+5
2017-11-19block: genhd.c: fix message typoRandy Dunlap1-1/+1
2017-11-19block: add WARN_ON if bdi register failweiping zhang1-2/+5
2017-11-17Merge branch 'work.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds2-126/+73
2017-11-17Merge branch 'for-linus' of git://git.kernel.dk/linux-blockLinus Torvalds6-76/+199
2017-11-17bio: ensure __bio_clone_fast copies bi_partnoMichael Lyle1-0/+1
2017-11-15block: wake up all tasks blocked in get_request()Ming Lei1-2/+2
2017-11-15block/blk-mq.c: use kmalloc_array_node()Johannes Thumshirn1-1/+1
2017-11-14block, bfq: move debug blkio stats behind CONFIG_DEBUG_BLK_CGROUPLuca Miccio3-73/+93
2017-11-14block, bfq: update blkio stats outside the scheduler lockPaolo Valente2-12/+99
2017-11-14block, bfq: add missing invocations of bfqg_stats_update_io_add/removeLuca Miccio1-3/+18
2017-11-14Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/mdLinus Torvalds1-1/+1
2017-11-14Merge branch 'for-4.15/block' of git://git.kernel.dk/linux-blockLinus Torvalds26-616/+1097
2017-11-10blk-mq: fixup some comment typos and lengthsJens Axboe1-7/+10
2017-11-10blk-mq: improve tag waiting setup for non-shared tagsJens Axboe1-26/+55
2017-11-10blk-mq: only run the hardware queue if IO is pendingJens Axboe3-15/+12
2017-11-10block: avoid null pointer dereference on null diskColin Ian King1-1/+1
2017-11-10block: create 'slaves' and 'holders' entries for hidden gendisksHannes Reinecke1-7/+7
2017-11-10block, nvme: Introduce blk_mq_req_flags_tBart Van Assche3-9/+9
2017-11-10block, scsi: Make SCSI quiesce and resume work reliablyBart Van Assche2-10/+36
2017-11-10block: Add the QUEUE_FLAG_PREEMPT_ONLY request queue flagBart Van Assche2-0/+31
2017-11-10block: Introduce BLK_MQ_REQ_PREEMPTBart Van Assche2-1/+5
2017-11-10block: Introduce blk_get_request_flags()Bart Van Assche1-15/+35
2017-11-10block: Make q_usage_counter also track legacy requestsMing Lei2-8/+14
2017-11-10blk-mq: fix issue with shared tag queue re-runningJens Axboe2-38/+48
2017-11-10blk-mq: Avoid that request queue removal can trigger list corruptionBart Van Assche1-0/+1
2017-11-10blk-mq: put driver tag if dispatch budget can't be gotMing Lei1-1/+3
2017-11-10block: pass full fmode_t to blk_verify_commandChristoph Hellwig2-14/+12
2017-11-10block: remove __bio_kmap_atomicChristoph Hellwig1-1/+1
2017-11-10Revert "blk-mq: don't handle TAG_SHARED in restart"Jens Axboe1-4/+74
2017-11-07Merge branch 'linus' into locking/core, to resolve conflictsIngo Molnar43-0/+43
2017-11-04blk-mq: don't allocate driver tag upfront for flush rqMing Lei3-81/+37