Skip to contentSkip to conversation

block: remove pktcdvd driver

PATCH In review Jens Axboe 3 participants 3 messages Jul 6, 2025 – Jul 7, 2025

Subsystems (3)
lore
Share & tools
lore

Jens Axboe

author maintainer
#0 lore raw

PATCH 1/1 block: remove pktcdvd driver

This driver has long outlived it's utility, and it's broken and unloved. The main use case for this was direct mount with UDF of cd-rw drives that required 32kb packets. It would collect writes into that size and write them out in multiples of that. That's not a common use case anymore, the world has moved on from those kinds of media. To make matters worse, it's actively breaking setups where it's not even required or useful.

---

Documentation/ABI/testing/debugfs-pktcdvd deleted +0 -18
deleted file mode 100644
index f6f65a4faea0..000000000000
@@ -1,18 +0,0 @@
-What:           /sys/kernel/debug/pktcdvd/pktcdvd[0-7]
-Date:           Oct. 2006
-KernelVersion:  2.6.20
-Contact:        Thomas Maier <[email protected]>
-Description:
-
-The pktcdvd module (packet writing driver) creates
-these files in debugfs:
-
-/sys/kernel/debug/pktcdvd/pktcdvd[0-7]/
-
-    ====            ====== ====================================
-    info            0444   Lots of driver statistics and infos.
-    ====            ====== ====================================
-
-Example::
-
-    cat /sys/kernel/debug/pktcdvd/pktcdvd0/info
Documentation/ABI/testing/sysfs-class-pktcdvd deleted +0 -97

97 lines not on this page · raw message

Documentation/cdrom/packet-writing.rst deleted +0 -139

139 lines not on this page · raw message

drivers/block/Kconfig +0 -43

49 lines not on this page · raw message

drivers/block/Makefile +0 -1
index 097707aca725..a695ce74ef22 100644
@@ -23,7 +23,6 @@ obj-$(CONFIG_AMIGA_Z2RAM)	+= z2ram.o
 obj-$(CONFIG_N64CART)		+= n64cart.o
 obj-$(CONFIG_BLK_DEV_RAM)	+= brd.o
 obj-$(CONFIG_BLK_DEV_LOOP)	+= loop.o
-obj-$(CONFIG_CDROM_PKTCDVD)	+= pktcdvd.o
 obj-$(CONFIG_SUNVDC)		+= sunvdc.o
 
 obj-$(CONFIG_BLK_DEV_NBD)	+= nbd.o
drivers/block/pktcdvd.c deleted +0 -2916

2,690 lines not on this page · raw message

include/linux/pktcdvd.h deleted +0 -198

198 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
Jens Axboe

Part of the diff is not shown here. View the raw message.

Reviewed-by on v1 1/1
#2 lore raw
In reply to Jens Axboe
Quoted 11 lines · Jens Axboe

This driver has long outlived it's utility, and it's broken and unloved. The main use case for this was direct mount with UDF of cd-rw drives that required 32kb packets. It would collect writes into that size and write them out in multiples of that. That's not a common use case anymore, the world has moved on from those kinds of media. To make matters worse, it's actively breaking setups where it's not even required or useful.

Cheers,

Hannes

Signature · 4 lines
Dr. Hannes Reinecke                  Kernel Storage Architect
[email protected]                                +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich