]> git.michaelhowe.org Git - packages/o/openafs.git/commit
afscp: Fix -s option for writes
authorAndrew Deason <adeason@sinenomine.net>
Thu, 27 Jan 2011 19:13:21 +0000 (13:13 -0600)
committerStephan Wiesand <stephan.wiesand@desy.de>
Tue, 20 Aug 2013 22:26:40 +0000 (15:26 -0700)
commit83ef563a1ffadbc965c5863d11c488d46ceffc62
treef24a38b6f09b8644c12b64dddaddd95be0096546
parent23048745c9b8611a4e2e24c2b7ba01e103d8cf53
afscp: Fix -s option for writes

When writing to AFS with afscp, the -s option was sleeping before any
StoreData RPCs actually got issued to the fileserver. Move the sleep
to after we have done one rx_Read/rx_Write, so we sleep after starting
to contact the fileserver, to make sleeping while writing more
consistent with sleeping while reading.

Reviewed-on: http://gerrit.openafs.org/3762
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 380cc22a45dff7e40cd50d57a56742b59ccc4952)

Change-Id: I5bafad6958111bfb196adde79361939b00a176a1
Reviewed-on: http://gerrit.openafs.org/9417
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/tests/afscp.c