linux/block
Ming Lei 56dee46ff4 block: move ELEVATOR_FLAG_DISABLE_WBT a request queue flag
ELEVATOR_FLAG_DISABLE_WBT is only used by BFQ to disallow wbt when BFQ is
in use. The flag is set in BFQ's init(), and cleared in BFQ's exit().

Making it as request queue flag, so that we can avoid to deal with elevator
switch race. Also it isn't graceful to checking one scheduler flag in
wbt_enable_default().

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Nilay Shroff <nilay@linux.ibm.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250505141805.2751237-3-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2025-05-06 07:43:42 -06:00
..
partitions for-6.15/block-20250322 2025-03-26 18:08:55 -07:00
badblocks.c badblocks: Fix a nonsense WARN_ON() which checks whether a u64 variable < 0 2025-03-10 07:41:58 -06:00
bdev.c Merge branch 'block-6.15' into for-6.16/block 2025-04-24 20:41:11 -06:00
bfq-cgroup.c Revert "block, bfq: merge bfq_release_process_ref() into bfq_put_cooperator()" 2024-11-19 19:05:32 -07:00
bfq-iosched.c block: move ELEVATOR_FLAG_DISABLE_WBT a request queue flag 2025-05-06 07:43:42 -06:00
bfq-iosched.h block, bfq: remove bfq_log_bfqg() 2024-09-10 16:32:09 -06:00
bfq-wf2q.c
bio-integrity-auto.c block: split struct bio_integrity_payload 2025-03-03 11:17:52 -07:00
bio-integrity.c block: integrity: Do not call set_page_dirty_lock() 2025-04-16 14:16:48 -06:00
bio.c for-6.15/block-20250322 2025-03-26 18:08:55 -07:00
blk-cgroup-fc-appid.c
blk-cgroup-rwstat.c blk-cgroup: use group allocation/free of per-cpu counters API 2024-04-03 09:10:17 -06:00
blk-cgroup-rwstat.h blk-cgroup: rwstat: fix kernel-doc warnings in header file 2025-01-13 07:47:09 -07:00
blk-cgroup.c block: don't autoload drivers on blk-cgroup configuration 2025-04-24 07:35:23 -06:00
blk-cgroup.h block: correct locking order for protecting blk-wbt parameters 2025-03-19 11:35:45 -06:00
blk-core.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
blk-crypto-fallback.c blk-crypto: add basic hardware-wrapped key support 2025-02-10 09:54:19 -07:00
blk-crypto-internal.h blk-crypto: add ioctls to create and prepare hardware-wrapped keys 2025-02-10 09:54:19 -07:00
blk-crypto-profile.c blk-crypto: add ioctls to create and prepare hardware-wrapped keys 2025-02-10 09:54:19 -07:00
blk-crypto-sysfs.c blk-crypto: show supported key types in sysfs 2025-02-10 09:54:19 -07:00
blk-crypto.c blk-crypto: add ioctls to create and prepare hardware-wrapped keys 2025-02-10 09:54:19 -07:00
blk-flush.c block: remove unused parameter 2025-03-12 08:25:28 -06:00
blk-ia-ranges.c block: get rid of request queue ->sysfs_dir_lock 2025-01-29 07:16:47 -07:00
blk-integrity.c for-6.14/io_uring-20250119 2025-01-20 20:27:33 -08:00
blk-ioc.c block: replace call_rcu by kfree_rcu for simple kmem_cache_free callback 2024-10-22 08:16:40 -06:00
blk-iocost.c for-6.15/block-20250322 2025-03-26 18:08:55 -07:00
blk-iolatency.c block: force noio scope in blk_mq_freeze_queue 2025-01-31 07:20:08 -07:00
blk-ioprio.c blk-cgroup: Simplify policy files registration 2025-03-11 09:22:55 -10:00
blk-ioprio.h blk-ioprio: remove per-disk structure 2024-07-28 16:47:51 -06:00
blk-lib.c block: fix detection of unsupported WRITE SAME in blkdev_issue_write_zeroes 2024-08-28 08:49:25 -06:00
blk-map.c block: remove bounce buffering support 2025-05-05 13:22:39 -06:00
blk-merge.c for-6.15/block-20250322 2025-03-26 18:08:55 -07:00
blk-mq-cpumap.c blk-mq: create correct map for fallback case 2025-01-23 06:34:32 -07:00
blk-mq-debugfs.c block: move ELEVATOR_FLAG_DISABLE_WBT a request queue flag 2025-05-06 07:43:42 -06:00
blk-mq-debugfs.h block: Replace zone_wlock debugfs entry with zone_wplugs entry 2024-04-17 08:44:03 -06:00
blk-mq-sched.c block: Simplify blk_mq_dispatch_rq_list() and its callers 2025-04-21 05:07:02 -06:00
blk-mq-sched.h
blk-mq-sysfs.c block: protect hctx attributes/params using q->elevator_lock 2025-03-10 07:31:06 -06:00
blk-mq-tag.c block: remove unused parameter 2025-03-12 08:25:28 -06:00
blk-mq.c block: move blk_mq_add_queue_tag_set() after blk_mq_map_swqueue() 2025-05-06 07:43:42 -06:00
blk-mq.h block: Simplify blk_mq_dispatch_rq_list() and its callers 2025-04-21 05:07:02 -06:00
blk-pm.c block: force noio scope in blk_mq_freeze_queue 2025-01-31 07:20:08 -07:00
blk-pm.h
blk-rq-qos.c block: blk-rq-qos: guard rq-qos helpers by static key 2025-04-21 05:07:03 -06:00
blk-rq-qos.h block: blk-rq-qos: guard rq-qos helpers by static key 2025-04-21 05:07:03 -06:00
blk-settings.c block: remove bounce buffering support 2025-05-05 13:22:39 -06:00
blk-stat.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
blk-stat.h treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
blk-sysfs.c block: fix resource leak in blk_register_queue() error path 2025-04-14 08:28:26 -06:00
blk-throttle.c blk-throttle: Add an additional overflow check to the call calculate_bytes/io_allowed 2025-05-05 19:08:34 -06:00
blk-throttle.h blk-throttle: Delete unnecessary carryover-related fields from throtl_grp 2025-05-05 19:08:34 -06:00
blk-timeout.c
blk-wbt.c block: move ELEVATOR_FLAG_DISABLE_WBT a request queue flag 2025-05-06 07:43:42 -06:00
blk-wbt.h blk-wbt: remove the separate write cache tracking 2023-12-26 09:28:10 -07:00
blk-zoned.c block: fix race between set_blocksize and read paths 2025-04-23 13:58:06 -06:00
blk.h block: remove bounce buffering support 2025-05-05 13:22:39 -06:00
bsg-lib.c block: remove unused parameter 'q' parameter in __blk_rq_map_sg() 2025-03-13 05:46:19 -06:00
bsg.c SCSI misc on 20230629 2023-06-30 11:57:07 -07:00
disk-events.c block: move bdev_mark_dead out of disk_check_media_change 2023-10-28 13:29:23 +02:00
early-lookup.c wrapper for access to ->bd_partno 2024-05-02 17:48:09 -04:00
elevator.c block: introduce a dedicated lock for protecting queue elevator updates 2025-03-10 07:30:18 -06:00
elevator.h block: move ELEVATOR_FLAG_DISABLE_WBT a request queue flag 2025-05-06 07:43:42 -06:00
fops.c block: use writeback_iter 2025-05-02 09:23:00 -06:00
genhd.c block: introduce a dedicated lock for protecting queue elevator updates 2025-03-10 07:30:18 -06:00
holder.c block: fix deadlock between bd_link_disk_holder and partition scan 2024-02-23 07:44:19 -07:00
ioctl.c block: fix race between set_blocksize and read paths 2025-04-23 13:58:06 -06:00
ioprio.c block: move __get_task_ioprio() into header file 2024-01-08 12:27:39 -07:00
Kconfig lib/crc64-rocksoft: stop wrapping the crypto API 2025-02-08 20:06:19 -08:00
Kconfig.iosched
kyber-iosched.c block: remove unused parameter 2025-03-12 08:25:28 -06:00
Makefile block: remove bounce buffering support 2025-05-05 13:22:39 -06:00
mq-deadline.c block: take rq_list instead of plug in dispatch functions 2025-05-02 09:21:08 -06:00
opal_proto.h block: sed-opal: handle empty atoms when parsing response 2024-02-16 15:52:45 -07:00
sed-opal.c block: sed-opal: add ioctl IOC_OPAL_SET_SID_PW 2024-10-22 08:16:40 -06:00
t10-pi.c for-6.15/block-20250322 2025-03-26 18:08:55 -07:00