Date: Tue, 10 Sep 2019 20:27:44 +0000 (UTC) From: Mariusz Zaborski <oshogbo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r352186 - head/lib/geom/nop Message-ID: <201909102027.x8AKRiUS057918@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: oshogbo Date: Tue Sep 10 20:27:44 2019 New Revision: 352186 URL: https://svnweb.freebsd.org/changeset/base/352186 Log: gnop: Fix initial value for the wdelayprob Reported by: Chuck Silvers <chuq@chuq.com> Modified: head/lib/geom/nop/geom_nop.c Modified: head/lib/geom/nop/geom_nop.c ============================================================================== --- head/lib/geom/nop/geom_nop.c Tue Sep 10 20:21:47 2019 (r352185) +++ head/lib/geom/nop/geom_nop.c Tue Sep 10 20:27:44 2019 (r352186) @@ -53,7 +53,7 @@ struct g_command class_commands[] = { { 's', "size", "0", G_TYPE_NUMBER }, { 'S', "secsize", "0", G_TYPE_NUMBER }, { 'w', "wfailprob", "-1", G_TYPE_NUMBER }, - { 'x', "wdelayprob", "1", G_TYPE_NUMBER }, + { 'x', "wdelayprob", "-1", G_TYPE_NUMBER }, { 'z', "physpath", G_NOP_PHYSPATH_PASSTHROUGH, G_TYPE_STRING }, G_OPT_SENTINEL }, @@ -68,7 +68,7 @@ struct g_command class_commands[] = { { 'q', "rdelayprob", "-1", G_TYPE_NUMBER }, { 'r', "rfailprob", "-1", G_TYPE_NUMBER }, { 'w', "wfailprob", "-1", G_TYPE_NUMBER }, - { 'x', "wdelayprob", "1", G_TYPE_NUMBER }, + { 'x', "wdelayprob", "-1", G_TYPE_NUMBER }, G_OPT_SENTINEL }, "[-v] [-d delaymsec] [-e error] [-q rdelayprob] [-r rfailprob] "
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909102027.x8AKRiUS057918>