Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for DataBlocks (0.2 sec)

  1. cmd/object-api-datatypes_gen.go

    			z.Inlined, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Inlined")
    				return
    			}
    		case "DataBlocks":
    			z.DataBlocks, bts, err = msgp.ReadIntBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "DataBlocks")
    				return
    			}
    		case "ParityBlocks":
    			z.ParityBlocks, bts, err = msgp.ReadIntBytes(bts)
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 69.8K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-rebalance.go

    	if fi.IsLatest {
    		rs.NumObjects++
    	}
    
    	rs.NumVersions++
    	onDiskSz := int64(0)
    	if !fi.Deleted {
    		onDiskSz = fi.Size * int64(fi.Erasure.DataBlocks+fi.Erasure.ParityBlocks) / int64(fi.Erasure.DataBlocks)
    	}
    	rs.Bytes += uint64(onDiskSz)
    	rs.Bucket = bucket
    	rs.Object = fi.Name
    }
    
    type rstats []*rebalanceStats
    
    //go:generate stringer -type=rebalStatus -trimprefix=rebal $GOFILE
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  3. cmd/erasure-healing_test.go

    	}
    
    	// Test 4: checks if HealObject returns an error when xl.meta is not found
    	// in more than read quorum number of disks, to create a corrupted situation.
    	for i := 0; i <= nfi.Erasure.DataBlocks; i++ {
    		erasureDisks[i].Delete(context.Background(), bucket, pathJoin(object, xlStorageFormatFile), DeleteOptions{
    			Recursive: false,
    			Immediate: false,
    		})
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  4. cmd/erasure-multipart.go

    	defer func() {
    		if countOnlineDisks(onlineDisks) != len(onlineDisks) {
    			er.deleteAll(context.Background(), minioMetaTmpBucket, tmpPart)
    		}
    	}()
    
    	erasure, err := NewErasure(pctx, fi.Erasure.DataBlocks, fi.Erasure.ParityBlocks, fi.Erasure.BlockSize)
    	if err != nil {
    		return pi, toObjectErr(err, bucket, object)
    	}
    
    	// Fetch buffer for I/O, returns from the pool if not allocates a new one and returns.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  5. cmd/object-api-datatypes.go

    	//  The modtime of the successor object version if any
    	SuccessorModTime time.Time
    
    	// Checksums added on upload.
    	// Encoded, maybe encrypted.
    	Checksum []byte
    
    	// Inlined
    	Inlined bool
    
    	DataBlocks   int
    	ParityBlocks int
    }
    
    // ExpiresStr returns a stringified version of Expires header in http.TimeFormat
    func (o ObjectInfo) ExpiresStr() string {
    	var expires string
    	if !o.Expires.IsZero() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2.go

    		fi.Metadata[xhttp.AmzBucketReplicationStatus] = string(replStatus)
    	}
    	fi.Erasure.Algorithm = j.ErasureAlgorithm.String()
    	fi.Erasure.Index = j.ErasureIndex
    	fi.Erasure.BlockSize = j.ErasureBlockSize
    	fi.Erasure.DataBlocks = j.ErasureM
    	fi.Erasure.ParityBlocks = j.ErasureN
    	fi.Erasure.Distribution = make([]int, len(j.ErasureDist))
    	for i := range j.ErasureDist {
    		fi.Erasure.Distribution[i] = int(j.ErasureDist[i])
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  7. cmd/xl-storage_test.go

    		fi := FileInfo{
    			Name: object, Volume: volume, VersionID: versions[i], ModTime: UTCNow(), DataDir: "", Size: 10000,
    			Erasure: ErasureInfo{
    				Algorithm:    erasureAlgorithm,
    				DataBlocks:   4,
    				ParityBlocks: 4,
    				BlockSize:    blockSizeV2,
    				Index:        1,
    				Distribution: []int{0, 1, 2, 3, 4, 5, 6, 7},
    				Checksums:    nil,
    			},
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top