cvs commit: src/sys/dev/disk/ata ata-all.c ata-all.h ata-disk.c ata-dma.c ata-isa.c ata-raid.c atapi-all.c atapi-cam.c atapi-cd.c atapi-fd.c atapi-tape.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun Nov 30 12:14:40 PST 2003
dillon 2003/11/30 12:14:18 PST
DragonFly src repository
Modified files:
sys/dev/disk/ata ata-all.c ata-all.h ata-disk.c ata-dma.c
ata-isa.c ata-raid.c atapi-all.c
atapi-cam.c atapi-cd.c atapi-fd.c
atapi-tape.c
Log:
Add the MPIPE subsystem. This subsystem is used for 'pipelining' fixed-size
allocations. Pipelining is used to avoid lack-of-resource deadlocks by
still allowing resource allocations to 'block' by guarenteeing that an
already in-progress operation will soon free memory that will be immediately
used to satisfy the blocked resource.
Adjust the ATAold code to use the new mechanism and remove the code that
tried to back-off into PIO mode when resources were lacking.
Revision Changes Path
1.9 +22 -4 src/sys/dev/disk/ata/ata-all.c
1.4 +9 -1 src/sys/dev/disk/ata/ata-all.h
1.8 +21 -7 src/sys/dev/disk/ata/ata-disk.c
1.6 +13 -10 src/sys/dev/disk/ata/ata-dma.c
1.4 +6 -1 src/sys/dev/disk/ata/ata-isa.c
1.9 +13 -13 src/sys/dev/disk/ata/ata-raid.c
1.5 +16 -10 src/sys/dev/disk/ata/atapi-all.c
1.4 +3 -3 src/sys/dev/disk/ata/atapi-cam.c
1.9 +15 -15 src/sys/dev/disk/ata/atapi-cd.c
1.9 +1 -1 src/sys/dev/disk/ata/atapi-fd.c
1.8 +1 -1 src/sys/dev/disk/ata/atapi-tape.c
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/ata/ata-all.c.diff?r1=1.8&r2=1.9&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/ata/ata-all.h.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/ata/ata-disk.c.diff?r1=1.7&r2=1.8&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/ata/ata-dma.c.diff?r1=1.5&r2=1.6&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/ata/ata-isa.c.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/ata/ata-raid.c.diff?r1=1.8&r2=1.9&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/ata/atapi-all.c.diff?r1=1.4&r2=1.5&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/ata/atapi-cam.c.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/ata/atapi-cd.c.diff?r1=1.8&r2=1.9&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/ata/atapi-fd.c.diff?r1=1.8&r2=1.9&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/ata/atapi-tape.c.diff?r1=1.7&r2=1.8&f=h
More information about the Commits
mailing list