Merge branch '8959-python-gflags-dependencies'
[arvados.git] / services / keepstore / volume.go
index 58710c04b269a57af236fbb36f5a6aaa61d9b256..17da54fdadbca571cae93fde18342d2776b4e3a7 100644 (file)
@@ -204,6 +204,10 @@ type Volume interface {
        // underlying device. It will be passed on to clients in
        // responses to PUT requests.
        Replication() int
+
+       // EmptyTrash looks for trashed blocks that exceeded trashLifetime
+       // and deletes them from the volume.
+       EmptyTrash()
 }
 
 // A VolumeManager tells callers which volumes can read, which volumes