Module Name:    src
Committed By:   jdolecek
Date:           Tue May 19 08:08:51 UTC 2020

Modified Files:
        src/sys/dev/ata: ata_wdc.c
        src/sys/dev/ic: mvsata.c

Log Message:
only start the timeout machinery once the I/O is completely setup
and successful, particularly after PIO write is finished

fixes crashes in case the setup is so slow that timeout is triggered
e.g. while still waiting in wdc_wait_for_unbusy() or shortly after, without
drive actually having chance to complete the I/O, as seen in some
configuration under QEMU by Paul Ripke


To generate a diff of this commit:
cvs rdiff -u -r1.116 -r1.117 src/sys/dev/ata/ata_wdc.c
cvs rdiff -u -r1.56 -r1.57 src/sys/dev/ic/mvsata.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to