X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d1327f9456b561c059c18c76f63391728ce1780d..57d3837ca9a8c5e4e71f9741931cc67e908fb3dd:/services/keepstore/volume.go diff --git a/services/keepstore/volume.go b/services/keepstore/volume.go index 9bf291bdea..7966c41b92 100644 --- a/services/keepstore/volume.go +++ b/services/keepstore/volume.go @@ -195,6 +195,11 @@ type Volume interface { // will fail because it is full, but Mtime or Delete can // succeed -- then Writable should return false. Writable() bool + + // Replication returns the storage redundancy of the + // underlying device. It will be passed on to clients in + // responses to PUT requests. + Replication() int } // A VolumeManager tells callers which volumes can read, which volumes