mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-03 21:01:50 +00:00
[PATCH] Improve CD/DVD packet driver write performance
This patch improves write performance for the CD/DVD packet writing driver. The logic for switching between reading and writing has been changed so that streaming writes are no longer interrupted by read requests. Signed-off-by: Peter Osterlund <petero2@telia.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
dfb388bf8a
commit
46c271bedd
2 changed files with 21 additions and 17 deletions
|
@ -159,7 +159,7 @@ struct packet_iosched
|
|||
struct bio *read_queue_tail;
|
||||
struct bio *write_queue;
|
||||
struct bio *write_queue_tail;
|
||||
int high_prio_read; /* An important read request has been queued */
|
||||
sector_t last_write; /* The sector where the last write ended */
|
||||
int successive_reads;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue