linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3] block: delete unused config BLK_RQ_IO_DATA_LEN
@ 2020-07-21  2:10 Jiufei Xue
  0 siblings, 0 replies; only message in thread
From: Jiufei Xue @ 2020-07-21  2:10 UTC (permalink / raw)
  To: axboe, tj; +Cc: linux-block, Jiufei Xue

Config BLK_RQ_IO_DATA_LEN was once used to enable the io_data_len field
in reqeust to remember blk_rq_bytes() at the time the request gets
issued. However io_data_len is replaced by blk_rq_stats_sectors() and
the config is not used now. So delete it.

Signed-off-by: Jiufei Xue <jiufei.xue@linux.alibaba.com>
---
 block/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/block/Kconfig b/block/Kconfig
index 9357d73..d52c9bc 100644
--- a/block/Kconfig
+++ b/block/Kconfig
@@ -146,7 +146,6 @@ config BLK_CGROUP_IOLATENCY
 config BLK_CGROUP_IOCOST
 	bool "Enable support for cost model based cgroup IO controller"
 	depends on BLK_CGROUP=y
-	select BLK_RQ_IO_DATA_LEN
 	select BLK_RQ_ALLOC_TIME
 	help
 	Enabling this option enables the .weight interface for cost
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-21  2:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-21  2:10 [PATCH v3] block: delete unused config BLK_RQ_IO_DATA_LEN Jiufei Xue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).