X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/558574e31f56db08c82ca7c2b955e74df04242dd..39ccab11524517c101fad39eab02603022f15a99:/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