Module Name: src Committed By: jdolecek Date: Thu May 21 09:11:33 UTC 2020
Modified Files: src/sys/dev/ata: ata_wdc.c Log Message: stop timeout handler while scheduling another part of partial I/O, to avoid race between the timeout and I/O submission; the I/O submission can sleep with xfer while waiting for the controller to be ready once it gets to thread context, and timeout might cause the xfer to be freed, leading to crashes due to use-after-free this fixes another type of crashes with slow devices under QEMU reported by Paul Ripke - thanks a lot with extensive debugging help To generate a diff of this commit: cvs rdiff -u -r1.117 -r1.118 src/sys/dev/ata/ata_wdc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.