3448: code review comments.
authorTim Pierce <twp@curoverse.com>
Thu, 21 Aug 2014 19:55:47 +0000 (15:55 -0400)
committerTim Pierce <twp@curoverse.com>
Thu, 21 Aug 2014 19:55:47 +0000 (15:55 -0400)
commitdc2bf5c81e26595f336b4fee9cbb3f138ed76d31
tree7cabee0e03cf6d074019b688fcb89dad1b172e40
parent12e80e523f1178c0db49a3c9d856d17bb7855dfe
3448: code review comments.

Extend GetBlock() to optionally update the file modification time, so
PUT operations can update the timestamp of an existing block.

UnixVolume.Delete() returns nil if the file is too new to delete (the
reasoning here is that this is the correct thing for the server to do,
even if the result technically does not fulfill the user's request, so
the server should return success).

Refs #3448.
services/keepstore/handlers.go
services/keepstore/keepstore_test.go
services/keepstore/volume_unix.go