XL: Rename, cleanup and add more comments. (#1769)

- xl-v1-bucket.go - removes a whole bunch of code.
- {xl-v1,fs-v1}-metadata.go - add a lot of comments and rename functions
   appropriately.
This commit is contained in:
Harshavardhana
2016-05-26 03:15:01 -07:00
committed by Harshavardhana
parent 553fdb9211
commit b2293c2bf4
19 changed files with 207 additions and 290 deletions
+1 -8
View File
@@ -16,11 +16,7 @@
package main
import (
"errors"
"github.com/klauspost/reedsolomon"
)
import "github.com/klauspost/reedsolomon"
// erasure storage layer.
type erasure struct {
@@ -30,9 +26,6 @@ type erasure struct {
storageDisks []StorageAPI
}
// errUnexpected - returned for any unexpected error.
var errUnexpected = errors.New("Unexpected error - please report at https://github.com/minio/minio/issues")
// newErasure instantiate a new erasure.
func newErasure(disks []StorageAPI) *erasure {
// Initialize E.