Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev



Module Name:    src
Committed By:   jdolecek
Date:           Sat Apr  4 21:36:15 UTC 2020

Modified Files:
        src/sys/dev/ata: ata.c ata_wdc.c atavar.h
        src/sys/dev/ic: mvsata.c wdc.c
        src/sys/dev/scsipi: atapi_wdc.c

Log Message:
fix deadlock in wdcwait() when xfer timeout happens while the atabus
thread sleeps in wdcwait() - check current lwp rather than relying
on global ATACH_TH_RUN channel flag

should fix the hang part of the problem reported in
http://mail-index.netbsd.org/netbsd-users/2020/03/12/msg024249.html

thanks to Paul Ripke for providing extensive debugging info


To generate a diff of this commit:
cvs rdiff -u -r1.153 -r1.154 src/sys/dev/ata/ata.c
cvs rdiff -u -r1.113 -r1.114 src/sys/dev/ata/ata_wdc.c
cvs rdiff -u -r1.103 -r1.104 src/sys/dev/ata/atavar.h
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/ic/mvsata.c
cvs rdiff -u -r1.297 -r1.298 src/sys/dev/ic/wdc.c
cvs rdiff -u -r1.136 -r1.137 src/sys/dev/scsipi/atapi_wdc.c

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




Home | Main Index | Thread Index | Old Index