Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for ParityBlocks (0.13 sec)

  1. cmd/object-api-datatypes_gen.go

    			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 {
    				err = msgp.WrapError(err, "ParityBlocks")
    				return
    			}
    		default:
    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  2. cmd/erasure-healing_test.go

    		if errors.Is(err, errFileNotFound) {
    			continue
    		}
    		if err != nil {
    			t.Fatalf("Failed to getLatestFileInfo - %v", err)
    		}
    
    		for i := 0; i < nfi.Erasure.ParityBlocks; i++ {
    			erasureDisks[i].Delete(context.Background(), bucket, pathJoin(object, xlStorageFormatFile), DeleteOptions{
    				Recursive: false,
    				Immediate: false,
    			})
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  3. cmd/erasure-multipart.go

    		if countOnlineDisks(onlineDisks) != len(onlineDisks) {
    			er.deleteAll(context.Background(), minioMetaTmpBucket, tmpPart)
    		}
    	}()
    
    	erasure, err := NewErasure(ctx, 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.
    	var buffer []byte
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  4. 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2.go

    	}
    	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])
    	}
    	fi.DataDir = uuid.UUID(j.DataDir).String()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  6. 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,
    			},
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
Back to top