Skip to content

Commit 6151715

Browse files
axboekawasaki
authored andcommitted
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. Link: https://lore.kernel.org/linux-block/fxg6dksau4jsk3u5xldlyo2m7qgiux6vtdrz5rywseotsouqdv@urcrwz6qtd3r/ Signed-off-by: Jens Axboe <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]>
1 parent 81f31a4 commit 6151715

7 files changed

Lines changed: 0 additions & 3412 deletions

File tree

Documentation/ABI/testing/debugfs-pktcdvd

Lines changed: 0 additions & 18 deletions
This file was deleted.

Documentation/ABI/testing/sysfs-class-pktcdvd

Lines changed: 0 additions & 97 deletions
This file was deleted.

Documentation/cdrom/packet-writing.rst

Lines changed: 0 additions & 139 deletions
This file was deleted.

drivers/block/Kconfig

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -256,49 +256,6 @@ config BLK_DEV_RAM_SIZE
256256
The default value is 4096 kilobytes. Only change this if you know
257257
what you are doing.
258258

259-
config CDROM_PKTCDVD
260-
tristate "Packet writing on CD/DVD media (DEPRECATED)"
261-
depends on !UML
262-
depends on SCSI
263-
select CDROM
264-
help
265-
Note: This driver is deprecated and will be removed from the
266-
kernel in the near future!
267-
268-
If you have a CDROM/DVD drive that supports packet writing, say
269-
Y to include support. It should work with any MMC/Mt Fuji
270-
compliant ATAPI or SCSI drive, which is just about any newer
271-
DVD/CD writer.
272-
273-
Currently only writing to CD-RW, DVD-RW, DVD+RW and DVDRAM discs
274-
is possible.
275-
DVD-RW disks must be in restricted overwrite mode.
276-
277-
See the file <file:Documentation/cdrom/packet-writing.rst>
278-
for further information on the use of this driver.
279-
280-
To compile this driver as a module, choose M here: the
281-
module will be called pktcdvd.
282-
283-
config CDROM_PKTCDVD_BUFFERS
284-
int "Free buffers for data gathering"
285-
depends on CDROM_PKTCDVD
286-
default "8"
287-
help
288-
This controls the maximum number of active concurrent packets. More
289-
concurrent packets can increase write performance, but also require
290-
more memory. Each concurrent packet will require approximately 64Kb
291-
of non-swappable kernel memory, memory which will be allocated when
292-
a disc is opened for writing.
293-
294-
config CDROM_PKTCDVD_WCACHE
295-
bool "Enable write caching"
296-
depends on CDROM_PKTCDVD
297-
help
298-
If enabled, write caching will be set for the CD-R/W device. For now
299-
this option is dangerous unless the CD-RW media is known good, as we
300-
don't do deferred write error handling yet.
301-
302259
config ATA_OVER_ETH
303260
tristate "ATA over Ethernet support"
304261
depends on NET

drivers/block/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ obj-$(CONFIG_AMIGA_Z2RAM) += z2ram.o
2323
obj-$(CONFIG_N64CART) += n64cart.o
2424
obj-$(CONFIG_BLK_DEV_RAM) += brd.o
2525
obj-$(CONFIG_BLK_DEV_LOOP) += loop.o
26-
obj-$(CONFIG_CDROM_PKTCDVD) += pktcdvd.o
2726
obj-$(CONFIG_SUNVDC) += sunvdc.o
2827

2928
obj-$(CONFIG_BLK_DEV_NBD) += nbd.o

0 commit comments

Comments
 (0)