aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-sysfs.c
AgeCommit message (Expand)AuthorFilesLines
10 daysblk-throttle: delay initialization until configurationYu Kuai1-1/+0
10 daysblk-throttle: remove CONFIG_BLK_DEV_THROTTLING_LOWYu Kuai1-7/+0
2024-04-17block: Allow zero value of max_zone_append_sectors queue limitDamien Le Moal1-1/+1
2024-02-13block: use queue_limits_commit_update in queue_discard_max_storeChristoph Hellwig1-3/+10
2024-02-13block: add a max_user_discard_sectors queue limitChristoph Hellwig1-9/+8
2024-02-13block: use queue_limits_commit_update in queue_max_sectors_storeChristoph Hellwig1-25/+12
2024-01-11Merge tag 'for-6.8/block-2024-01-08' of git://git.kernel.dk/linuxLinus Torvalds1-8/+3
2023-12-27block: rename and document BLK_DEF_MAX_SECTORSChristoph Hellwig1-1/+1
2023-12-19block: remove support for the host aware zone modelChristoph Hellwig1-7/+2
2023-11-29block: Document the role of the two attribute groupsBart Van Assche1-0/+2
2023-07-17block: don't allow enabling a cache on devices that don't support itChristoph Hellwig1-4/+7
2023-07-17block: cleanup queue_wc_storeChristoph Hellwig1-11/+3
2023-06-26blk-sysfs: add a new attr_group for blk_mqYu Kuai1-11/+31
2023-06-26blk-wbt: don't create wbt sysfs entry if CONFIG_BLK_WBT is disabledYu Kuai1-69/+74
2023-04-13blk-mq: include <linux/blk-mq.h> in block/blk-mq.hChristoph Hellwig1-1/+0
2023-03-20blk-mq: remove hybrid pollingKeith Busch1-24/+1
2023-02-09block: make kobj_type structures constantThomas Weißschuh1-1/+1
2023-02-03blk-wbt: move private information from blk-wbt.h to blk-wbt.cChristoph Hellwig1-0/+1
2023-02-03blk-wbt: pass a gendisk to wbt_initChristoph Hellwig1-1/+1
2023-02-03blk-wbt: pass a gendisk to wbt_{enable,disable}_defaultChristoph Hellwig1-1/+1
2023-01-29block: save user max_sectors limitKeith Busch1-6/+15
2022-11-30block: untangle request_queue refcounting from sysfsChristoph Hellwig1-63/+23
2022-11-30block: fix error unwinding in blk_register_queueChristoph Hellwig1-12/+16
2022-11-30block: factor out a blk_debugfs_remove helperChristoph Hellwig1-7/+14
2022-11-30blk-crypto: pass a gendisk to blk_crypto_sysfs_{,un}registerChristoph Hellwig1-2/+2
2022-11-02blk-mq: move the srcu_struct used for quiescing to the tagsetChristoph Hellwig1-7/+2
2022-10-23blk-wbt: don't show valid wbt_lat_usec in sysfs while wbt is disabledYu Kuai1-0/+3
2022-09-26blk-throttle: pass a gendisk to blk_throtl_register_queueChristoph Hellwig1-1/+1
2022-08-02block: move ->bio_split to the gendiskChristoph Hellwig1-2/+0
2022-07-06block: move zone related fields to struct gendiskChristoph Hellwig1-1/+1
2022-07-06block: remove queue_max_open_zones and queue_max_active_zonesChristoph Hellwig1-2/+2
2022-07-06block: call blk_queue_free_zone_bitmaps from disk_releaseChristoph Hellwig1-2/+0
2022-06-29block: simplify disk_set_independent_access_rangesChristoph Hellwig1-1/+1
2022-06-28blk-mq: cleanup disk sysfs registrationChristoph Hellwig1-5/+4
2022-06-28block: use default groups to register the queue attributesChristoph Hellwig1-6/+6
2022-06-28block: remove a superflous queue kobject referenceChristoph Hellwig1-5/+1
2022-06-28block: simplify blktrace sysfs attribute creationChristoph Hellwig1-10/+1
2022-06-28block: simplify disk shutdownChristoph Hellwig1-5/+0
2022-06-27block: Directly use ida_alloc()/free()Bo Liu1-1/+1
2022-06-27block: export dma_alignment attributeKeith Busch1-0/+7
2022-06-17block: remove per-disk debugfs files in blk_unregister_queueChristoph Hellwig1-8/+8
2022-06-17block: serialize all debugfs operations using q->debugfs_mutexChristoph Hellwig1-11/+9
2022-03-24Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-2/+1
2022-03-08block: move blk_exit_queue into disk_releaseMing Lei1-16/+0
2022-03-08block: move q_usage_counter release into blk_queue_releaseMing Lei1-0/+2
2022-03-08block: move blkcg initialization/destroy into disk allocation/release handlerMing Lei1-7/+0
2022-02-28blk-crypto: show crypto capabilities in sysfsEric Biggers1-0/+6
2022-02-28block: don't delete queue kobject before its childrenEric Biggers1-3/+5
2022-02-28block: simplify calling convention of elv_unregister_queue()Eric Biggers1-2/+1
2022-02-22scsi: block: Remove REQ_OP_WRITE_SAME supportChristoph Hellwig1-2/+1
2022-02-11block: partition include/linux/blk-cgroup.hMing Lei1-1/+1
2022-01-17block: cleanup q->srcuMing Lei1-0/+3
2022-01-17block: Remove unnecessary variable assignmentGuoYong Zheng1-1/+0
2021-12-20block: call blk_exit_queue() before freeing q->statsMing Lei1-2/+2
2021-12-03blk-mq: move srcu from blk_mq_hw_ctx to request_queueMing Lei1-1/+2
2021-11-29block: don't include blk-mq-sched.h in blk.hChristoph Hellwig1-0/+1
2021-11-29block: remove the e argument to elevator_exitChristoph Hellwig1-1/+1
2021-11-29block: remove elevator_exitChristoph Hellwig1-1/+1
2021-11-29block: only allocate poll_stats if there's a user of themJens Axboe1-1/+2
2021-11-15blk-mq: cancel blk-mq dispatch work in both blk_cleanup_queue and disk_release()Ming Lei1-10/+0
2021-10-26block: Add independent access ranges supportDamien Le Moal1-8/+18
2021-10-18block: don't allow writing to the poll queue attributeChristoph Hellwig1-19/+4
2021-10-18block: move blk-throtl fast path inlineJens Axboe1-0/+1
2021-08-23block: call blk_register_queue earlier in device_add_diskChristoph Hellwig1-9/+0
2021-08-23block: add an explicit ->disk backpointer to the request_queueChristoph Hellwig1-7/+6
2021-08-16block: unexport blk_register_queueChristoph Hellwig1-1/+0
2021-08-09block: move the bdi from the request_queue to the gendiskChristoph Hellwig1-14/+12
2021-08-09block: pass a gendisk to blk_queue_update_readaheadChristoph Hellwig1-1/+1
2021-06-16block: mark queue init done at the end of blk_register_queueMing Lei1-14/+15
2021-05-24block: remove unneeded parenthesis from blk-sysfsMax Gurtovoy1-8/+8
2021-04-06block: add sysfs entry for virt boundary maskMax Gurtovoy1-1/+8
2021-02-22block: fix potential IO hang when turning off io_pollJeffle Xu1-2/+5
2021-02-10block: introduce zone_write_granularity limitDamien Le Moal1-0/+8
2020-10-09blk-mq: move cancel of hctx->run_work to the front of blk_exit_queueYang Yang1-1/+8
2020-10-09block: get rid of unnecessary local variableYufen Yu1-3/+1
2020-10-09block: invoke blk_mq_exit_sched no matter whether have .exit_schedYufen Yu1-1/+0
2020-09-24bdi: replace BDI_CAP_STABLE_WRITES with a queue and a sb flagChristoph Hellwig1-0/+3
2020-09-24block: lift setting the readahead size into the block layerChristoph Hellwig1-0/+2
2020-09-08block: make QUEUE_SYSFS_BIT_FNS more usefulChristoph Hellwig1-19/+5
2020-09-08block: add helper macros for queue sysfs entriesChristoph Hellwig1-190/+58
2020-07-15block: add max_active_zones to blk-sysfsNiklas Cassel1-1/+13
2020-07-15block: add max_open_zones to blk-sysfsNiklas Cassel1-0/+15
2020-06-24block: create the request_queue debugfs_dir on registrationLuis Chamberlain1-0/+9
2020-06-24block: revert back to synchronous request_queue removalLuis Chamberlain1-21/+22
2020-05-12block: Introduce REQ_OP_ZONE_APPENDKeith Busch1-0/+13
2019-10-07block: Remove "dying" checks from sysfs callbacksBart Van Assche1-8/+0
2019-09-27rq-qos: get rid of redundant wbt_update_limits()Yufen Yu1-1/+0
2019-09-26block: don't release queue's sysfs lock during switching elevatorMing Lei1-9/+4
2019-09-17Merge tag 'for-5.4/block-2019-09-16' of git://git.kernel.dk/linux-blockLinus Torvalds1-19/+31
2019-09-12block: fix race between switching elevator and removing queuesMing Lei1-3/+5
2019-08-27block: split .sysfs_lock into two locksMing Lei1-18/+28
2019-08-27block: add helper for checking if queue is registeredMing Lei1-2/+2
2019-08-12blk-mq: move cancel of requeue_work to the front of blk_exit_queuezhengbin1-0/+3
2019-06-06block: free sched's request pool in blk_cleanup_queueMing Lei1-1/+1
2019-05-29block: move blk_exit_queue into __blk_release_queueMing Lei1-15/+32
2019-04-22block: don't show io_timeout if driver has no timeout handlerWeiping Zhang1-2/+28
2019-03-20block: add BLK_MQ_POLL_CLASSIC for hybrid poll and return EINVAL for unexpect...Yufen Yu1-5/+7
2019-02-11block: avoid setting wbt_lat_usec to current valueAleksei Zakharov1-0/+3
2019-02-10blk-sysfs: Rework documention of __blk_release_queueMarcos Paulo de Souza1-12/+7
2018-12-28Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-4/+1
2018-12-18scsi: block: remove the cluster flagChristoph Hellwig1-4/+1
2018-12-17blk-mq: enable IO poll if .nr_queues of type poll > 0Ming Lei1-1/+2
2018-12-04block: only allow polling if a poll queue_map existsChristoph Hellwig1-1/+1
2018-11-28block: add io timeout to sysfsWeiping Zhang1-0/+27
2018-11-16block: add queue_is_mq() helperJens Axboe1-7/+7
2018-11-15block: remove the queue_lock indirectionChristoph Hellwig1-2/+2
2018-11-15block: use atomic bitops for ->queue_flagsChristoph Hellwig1-16/+12
2018-11-07block: remove dead elevator codeJens Axboe1-27/+9
2018-11-07block: remove legacy rq taggingJens Axboe1-3/+0
2018-10-31block: call rq_qos_exit() after queue is frozenMing Lei1-2/+0
2018-10-25block: Introduce blk_revalidate_disk_zones()Damien Le Moal1-0/+2
2018-10-25block: Expose queue nr_zones in sysfsDamien Le Moal1-0/+11
2018-08-23blk-wbt: don't maintain inflight counts if disabledJens Axboe1-1/+18
2018-08-11blkcg: Make blkg_root_lookup() work for queues in bypass modeBart Van Assche1-1/+1
2018-08-09block: Ensure that a request queue is dissociated from the cgroup controllerBart Van Assche1-0/+15
2018-07-09blk-rq-qos: refactor out common elements of blk-wbtJosef Bacik1-12/+10
2018-05-30block: convert bounce, q->bio_split to bioset_init()/mempool_init()Kent Overstreet1-2/+1
2018-05-24block drivers/block: Use octal not symbolic permissionsJoe Perches1-34/+34
2018-05-14block: Add sysfs entry for fua supportKent Overstreet1-0/+11
2018-03-08block: Introduce blk_queue_flag_{set,clear,test_and_{set,clear}}()Bart Van Assche1-15/+7
2018-02-28block: Fix a race between request queue removal and the block cgroup controllerBart Van Assche1-7/+0
2018-01-18block: Protect less code with sysfs_lock in blk_{un,}register_queue()Bart Van Assche1-9/+28
2018-01-15block: allow gendisk's request_queue registration to be deferredMike Snitzer1-0/+5
2018-01-15block: properly protect the 'queue' kobj in blk_unregister_queueMike Snitzer1-3/+10
2017-11-23blk-sysfs: remove NULL pointer checking in queue_wb_lat_storeweiping zhang1-4/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-08-28block: fix warning when I/O elevator is changed as request_queue is being rem...David Jeffery1-0/+2
2017-06-14block: Fix a blk_exit_rl() regressionBart Van Assche1-12/+22
2017-06-01block: Avoid that blk_exit_rl() triggers a use-after-freeBart Van Assche1-1/+1
2017-05-26blk-mq: Only register debugfs attributes for blk-mq queuesBart Van Assche1-3/+3
2017-05-04blk-mq: untangle debugfs and sysfsOmar Sandoval1-0/+2
2017-05-04blk-mq: move debugfs declarations to a separate header fileOmar Sandoval1-0/+1
2017-04-26blk-mq: Register <dev>/queue/mq after having registered <dev>/queueBart Van Assche1-3/+3
2017-04-19block: Make writeback throttling defaults consistent for SQ devicesJan Kara1-18/+1
2017-04-08block: remove the discard_zeroes_data flagChristoph Hellwig1-1/+1
2017-04-07Merge branch 'for-linus' into for-4.12/blockJens Axboe1-1/+1
2017-04-07blk-mq-sched: fix crash in switch error pathOmar Sandoval1-1/+1
2017-03-29block: fix leak of q->rq_wbOmar Sandoval1-1/+3
2017-03-29block: warn if sharing request queue across gendisksOmar Sandoval1-0/+7
2017-03-28blk-throttle: choose a small throtl_slice for SSDShaohua Li1-0/+2
2017-03-28blk-throttle: make throtl_slice tunableShaohua Li1-0/+11
2017-03-21blk-stat: convert to callback-based statistics reportingOmar Sandoval1-26/+5
2017-03-21blk-stat: use READ and WRITE instead of BLK_STAT_{READ,WRITE}Omar Sandoval1-2/+2
2017-03-02block: don't call ioc_exit_icq() with the queue lock held for blk-mqJens Axboe1-2/+0
2017-02-15block: do not allow updates through sysfs until registration completesTahsin Erdogan1-7/+12
2017-02-08block: optionally merge discontiguous discard bios into a single requestChristoph Hellwig1-0/+12
2017-02-06blk-mq-sched: (un)register elevator when (un)registering queueOmar Sandoval1-11/+10
2017-02-02blk-mq: move debugfs_remove() of disk dir to blk_release_queue()Omar Sandoval1-0/+3
2017-02-02block: Dynamically allocate and refcount backing_dev_infoJan Kara1-1/+1
2017-02-02block: Use pointer to backing_dev_info from request_queueJan Kara1-4/+4
2017-01-27block: allow specifying size for extra command dataChristoph Hellwig1-2/+5
2016-12-13Merge branch 'for-4.10/block' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+190
2016-12-12mm: don't cap request size based on read-ahead settingJens Axboe1-0/+1
2016-12-01block: add support for REQ_OP_WRITE_ZEROESChaitanya Kulkarni1-0/+11
2016-11-28blk-wbt: allow wbt to be enabled always through sysfsJens Axboe1-6/+16
2016-11-28blk-wbt: allow reset of default latency through sysfsJens Axboe1-7/+15
2016-11-17blk-mq: make the polling code adaptiveJens Axboe1-8/+18
2016-11-17blk-mq: implement hybrid poll mode for sync O_DIRECTJens Axboe1-0/+29
2016-11-11blk-wbt: remove stat opsJens Axboe1-22/+1
2016-11-10block: hook up writeback throttlingJens Axboe1-0/+88
2016-11-10block: add scalable completion tracking of requestsJens Axboe1-0/+26
2016-10-18blk-sysfs: Add 'chunk_sectors' to sysfs attributesHannes Reinecke1-0/+11
2016-10-18block: Add 'zoned' queue limitDamien Le Moal1-0/+18
2016-09-21blk-mq: register device instead of diskMatias Bjørling1-2/+2
2016-07-20block: expose QUEUE_FLAG_DAX in sysfsYigal Korman1-0/+11
2016-04-12block: add ability to flag write back caching on a deviceJens Axboe1-0/+39
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-4/+4
2016-02-17blk: fix overflow in queue_discard_max_hw_showAlan1-3/+2
2015-12-03Merge branch 'mkp-fixes' into fixesJames Bottomley1-0/+3
2015-11-25block/sd: Fix device-imposed transfer length limitsMartin K. Petersen1-0/+3
2015-11-07block: add block polling supportJens Axboe1-0/+35
2015-11-04Merge branch 'for-4.4/integrity' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+1
2015-10-21block: generic request_queue reference countingDan Williams1-2/+1
2015-10-15block: don't release bdi while request_queue has live referencesTejun Heo1-0/+1
2015-08-13block: make generic_make_request handle arbitrarily sized biosKent Overstreet1-0/+3
2015-07-17block: make /sys/block/<dev>/queue/discard_max_bytes writeableJens Axboe1-1/+39
2015-06-25Merge branch 'for-4.2/writeback' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+2
2015-06-02writeback: separate out include/linux/backing-dev-defs.hTejun Heo1-0/+1
2015-06-02blkcg: move block/blk-cgroup.h to include/linux/blk-cgroup.hTejun Heo1-1/+1
2015-04-27block: destroy bdi before blockdev is unregistered.NeilBrown1-2/+0
2015-01-29blk-mq: release mq's kobjects in blk_release_queue()Ming Lei1-0/+2
2014-12-09blk-mq: Fix a use-after-freeBart Van Assche1-8/+4
2014-10-18Merge branch 'for-3.18/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+2
2014-09-25blk-mq: support per-distpatch_queue flush machineryMing Lei1-2/+2
2014-09-25block: remove blk_init_flush() and its pairMing Lei1-1/+1
2014-09-25block: introduce blk_init_flush and its pairMing Lei1-2/+2
2014-09-24blk-mq, percpu_ref: start q->mq_usage_counter in atomic modeTejun Heo1-2/+9
2014-09-09Block: fix unbalanced bypass-disable in blk_register_queueAlan Stern1-2/+4
2014-07-01block, blk-mq: draining can't be skipped even if bypass_depth was non-zeroTejun Heo1-1/+1
2014-05-27block: only allocate/free mq_usage_counter in blk-mqMing Lei1-2/+0
2014-05-20blk-mq: allow changing of queue depth through sysfsJens Axboe1-36/+9
2014-02-10blk-mq: rework flush sequencing logicChristoph Hellwig1-0/+2
2013-12-31block: blk-mq: don't export blk_mq_free_queue()Ming Lei1-0/+1
2013-11-15kernel: remove CONFIG_USE_GENERIC_SMP_HELPERSChristoph Hellwig1-1/+1
2013-10-25blk-mq: new multi-queue block IO queueing mechanismJens Axboe1-0/+13
2013-09-11block/blk-sysfs.c: replace strict_strtoul() with kstrtoul()Jingoo Han1-1/+1
2013-04-03block: avoid using uninitialized value in from queue_var_storeArnd Bergmann1-0/+2
2013-01-09block: RCU free request_queueTejun Heo1-1/+8
2012-12-06block: Rename queue dead flagBart Van Assche1-2/+2
2012-09-21block: lift the initial queue bypass mode on blk_register_queue() instead of ...Tejun Heo1-0/+6