client-omit-zero-length-reads-20050804
authorRainer Toebbicke <rtb@pclella.cern.ch>
Thu, 4 Aug 2005 21:44:57 +0000 (21:44 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 4 Aug 2005 21:44:57 +0000 (21:44 +0000)
commitc264965a635a71e3b21d49da7dc0998a87dd67ba
tree56e38f440ae3ec904188ce0e971213272fe2eb66
parentb607770bc5d8a3ebe64153e906787a4fdb48eddc
client-omit-zero-length-reads-20050804

The attached patch restores the behaviour of the 1.2.x client: writes
appending to a file do not trigger a 0-length read which at best updates the
current status. If another cache manager wrote to the same file in the
meantime, the file status is updated only after the StoreData RPC (and for
the changes the last one wins).
src/afs/afs_dcache.c