diff options
Diffstat (limited to 'include/linux/pktcdvd.h')
-rw-r--r-- | include/linux/pktcdvd.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/pktcdvd.h b/include/linux/pktcdvd.h index 8a94c717c266..9b1a185fb1e5 100644 --- a/include/linux/pktcdvd.h +++ b/include/linux/pktcdvd.h | |||
@@ -112,6 +112,12 @@ struct pkt_ctrl_command { | |||
112 | #include <linux/completion.h> | 112 | #include <linux/completion.h> |
113 | #include <linux/cdrom.h> | 113 | #include <linux/cdrom.h> |
114 | 114 | ||
115 | |||
116 | /* default bio write queue congestion marks */ | ||
117 | #define PKT_WRITE_CONGESTION_ON 10000 | ||
118 | #define PKT_WRITE_CONGESTION_OFF 9000 | ||
119 | |||
120 | |||
115 | struct packet_settings | 121 | struct packet_settings |
116 | { | 122 | { |
117 | __u32 size; /* packet size in (512 byte) sectors */ | 123 | __u32 size; /* packet size in (512 byte) sectors */ |
@@ -271,6 +277,9 @@ struct pktcdvd_device | |||
271 | 277 | ||
272 | struct packet_iosched iosched; | 278 | struct packet_iosched iosched; |
273 | struct gendisk *disk; | 279 | struct gendisk *disk; |
280 | |||
281 | int write_congestion_off; | ||
282 | int write_congestion_on; | ||
274 | }; | 283 | }; |
275 | 284 | ||
276 | #endif /* __KERNEL__ */ | 285 | #endif /* __KERNEL__ */ |