* [PATCH] block: Remove obsolete configs BLK_MQ_{PCI,VIRTIO}
@ 2025-05-14 6:55 Lukas Bulwahn
2025-05-14 6:56 ` Christoph Hellwig
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Lukas Bulwahn @ 2025-05-14 6:55 UTC (permalink / raw)
To: Jens Axboe, Daniel Wagner, Christoph Hellwig, Hannes Reinecke,
Ming Lei, John Garry, linux-block
Cc: kernel-janitors, linux-kernel, Lukas Bulwahn
From: Lukas Bulwahn <lukas.bulwahn@redhat.com>
Commit 9bc1e897a821 ("blk-mq: remove unused queue mapping helpers") makes
the two config options, BLK_MQ_PCI and BLK_MQ_VIRTIO, have no remaining
effect.
Remove the two obsolete config options.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@redhat.com>
---
block/Kconfig | 8 --------
1 file changed, 8 deletions(-)
diff --git a/block/Kconfig b/block/Kconfig
index df8973bc0539..15027963472d 100644
--- a/block/Kconfig
+++ b/block/Kconfig
@@ -211,14 +211,6 @@ config BLK_INLINE_ENCRYPTION_FALLBACK
source "block/partitions/Kconfig"
-config BLK_MQ_PCI
- def_bool PCI
-
-config BLK_MQ_VIRTIO
- bool
- depends on VIRTIO
- default y
-
config BLK_PM
def_bool PM
--
2.49.0
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [PATCH] block: Remove obsolete configs BLK_MQ_{PCI,VIRTIO} 2025-05-14 6:55 [PATCH] block: Remove obsolete configs BLK_MQ_{PCI,VIRTIO} Lukas Bulwahn @ 2025-05-14 6:56 ` Christoph Hellwig 2025-05-14 7:04 ` Daniel Wagner 2025-05-14 11:44 ` Jens Axboe 2 siblings, 0 replies; 6+ messages in thread From: Christoph Hellwig @ 2025-05-14 6:56 UTC (permalink / raw) To: Lukas Bulwahn Cc: Jens Axboe, Daniel Wagner, Christoph Hellwig, Hannes Reinecke, Ming Lei, John Garry, linux-block, kernel-janitors, linux-kernel, Lukas Bulwahn Looks good: Reviewed-by: Christoph Hellwig <hch@lst.de> ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] block: Remove obsolete configs BLK_MQ_{PCI,VIRTIO} 2025-05-14 6:55 [PATCH] block: Remove obsolete configs BLK_MQ_{PCI,VIRTIO} Lukas Bulwahn 2025-05-14 6:56 ` Christoph Hellwig @ 2025-05-14 7:04 ` Daniel Wagner 2025-05-14 7:12 ` John Garry 2025-05-14 7:28 ` Lukas Bulwahn 2025-05-14 11:44 ` Jens Axboe 2 siblings, 2 replies; 6+ messages in thread From: Daniel Wagner @ 2025-05-14 7:04 UTC (permalink / raw) To: Lukas Bulwahn Cc: Jens Axboe, Daniel Wagner, Christoph Hellwig, Hannes Reinecke, Ming Lei, John Garry, linux-block, kernel-janitors, linux-kernel, Lukas Bulwahn On Wed, May 14, 2025 at 08:55:13AM +0200, Lukas Bulwahn wrote: > From: Lukas Bulwahn <lukas.bulwahn@redhat.com> > > Commit 9bc1e897a821 ("blk-mq: remove unused queue mapping helpers") makes > the two config options, BLK_MQ_PCI and BLK_MQ_VIRTIO, have no remaining > effect. > > Remove the two obsolete config options. A quick grep revealed that there is at least a test config still in the tree which uses BLK_MQ_VIRTIO: drivers/gpu/drm/ci/x86_64.config 108:CONFIG_BLK_MQ_VIRTIO=y Not sure how this is supposed to be handled. > Signed-off-by: Lukas Bulwahn <lukas.bulwahn@redhat.com> Reviewed-by: Daniel Wagner <dwagner@suse.de> ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] block: Remove obsolete configs BLK_MQ_{PCI,VIRTIO} 2025-05-14 7:04 ` Daniel Wagner @ 2025-05-14 7:12 ` John Garry 2025-05-14 7:28 ` Lukas Bulwahn 1 sibling, 0 replies; 6+ messages in thread From: John Garry @ 2025-05-14 7:12 UTC (permalink / raw) To: Daniel Wagner, Lukas Bulwahn Cc: Jens Axboe, Daniel Wagner, Christoph Hellwig, Hannes Reinecke, Ming Lei, linux-block, kernel-janitors, linux-kernel, Lukas Bulwahn On 14/05/2025 08:04, Daniel Wagner wrote: > On Wed, May 14, 2025 at 08:55:13AM +0200, Lukas Bulwahn wrote: >> From: Lukas Bulwahn<lukas.bulwahn@redhat.com> >> >> Commit 9bc1e897a821 ("blk-mq: remove unused queue mapping helpers") makes >> the two config options, BLK_MQ_PCI and BLK_MQ_VIRTIO, have no remaining >> effect. >> >> Remove the two obsolete config options. > A quick grep revealed that there is at least a test config still in the > tree which uses BLK_MQ_VIRTIO: > > drivers/gpu/drm/ci/x86_64.config > 108:CONFIG_BLK_MQ_VIRTIO=y > > Not sure how this is supposed to be handled. I got a feeling that this stuff (like kernel config files) should not be there ... Reviewed-by: John Garry <john.g.garry@oracle.com> ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] block: Remove obsolete configs BLK_MQ_{PCI,VIRTIO} 2025-05-14 7:04 ` Daniel Wagner 2025-05-14 7:12 ` John Garry @ 2025-05-14 7:28 ` Lukas Bulwahn 1 sibling, 0 replies; 6+ messages in thread From: Lukas Bulwahn @ 2025-05-14 7:28 UTC (permalink / raw) To: Daniel Wagner Cc: Jens Axboe, Daniel Wagner, Christoph Hellwig, Hannes Reinecke, Ming Lei, John Garry, linux-block, kernel-janitors, linux-kernel, Lukas Bulwahn On Wed, May 14, 2025 at 9:10 AM Daniel Wagner <dwagner@suse.de> wrote: > > On Wed, May 14, 2025 at 08:55:13AM +0200, Lukas Bulwahn wrote: > > From: Lukas Bulwahn <lukas.bulwahn@redhat.com> > > > > Commit 9bc1e897a821 ("blk-mq: remove unused queue mapping helpers") makes > > the two config options, BLK_MQ_PCI and BLK_MQ_VIRTIO, have no remaining > > effect. > > > > Remove the two obsolete config options. > > A quick grep revealed that there is at least a test config still in the > tree which uses BLK_MQ_VIRTIO: > > drivers/gpu/drm/ci/x86_64.config > 108:CONFIG_BLK_MQ_VIRTIO=y > > Not sure how this is supposed to be handled. > I noticed that as well, but that is really yet another clean up. Generally, these config files in the kernel tree are ill designed and terribly maintained. They are ill designed, because when they are created, they are dropped as complete kernel configurations, whereas they intend to set a specific fragment of options, and have the rest as default. That creates needless large files, distracts from what is important in those files, and creates some record of the default of various options at this random point of time where the config was created, which now makes the clean-up pretty complicated. They are terribly maintained, i.e., the command ./scripts/checkkconfigsymbols.py | grep "configs" -B 1, will show all the references to config options in those config files, for config options that do not exist anymore in the current tree. In the current linux-next tree, there are over 200 references to non-existing config options from such config files. At this point, I do not worry about adding one more such reference in one of those files. This whole proper clean-up of those files is a larger project, though; maybe for some later day. Lukas > > Signed-off-by: Lukas Bulwahn <lukas.bulwahn@redhat.com> > > Reviewed-by: Daniel Wagner <dwagner@suse.de> > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] block: Remove obsolete configs BLK_MQ_{PCI,VIRTIO} 2025-05-14 6:55 [PATCH] block: Remove obsolete configs BLK_MQ_{PCI,VIRTIO} Lukas Bulwahn 2025-05-14 6:56 ` Christoph Hellwig 2025-05-14 7:04 ` Daniel Wagner @ 2025-05-14 11:44 ` Jens Axboe 2 siblings, 0 replies; 6+ messages in thread From: Jens Axboe @ 2025-05-14 11:44 UTC (permalink / raw) To: Daniel Wagner, Christoph Hellwig, Hannes Reinecke, Ming Lei, John Garry, linux-block, Lukas Bulwahn Cc: kernel-janitors, linux-kernel, Lukas Bulwahn On Wed, 14 May 2025 08:55:13 +0200, Lukas Bulwahn wrote: > Commit 9bc1e897a821 ("blk-mq: remove unused queue mapping helpers") makes > the two config options, BLK_MQ_PCI and BLK_MQ_VIRTIO, have no remaining > effect. > > Remove the two obsolete config options. > > > [...] Applied, thanks! [1/1] block: Remove obsolete configs BLK_MQ_{PCI,VIRTIO} commit: 1e332795d00655305cf0ae40be4e2eaa9a399d79 Best regards, -- Jens Axboe ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-05-14 11:44 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-14 6:55 [PATCH] block: Remove obsolete configs BLK_MQ_{PCI,VIRTIO} Lukas Bulwahn
2025-05-14 6:56 ` Christoph Hellwig
2025-05-14 7:04 ` Daniel Wagner
2025-05-14 7:12 ` John Garry
2025-05-14 7:28 ` Lukas Bulwahn
2025-05-14 11:44 ` Jens Axboe
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.