CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-10-07 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Oct 7 15:24:36 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: wd.c wdvar.h Log Message: make usage of NCQ 'high' priority for BPRIO_TIMECRITICAL xfers settable via sysctl, too To generate a diff of this commit:

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-09-29 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri Sep 29 20:05:07 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq ata.c atavar.h Log Message: introduce ATA_BSIZE and use it instead of DEV_BSIZE for get params and recovery, where they are by spec 512 bytes

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-09-28 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu Sep 28 20:34:23 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq wd.c wdvar.h Log Message: add sysctls to control if NCQ is being used, and how many max tags; I have a drive which is significantly slower wit

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-09-28 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu Sep 28 20:25:45 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq Log Message: add note about DEV_BSIZE use To generate a diff of this commit: cvs rdiff -u -r1.1.2.44 -r1.1.2.45 src/sys/dev/ata/TODO.ncq Pl

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-09-27 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Sep 27 19:05:57 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: ata.c atavar.h Log Message: restore the atac_claim_hw and atac_free_hw hooks, they are used on atari To generate a diff of this commit: cvs rdiff -u

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-09-26 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Sep 26 20:15:36 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: ata_wdc.c atavar.h Log Message: make compile without NATA_DMA To generate a diff of this commit: cvs rdiff -u -r1.105.6.10 -r1.105.6.11 src/sys/dev/a

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-09-25 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Sep 25 22:43:46 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: ata.c Log Message: put recovery command on head of active xfers queue, so that drivers using ata_queue_get_active_xfer() like mvsata(4) will find it an

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-09-23 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Sep 23 14:53:26 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: ata.c Log Message: note to previous: the KASSERT() insisted actually there is at most one active xfer, which is false during NCQ error recovery To ge

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-09-23 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Sep 23 13:13:19 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: ata.c Log Message: remove ata_queue_get_active_xfer() KASSERT() about having at least one active xfer; it can happen we get interrupt while no longer h

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-09-21 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu Sep 21 18:47:21 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: ata_wdc.c Log Message: add missing ata_channel_unlock() in bailout path of wdc_ata_bio_intr() To generate a diff of this commit: cvs rdiff -u -r1.105

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-09-21 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu Sep 21 17:15:18 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq Log Message: wddone() doesn't need more locking To generate a diff of this commit: cvs rdiff -u -r1.1.2.43 -r1.1.2.44 src/sys/dev/ata/TODO.n

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-09-20 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Sep 20 19:45:37 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq Log Message: MVSATA_WITHOUTDMA seems to work fine To generate a diff of this commit: cvs rdiff -u -r1.1.2.42 -r1.1.2.43 src/sys/dev/ata/TODO

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-09-20 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Sep 20 19:39:36 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: ata.c Log Message: add forgotten destroy of queue_idle cv in ata_queue_free() To generate a diff of this commit: cvs rdiff -u -r1.132.8.33 -r1.132.8.

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-09-13 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Sep 13 19:55:12 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq Log Message: two more - mvsata MVSATA_WITHOUTDMA seems to be broken, and latest channel lock changes introduced panic in mi_switch() on code p

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-09-11 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Sep 11 22:31:42 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq Log Message: doesn't seem the freeze/thaw in error recovery can cause the thread to panic, all commands within are executed as polled and henc

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-09-11 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Sep 11 22:30:05 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq Log Message: atastart() rechecked - it's okay to call it even in error path in those several cases we do, it's just optimization to skip the c

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-09-11 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Sep 11 22:16:18 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: ata.c Log Message: move debug printf where it belongs To generate a diff of this commit: cvs rdiff -u -r1.132.8.31 -r1.132.8.32 src/sys/dev/ata/ata.c

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-09-10 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Sep 10 19:22:57 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: ata.c Log Message: fix regression in atabus_thread() when it was converted from spl to mutex - the reset and c_start() routines expect to run on splbio

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-09-02 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Sep 2 12:01:25 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: wdvar.h Log Message: include opt_wd.h instead of opt_wd_softbadsect.h, the option doesn't have private file any more To generate a diff of this comm

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-08-29 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Aug 29 13:38:38 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq Log Message: some notes around c_start/atastart() To generate a diff of this commit: cvs rdiff -u -r1.1.2.36 -r1.1.2.37 src/sys/dev/ata/TODO

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-08-15 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Aug 15 11:21:32 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: ata.c Log Message: explicitly do not try to activate any further commands when running recovery xfer; it was kind of implied since the code would not q

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-08-13 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Aug 13 15:12:04 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: wd.c Log Message: by default make the chaos monkey do nothing, so it's easier to have this compiled in all the time for testing; the vars can be set vi

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-08-13 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Aug 13 11:46:32 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq Log Message: move the dump note to post-merge, it's not new siisata seems to be fine, no longer holds the merge remove the kill active transf

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-08-13 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Aug 13 11:40:25 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: wd.c Log Message: restore the fallback to non-NCQ on retries, do this after WDIORETRIES_SINGLE retries, but only for non-FUA I/O; also only do the ATA_

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-08-12 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Aug 12 22:31:50 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: ata.c Log Message: use AT_LBA48 flag for the READ LOG EXT - it's required so that e.g. mvsata() executes the command using wdccommandext(), it fails wh

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-08-12 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Aug 12 15:08:38 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: ata.c Log Message: take atabus_qlock while inserting into atabus_initq_head to avoid race in attach and rescan; just cleanup, noticed this while doing

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-08-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Aug 1 22:04:48 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq Log Message: another one down To generate a diff of this commit: cvs rdiff -u -r1.1.2.31 -r1.1.2.32 src/sys/dev/ata/TODO.ncq Please note th

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-08-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Aug 1 21:41:26 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: ata.c Log Message: make atastart() schedule as many commands as possible, instead of always only one; makes it able to pick up pace again after process

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-08-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Aug 1 21:39:51 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: ata.c atavar.h Log Message: move the drive recovery block to drive struct, it's inherently per-drive To generate a diff of this commit: cvs rdiff -u

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-07-31 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Jul 31 20:11:17 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq Log Message: some more notes To generate a diff of this commit: cvs rdiff -u -r1.1.2.30 -r1.1.2.31 src/sys/dev/ata/TODO.ncq Please note tha

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-07-30 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Jul 30 20:16:29 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: wd.c Log Message: actually change the retry to also use NCQ - with one drive I see very frequent fatal errors on siisata when switching often between N

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-07-29 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Jul 29 12:58:30 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: ata.c atavar.h Log Message: reserve the highest slot for error recovery, and also have ata_channel include space for the READ LOG EXT sector, so that i

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-07-29 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Jul 29 12:51:22 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: wd.c Log Message: actually count the REQUEUE as retry also, so that it will be retried as non-NCQ, will not be subject to chaos monkey, and reported as

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-07-26 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Jul 26 18:12:12 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: satapmp_subr.c Log Message: write the device and channel for port multiplier attach (not just the atabus), so it's easier to check To generate a diff

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-07-23 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Jul 23 13:50:43 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: wd.c Log Message: for wd, only call disk_busy() on the first try, do not call it on retries, as unbusy is called just once when the xfer is finished a

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-07-22 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Jul 22 22:02:21 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: ata.c atavar.h Log Message: provide channel flag when executing NCQ commands, so that e.g. intr handler can use this for handling decisions without che

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-07-21 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri Jul 21 18:12:37 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: ata.c Log Message: add checksum verification for data returned by READ LOG EXT; this is mostly just paranoia for eventual driver/hw DMA bugs this does

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-07-21 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri Jul 21 17:32:27 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: atavar.h wd.c Log Message: KASSERT() that chaosed xfer actually ends up with error; might end up being returned as successful due to bugs in error reco

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-07-19 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Jul 19 20:26:52 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq Log Message: update to note remaining work move some stuff to 'after-merge' To generate a diff of this commit: cvs rdiff -u -r1.1.2.29 -r1.

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-07-19 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Jul 19 19:46:52 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: files.ata wd.c Log Message: defflag WD_CHAOS_MONKEY into opt_wd.h together with WD_SOFTBADSECT to set/unset this more easily To generate a diff of th

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-07-19 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Jul 19 19:39:28 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: ata.c atareg.h atavar.h satafis_subr.c satafisvar.h wd.c wdvar.h Log Message: tighen and expand error handling, mostly for NCQ use cases: -

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-07-03 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Jul 3 19:54:44 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: wd.c Log Message: reset xfer c_flags before retry, to clear flags like C_TIMEOU, or C_NCQ, so that retry, and no-NCQ downgrade logic actually works - d

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-07-03 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Jul 3 19:31:16 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: wd.c Log Message: introduce some code to test retry paths To generate a diff of this commit: cvs rdiff -u -r1.428.2.23 -r1.428.2.24 src/sys/dev/ata/w

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-07-03 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Jul 3 18:17:01 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq Log Message: expand what needs to be done with error handling To generate a diff of this commit: cvs rdiff -u -r1.1.2.28 -r1.1.2.29 src/sys/

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-06-28 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Jun 28 19:54:38 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq Log Message: ATAPI on siisata(4), ahcisata(4) tested To generate a diff of this commit: cvs rdiff -u -r1.1.2.27 -r1.1.2.28 src/sys/dev/ata/T

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-06-27 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Jun 27 18:16:50 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq Log Message: note ATAPI on siisata, ahcisata needs to be tested To generate a diff of this commit: cvs rdiff -u -r1.1.2.26 -r1.1.2.27 src/sy

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-06-24 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Jun 24 14:57:17 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: ata.c Log Message: change ata_delay() to tsleep for 1 hz rather than indefinitely if provided ms is lower than 1 hz To generate a diff of this commit

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-06-23 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Jun 24 00:00:10 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq wd.c Log Message: only limit the openings for I/O xfer if the drive actually supports NCQ; if it's non-NCQ drive, the tag is not going to be u

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-06-23 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri Jun 23 23:45:09 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: wd.c Log Message: add debug printf if we fail to obtain xfer in wddump() To generate a diff of this commit: cvs rdiff -u -r1.428.2.21 -r1.428.2.22 sr

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-06-23 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri Jun 23 22:11:13 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: wd.c Log Message: change wd_standby() to remove the ata_channel_start() call - the purpose of that particular command is to make the drive idle fix lo

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-06-23 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri Jun 23 20:40:51 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq ata.c atavar.h wd.c wdvar.h Log Message: restart I/O processing after freeing xfer, i.e. now even after commands like cache flush or standby;

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-06-21 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Jun 21 22:40:43 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq ata.c atavar.h Log Message: hold channel lock for ata_exec_xfer() and most of atastart(), convert C_WAITACT handling to use condvar add comme

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-06-20 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Jun 20 21:55:09 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq Log Message: some more notes for dump on unopened device (PR kern/16789) To generate a diff of this commit: cvs rdiff -u -r1.1.2.19 -r1.1.2.

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-06-19 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Jun 19 17:11:24 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: wd.c Log Message: ata subsystem needs more work before wd(4) could be MPSAFE To generate a diff of this commit: cvs rdiff -u -r1.428.2.16 -r1.428.2.1

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-06-17 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Jun 17 19:24:26 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq Log Message: more notes, esp. PMP on siisata doesn't work + more problems with downsize To generate a diff of this commit: cvs rdiff -u -r1.

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-06-17 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Jun 17 14:01:36 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq ata.c satapmp_subr.c Log Message: make PMP working great again tested with mvsata(4), my ahcisata(4) controller unfortunately doesn't support

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-06-16 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri Jun 16 18:01:10 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq Log Message: notes from dump testing - TL;DR: broken, fixing To generate a diff of this commit: cvs rdiff -u -r1.1.2.14 -r1.1.2.15 src/sys/d

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-06-14 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Jun 14 20:17:46 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: wd.c Log Message: put back reset of retry count to 0 when starting processing a buf do not use NCQ for retried transfers to speed up recovery, unless

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-06-12 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Mon Jun 12 23:25:06 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq Log Message: Add a few more NCQ branch action items. To generate a diff of this commit: cvs rdiff -u -r1.1.2.12 -r1.1.2.13 src/sys/dev/ata/T

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-06-12 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Jun 12 21:53:19 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq Log Message: update notes To generate a diff of this commit: cvs rdiff -u -r1.1.2.11 -r1.1.2.12 src/sys/dev/ata/TODO.ncq Please note that d

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-04-24 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Apr 24 22:20:23 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq ata.c atareg.h atavar.h wd.c Log Message: set NCQ priority field to 'high' for BPRIO_TIMECRITICAL transfers if drive supports it To generate

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-04-24 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Apr 24 14:07:29 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: wd.c Log Message: ata_free_xfer() must be called with lock held, same as ata_get_xfer() To generate a diff of this commit: cvs rdiff -u -r1.428.2.12

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-04-24 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Apr 24 10:46:42 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq Log Message: one down To generate a diff of this commit: cvs rdiff -u -r1.1.2.8 -r1.1.2.9 src/sys/dev/ata/TODO.ncq Please note that diffs a

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-04-24 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Apr 24 09:57:22 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: wd.c Log Message: sync with HEAD, remove the nonfunctional Seagate 'mod15write' bug workaround To generate a diff of this commit: cvs rdiff -u -r1.42

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-04-23 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Apr 23 09:16:35 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq Log Message: note possible problem with ata_exec_xfer() To generate a diff of this commit: cvs rdiff -u -r1.1.2.7 -r1.1.2.8 src/sys/dev/ata/

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-04-22 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Sun Apr 23 01:30:30 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: ata.c Log Message: Use WDC_QUEUE_DEPTH_MASK to correctly mask the NCQ depth IDENTIFY data. To generate a diff of this commit: cvs rdiff -u -r1.132.8.

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-04-22 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Sun Apr 23 01:21:04 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: wd.c wdvar.h Log Message: Simplify wi_find() with container_of(). No need to search a list of wd_ioctls when the *bp is always going to be within the

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-04-22 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Sat Apr 22 20:07:54 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: wd.c Log Message: Avoid destroying uninitialized xfer on error in wdioctlstrategy(). To generate a diff of this commit: cvs rdiff -u -r1.428.2.9 -r1.

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-04-21 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri Apr 21 10:54:27 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq Log Message: move the wd* at umass? item to bugs, too To generate a diff of this commit: cvs rdiff -u -r1.1.2.6 -r1.1.2.7 src/sys/dev/ata/TO

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-04-21 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri Apr 21 10:53:43 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq Log Message: group items, slightly expand description To generate a diff of this commit: cvs rdiff -u -r1.1.2.5 -r1.1.2.6 src/sys/dev/ata/TO

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-04-20 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu Apr 20 20:23:49 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq Log Message: remove ahci timeouts, fixed by Jonathan To generate a diff of this commit: cvs rdiff -u -r1.1.2.4 -r1.1.2.5 src/sys/dev/ata/TOD

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-04-19 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Apr 19 22:02:32 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq Log Message: note the QEMU bug To generate a diff of this commit: cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/dev/ata/TODO.ncq Please note tha

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-04-19 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Apr 19 21:42:39 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: ata.c atareg.h atavar.h wd.c Log Message: add ATA FUA support To generate a diff of this commit: cvs rdiff -u -r1.132.8.5 -r1.132.8.6 src/sys/dev/ata

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-04-19 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Apr 19 21:02:43 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq wd.c Log Message: up to 65536 sectors can be transferred for LBA48 commands; adjust wdminphys() and wdstart1() accordingly To generate a dif

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-04-19 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Apr 19 20:49:58 UTC 2017 Added Files: src/sys/dev/ata [jdolecek-ncq]: TODO.ncq Log Message: bunch of random observations To generate a diff of this commit: cvs rdiff -u -r0 -r1.1.2.1 src/sys/dev/ata/TODO.ncq Please note t

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-04-15 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Apr 15 20:22:42 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: wd.c Log Message: tweak english To generate a diff of this commit: cvs rdiff -u -r1.428.2.5 -r1.428.2.6 src/sys/dev/ata/wd.c Please note that diffs

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-04-15 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Apr 15 18:02:09 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: wd.c wdvar.h Log Message: probe for NCQ and WRITE DMA FUA EXT support To generate a diff of this commit: cvs rdiff -u -r1.428.2.4 -r1.428.2.5 src/sys

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-04-12 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Apr 12 22:28:20 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: wd.c Log Message: more MP To generate a diff of this commit: cvs rdiff -u -r1.428.2.1 -r1.428.2.2 src/sys/dev/ata/wd.c Please note that diffs are no

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-04-12 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Apr 12 21:59:14 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: wd.c wdvar.h Log Message: convert to mutex, mark MPSAFE To generate a diff of this commit: cvs rdiff -u -r1.428 -r1.428.2.1 src/sys/dev/ata/wd.c cvs

CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-04-11 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Apr 11 18:15:03 UTC 2017 Modified Files: src/sys/dev/ata [jdolecek-ncq]: ata.c atavar.h Log Message: hide active_xfer from drivers To generate a diff of this commit: cvs rdiff -u -r1.132.8.1 -r1.132.8.2 src/sys/dev/ata/ata