[PATCH] pktcdvd: bio write congestion using congestion_wait()
authorThomas Maier <balagi@justmail.de>
Fri, 8 Dec 2006 10:36:11 +0000 (02:36 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:38 +0000 (08:28 -0800)
commit0a0fc9601dd1024ec7171993bf075a789246e1ed
treec606a35beb9c56ccfeff57cb594e6a7e5b12a80c
parent2d4eeec563a0472b68de3597c17f2d3b11c49c00
[PATCH] pktcdvd: bio write congestion using congestion_wait()

This adds a bio write queue congestion control to the pktcdvd driver with
fixed on/off marks.  It prevents that the driver consumes a unlimited
amount of write requests.

[akpm@osdl.org: sync with congestion_wait() renaming]
Signed-off-by: Thomas Maier <balagi@justmail.de>
Cc: Peter Osterlund <petero2@telia.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/pktcdvd.c
include/linux/pktcdvd.h