aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pktcdvd.h
diff options
context:
space:
mode:
authorPhillip Susi <psusi@cfl.rr.com>2006-02-05 02:27:48 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-05 14:06:52 -0500
commit5c55ac9bbca22ee134408f83de5f2bda3b1b2a53 (patch)
tree31b0cdd704204a9c02c6c7e9cc3e6035526d76f5 /include/linux/pktcdvd.h
parente1bc89bc9991e994f2b3c60d9ad2fdb5ad9b10fc (diff)
[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/pktcdvd.h')
-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
169#if (PAGE_SIZE % CD_FRAMESIZE) != 0 169#if (PAGE_SIZE % CD_FRAMESIZE) != 0
170#error "PAGE_SIZE must be a multiple of CD_FRAMESIZE" 170#error "PAGE_SIZE must be a multiple of CD_FRAMESIZE"
171#endif 171#endif
172#define PACKET_MAX_SIZE 32 172#define PACKET_MAX_SIZE 128
173#define FRAMES_PER_PAGE (PAGE_SIZE / CD_FRAMESIZE) 173#define FRAMES_PER_PAGE (PAGE_SIZE / CD_FRAMESIZE)
174#define PACKET_MAX_SECTORS (PACKET_MAX_SIZE * CD_FRAMESIZE >> 9) 174#define PACKET_MAX_SECTORS (PACKET_MAX_SIZE * CD_FRAMESIZE >> 9)
175 175