Source-Changes-HG archive

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

[src/jdolecek-ncqfixes]: src/sys/dev/ata list goals for the jdolecek-ncqfixes...



details:   https://anonhg.NetBSD.org/src/rev/f5245a14b5f6
branches:  jdolecek-ncqfixes
changeset: 850571:f5245a14b5f6
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Fri Aug 31 19:15:04 2018 +0000

description:
list goals for the jdolecek-ncqfixes branch

diffstat:

 sys/dev/ata/TODO.ncq |  15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 78f623636513 -r f5245a14b5f6 sys/dev/ata/TODO.ncq
--- a/sys/dev/ata/TODO.ncq      Fri Aug 31 19:08:03 2018 +0000
+++ b/sys/dev/ata/TODO.ncq      Fri Aug 31 19:15:04 2018 +0000
@@ -1,3 +1,16 @@
+jdolecek-ncqfixes goals:
+- make ata_xfer dynamically allocated per-drive using a pool
+  - fixes: queue is allocated regardless if there are any drives, fix? 
+- remove limit of queued ata_xfers, allow any number of pending xfers;
+  this should fix kern/52614 AKA wdc-attached ATAPI cd(4)
+- remove the wd(4) flush condition, just allocate a dynamic ata_xfer
+- change wd(4) dump code to use on-stack ata_xfer to not rely on pool having
+  memory
+- re-fix QEMU ahci(4) bug workaround (no READ LOG EXT support) - now it
+  triggers KASSERT()
+- fix ahci(4) error handling under paralles - invalid bio via WD_CHAOS_MONKEY
+  ends up being handled as NOERROR, triggering KASSERT() in wd(4)
+
 Bugs
 ----
 test wd* at umass?, confirm the ata_channel kludge works
@@ -15,8 +28,6 @@
 maybe do device error handling in not-interrupt-context (maybe this should be
 done on a mpata branch?)
 
-queue is allocated regardless if there are any drives, fix? 
-
 dump to unopened disk fails (e.g. dump do wd1b when wd1a not mounted), due
 to the open path executing ata_get_params(), which eventually tsleeps()
 while waiting for the command to finish; specifically, if WDF_LOADED is not



Home | Main Index | Thread Index | Old Index