summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-sprd-adi.c
diff options
context:
space:
mode:
authorChengming Zhou <zhouchengming@bytedance.com>2023-04-13 08:28:05 +0200
committerJens Axboe <axboe@kernel.dk>2023-04-13 14:48:11 +0200
commit8e15dfbd9ae21e518979e3823e335073e725f445 (patch)
treec52de30f05381d2c5e2c361ce597a91a1ef43867 /drivers/spi/spi-sprd-adi.c
parentblk-stat: fix QUEUE_FLAG_STATS clear (diff)
downloadlinux-8e15dfbd9ae21e518979e3823e335073e725f445.tar.xz
linux-8e15dfbd9ae21e518979e3823e335073e725f445.zip
blk-throttle: only enable blk-stat when BLK_DEV_THROTTLING_LOW
blk_throtl_register() will unconditionally enable blk-stat for gendisk when register, even when we have no BLK_DEV_THROTTLING_LOW config. Since the kernel always has only BLK_DEV_THROTTLING config and the BLK_DEV_THROTTLING_LOW config is still in EXPERIMENTAL state, we can just skip blk-stat when !BLK_DEV_THROTTLING_LOW. Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com> Acked-by: Tejun Heo <tj@kernel.org> Link: https://lore.kernel.org/r/20230413062805.2081970-2-chengming.zhou@linux.dev Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/spi/spi-sprd-adi.c')
0 files changed, 0 insertions, 0 deletions