nata - Drop pending requests on dump
authorAlex Hornung <ahornung@gmail.com>
Tue, 13 Apr 2010 16:32:08 +0000 (16:32 +0000)
committerAlex Hornung <ahornung@gmail.com>
Tue, 13 Apr 2010 16:35:06 +0000 (16:35 +0000)
commitef35240304518887c0472fda71a672a0c29be0f2
tree99da165b6936e0c776a614a6e3ca88c7f5aa230b
parent471cb6fa7d2a8bdb0d92b3a7451068fbdea4b9f1
nata - Drop pending requests on dump

* Drop all pending requests in the ata queue when we are about to dump.

* This should solve issues that have been appearing lately causing a
  TAILQ_NEXT panic on dumps with nata under heavy I/O.

Reported-by: Jan Lentfer (lentferj@), Antonio Huete (tuxillo@)
Obtained-from: FreeBSD
sys/dev/disk/nata/ata-all.h
sys/dev/disk/nata/ata-disk.c
sys/dev/disk/nata/ata-queue.c