mirror of
https://github.com/minio/minio.git
synced 2025-11-20 01:50:24 -05:00
XL/tree-walk: Added comments, changed variable names and structure fields to improve code readability. (#1856)
This commit is contained in:
committed by
Anand Babu (AB) Periasamy
parent
37551a2ad3
commit
acc393ba8b
4
xl-v1.go
4
xl-v1.go
@@ -44,7 +44,7 @@ type xlObjects struct {
|
||||
writeQuorum int // writeQuorum minimum required disks to write data.
|
||||
|
||||
// List pool management.
|
||||
listPool *treeWalkerPool
|
||||
listPool *treeWalkPool
|
||||
}
|
||||
|
||||
// errXLMaxDisks - returned for reached maximum of disks.
|
||||
@@ -161,7 +161,7 @@ func newXLObjects(disks []string) (ObjectLayer, error) {
|
||||
storageDisks: newPosixDisks,
|
||||
dataBlocks: dataBlocks,
|
||||
parityBlocks: parityBlocks,
|
||||
listPool: newTreeWalkerPool(globalLookupTimeout),
|
||||
listPool: newTreeWalkPool(globalLookupTimeout),
|
||||
}
|
||||
|
||||
// Figure out read and write quorum based on number of storage disks.
|
||||
|
||||
Reference in New Issue
Block a user