DragonFly commits List (threaded) for 2004-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/dev/disk/ata ata-dma.c
joerg 2004/03/09 13:38:05 PST
DragonFly src repository
Modified files:
sys/dev/disk/ata ata-dma.c
Log:
While converting ATA to use MPIPE allocations, ata_dmaalloc was changed
to allocate the DMA buffer directly without checking if it already is.
Since atapi_queue_cmd and ad_start doesn't check this and the DMA buffer
is only freed from ad_free, ad_detach and atapi_detach, the MPIPE was
exhausted very soon. The calls the ata_dmafree has been removed in revision
1.9.
This adds an additional check wether a DMA buffer is already allocated and
reuses that instead.
Revision Changes Path
1.19 +10 -1 src/sys/dev/disk/ata/ata-dma.c
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/ata/ata-dma.c.diff?r1=1.18&r2=1.19&f=h
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]