summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorPhillip Susi <psusi@cfl.rr.com>2006-02-04 23:27:48 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-05 11:06:52 -0800
commit5c55ac9bbca22ee134408f83de5f2bda3b1b2a53 (patch)
tree31b0cdd704204a9c02c6c7e9cc3e6035526d76f5 /include/linux
parente1bc89bc9991e994f2b3c60d9ad2fdb5ad9b10fc (diff)
downloadlinux-5c55ac9bbca22ee134408f83de5f2bda3b1b2a53.tar.gz
linux-5c55ac9bbca22ee134408f83de5f2bda3b1b2a53.tar.bz2
linux-5c55ac9bbca22ee134408f83de5f2bda3b1b2a53.zip
[PATCH] pktcdvd: Allow larger packets
The pktcdvd driver uses a compile time macro constant to define the maximum supported packet length. I changed this from 32 sectors to 128 sectors because that allows over 100 MB of additional usable space on a 700 MB cdrw, and increases throughput. Note that you need a modified cdrwtool program that can format a CDRW disc with larger packets to benefit from this change. Signed-off-by: Peter Osterlund <petero2@telia.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/pktcdvd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pktcdvd.h b/include/linux/pktcdvd.h
index 1623da88d6fe..8a94c717c266 100644
--- a/include/linux/pktcdvd.h
+++ b/include/linux/pktcdvd.h
@@ -169,7 +169,7 @@ struct packet_iosched
#if (PAGE_SIZE % CD_FRAMESIZE) != 0
#error "PAGE_SIZE must be a multiple of CD_FRAMESIZE"
#endif
-#define PACKET_MAX_SIZE 32
+#define PACKET_MAX_SIZE 128
#define FRAMES_PER_PAGE (PAGE_SIZE / CD_FRAMESIZE)
#define PACKET_MAX_SECTORS (PACKET_MAX_SIZE * CD_FRAMESIZE >> 9)