diff options
author | Jeff Darcy <jdarcy@fb.com> | 2017-07-26 11:56:04 -0700 |
---|---|---|
committer | Jeff Darcy <jeff@pl.atyp.us> | 2017-07-31 21:23:43 +0000 |
commit | 18cb1a87bb7c88657b499b22894b81f1f694b6ad (patch) | |
tree | 3a3b2732939533c9aaa2e8d2e266309021a79828 /xlators/nfs/server/src/mount3-auth.c | |
parent | 91c9f4a19fde4894576b398252c77f730832a26a (diff) |
error-gen: fix randomness
This generates errors in a truly random distribution, including streaks
and dry spells, instead of just setting a constant interval between
errors. It also supports very small error probabilities, down to 1ppm
instead of 1%. Also cleaned up some bad logic in the "random-failure"
case.
Change-Id: I17b058c4b86b0aa17dd5706250e6d44f242fcd9d
Signed-off-by: Jeff Darcy <jdarcy@fb.com>
Reviewed-on: https://review.gluster.org/17886
Smoke: Gluster Build System <jenkins@build.gluster.org>
Tested-by: Jeff Darcy <jeff@pl.atyp.us>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com>
Reviewed-by: Jeff Darcy <jeff@pl.atyp.us>
Diffstat (limited to 'xlators/nfs/server/src/mount3-auth.c')
0 files changed, 0 insertions, 0 deletions