Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 150 for ErasureN (0.17 sec)

  1. cmd/xl-storage-format-v2_gen.go

    					return
    				}
    				z.ErasureAlgorithm = ErasureAlgo(zb0002)
    			}
    		case "EcM":
    			z.ErasureM, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "ErasureM")
    				return
    			}
    		case "EcN":
    			z.ErasureN, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "ErasureN")
    				return
    			}
    		case "EcBSize":
    			z.ErasureBlockSize, err = dc.ReadInt64()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  2. 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])
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  3. cmd/erasure-coding.go

    	"github.com/minio/minio/internal/logger"
    )
    
    // Erasure - erasure encoding details.
    type Erasure struct {
    	encoder                  func() reedsolomon.Encoder
    	dataBlocks, parityBlocks int
    	blockSize                int64
    }
    
    // NewErasure creates a new ErasureStorage.
    func NewErasure(ctx context.Context, dataBlocks, parityBlocks int, blockSize int64) (e Erasure, err error) {
    	// Check the parameters for sanity now.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. cmd/erasure.go

    	// Shuffle buckets to ensure total randomness of buckets, being scanned.
    	// Otherwise same set of buckets get scanned across erasure sets always.
    	// at any given point in time. This allows different buckets to be scanned
    	// in different order per erasure set, this wider spread is needed when
    	// there are lots of buckets with different order of objects in them.
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. cmd/format-erasure.go

    	formatV2.Format = formatBackendErasure
    	formatV2.Erasure.Version = formatErasureVersionV2
    	formatV2.Erasure.DistributionAlgo = formatErasureVersionV2DistributionAlgoV1
    	formatV2.Erasure.This = formatV1.Erasure.Disk
    	formatV2.Erasure.Sets = make([][]string, 1)
    	formatV2.Erasure.Sets[0] = make([]string, len(formatV1.Erasure.JBOD))
    	copy(formatV2.Erasure.Sets[0], formatV1.Erasure.JBOD)
    
    	return json.Marshal(formatV2)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  6. cmd/erasure-metadata.go

    // ShardSize - returns actual shared size from erasure blockSize.
    func (e ErasureInfo) ShardSize() int64 {
    	return ceilFrac(e.BlockSize, int64(e.DataBlocks))
    }
    
    // IsValid - tells if erasure info fields are valid.
    func (fi FileInfo) IsValid() bool {
    	if fi.Deleted {
    		// Delete marker has no data, no need to check
    		// for erasure coding information
    		return true
    	}
    	dataBlocks := fi.Erasure.DataBlocks
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. cmd/erasure-healing.go

    		errs, latestMeta, bucket, object, scanMode)
    
    	var erasure Erasure
    	if !latestMeta.Deleted && !latestMeta.IsRemote() {
    		// Initialize erasure coding
    		erasure, err = NewErasure(ctx, latestMeta.Erasure.DataBlocks,
    			latestMeta.Erasure.ParityBlocks, latestMeta.Erasure.BlockSize)
    		if err != nil {
    			return result, err
    		}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.8K bytes
    - Viewed (0)
  8. docs/screenshots/erasure-code.png

    erasure-code.png...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 21 04:12:21 UTC 2017
    - 220.7K bytes
    - Viewed (0)
  9. cmd/erasure-decode_test.go

    			writers[i] = newBitrotWriter(disk, "", "testbucket", "object", erasure.ShardFileSize(test.data), writeAlgorithm, erasure.ShardSize())
    		}
    		n, err := erasure.Encode(context.Background(), bytes.NewReader(data), writers, buffer, erasure.dataBlocks+1)
    		closeBitrotWriters(writers)
    		if err != nil {
    			t.Fatalf("Test %d: failed to create erasure test file: %v", i, err)
    		}
    		if n != test.data {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. docs/screenshots/erasure-code.jpg

    erasure-code.jpg...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 29 16:10:47 UTC 2017
    - 105.7K bytes
    - Viewed (0)
Back to top