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-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-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

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

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

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

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-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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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-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

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

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

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

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-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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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-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 -

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 -

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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;

  1   2   >