summaryrefslogtreecommitdiff
path: root/include/linux/zstd_lib.h
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2025-05-05 22:17:40 +0800
committerJens Axboe <axboe@kernel.dk>2025-05-06 07:43:42 -0600
commit56dee46ff47f0ef9944dddd1fd137c94b7c2d9de (patch)
treec33f8e6cc6b5ef578feaefa4be6c595d1aacc7b0 /include/linux/zstd_lib.h
parentf24d47edd1119b162a986bf1e88f30ec88c28029 (diff)
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>
Diffstat (limited to 'include/linux/zstd_lib.h')
0 files changed, 0 insertions, 0 deletions