Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for diskPaths (5.11 sec)

  1. cmd/erasure_test.go

    	dataBlocks   int
    	parityBlocks int
    	blockSize    int64
    	diskPaths    []string
    	disks        []StorageAPI
    }
    
    // Returns an initialized setup for erasure tests.
    func newErasureTestSetup(tb testing.TB, dataBlocks int, parityBlocks int, blockSize int64) (*erasureTestSetup, error) {
    	diskPaths := make([]string, dataBlocks+parityBlocks)
    	disks := make([]StorageAPI, len(diskPaths))
    	var err error
    	for i := range diskPaths {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jul 25 19:37:26 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  2. cmd/tier-journal.go

    // journal only to process existing journal entries made from previous versions.
    func (t *TierJournal) Init(ctx context.Context) error {
    	for _, diskPath := range globalEndpoints.LocalDisksPaths() {
    		t.diskPath = diskPath
    
    		go t.deletePending(ctx)  // for existing journal entries from previous MinIO versions
    		go t.processEntries(ctx) // for newer journal entries circa free-versions
    		return nil
    	}
    
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  3. internal/disk/root_disk.go

    package disk
    
    import "runtime"
    
    // IsRootDisk returns if diskPath belongs to root-disk, i.e the disk mounted at "/"
    func IsRootDisk(diskPath string, rootDisk string) (bool, error) {
    	if runtime.GOOS == "windows" {
    		// On windows this function is not implemented.
    		return false, nil
    	}
    	return SameDisk(diskPath, rootDisk)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.1K bytes
    - Viewed (0)
Back to top