diff options
author | Jeff Darcy <jdarcy@redhat.com> | 2014-01-15 00:44:48 +0000 |
---|---|---|
committer | Jeff Darcy <jdarcy@redhat.com> | 2014-01-22 16:10:37 +0000 |
commit | 007182f1aad9d14e8d5bc7771d500b35026f0afa (patch) | |
tree | 7d59e8456343017fe1c59248ac433f0d49bbb274 /tests/basic/nsr.t | |
parent | 3920b73526e2e2a4bf3187c5d9d68bb140f85d7f (diff) |
Fix write-queuing logic.
The write path for followers would call STACK_WIND without incrementing
ictx->active first. Therefore, when we got to nsr_writev_complete, we'd
decrement from zero (overflow). That write would succeed, but then the
next would see ictx->active was set and queue instead of executing.
Change-Id: I05714165d68b91abfc7f274ef9f011204dbe496f
Signed-off-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'tests/basic/nsr.t')
-rwxr-xr-x | tests/basic/nsr.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic/nsr.t b/tests/basic/nsr.t index 5d6faf78e..5dd97f2bf 100755 --- a/tests/basic/nsr.t +++ b/tests/basic/nsr.t @@ -13,7 +13,7 @@ function get_rep_count { } function ping_file { - dd if=/dev/urandom of=$1 bs=4k count=1 2> /dev/null + dd if=/dev/urandom of=$1 bs=4k count=100 2> /dev/null } cleanup |