mirror of
https://github.com/minio/minio.git
synced 2026-11-03 08:24:20 +00:00
feat: Small object optimization read data in single bulk call (#11207)
This commit is contained in:
1 parent
c9d502e6fa
commit
c4131c2798
25 files changed
+439
-495
No files matched your search
@@ -24,6 +24,8 @@ import (
|
||||
|
||||
// DiskInfo is an extended type which returns current
|
||||
// disk usage per path.
|
||||
//msgp:tuple DiskInfo
|
||||
// The above means that any added/deleted fields are incompatible.
|
||||
type DiskInfo struct {
|
||||
Total uint64
|
||||
Free uint64
|
||||
@@ -42,6 +44,8 @@ type DiskInfo struct {
|
||||
type VolsInfo []VolInfo
|
||||
|
||||
// VolInfo - represents volume stat information.
|
||||
//msgp:tuple VolInfo
|
||||
// The above means that any added/deleted fields are incompatible.
|
||||
type VolInfo struct {
|
||||
// Name of the volume.
|
||||
Name string
|
||||
@@ -147,6 +151,9 @@ type FileInfo struct {
|
||||
MarkDeleted bool // mark this version as deleted
|
||||
DeleteMarkerReplicationStatus string
|
||||
VersionPurgeStatus VersionPurgeStatusType
|
||||
|
||||
// Data (actual data for the object)
|
||||
Data []byte
|
||||
}
|
||||
|
||||
// VersionPurgeStatusKey denotes purge status in metadata
|
||||
|
||||
Reference in new issue
Block a user