Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for Orivel (0.65 sec)

  1. internal/config/storageclass/storage-class.go

    	if ssParity > 0 && rrsParity > 0 {
    		if ssParity < rrsParity {
    			return fmt.Errorf("Standard storage class parity drives %d should be greater than or equal to Reduced redundancy storage class parity drives %d", ssParity, rrsParity)
    		}
    	}
    	return nil
    }
    
    // GetParityForSC - Returns the data and parity drive count based on storage class
    // If storage class is set using the env vars MINIO_STORAGE_CLASS_RRS and
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (1)
  2. cmd/endpoint-ellipses.go

    	// prefers setCounts to be sorted for optimal behavior.
    	if divisibleSize < setCounts[len(setCounts)-1] {
    		return divisibleSize
    	}
    
    	// Figure out largest value of total_drives_in_erasure_set which results
    	// in least number of total_drives/total_drives_erasure_set ratio.
    	prevD := divisibleSize / setCounts[0]
    	for _, cnt := range setCounts {
    		if divisibleSize%cnt == 0 {
    			d := divisibleSize / cnt
    			if d <= prevD {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  3. cmd/metrics-resource.go

    		readsPerSec:       "Reads per second on a drive",
    		writesPerSec:      "Writes per second on a drive",
    		readsKBPerSec:     "Kilobytes read per second on a drive",
    		writesKBPerSec:    "Kilobytes written per second on a drive",
    		readsAwait:        "Average time for read requests to be served on a drive",
    		writesAwait:       "Average time for write requests to be served on a drive",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  4. cmd/admin-heal-ops.go

    }
    
    func (h *healSequence) countFailed(res madmin.HealResultItem) {
    	h.mutex.Lock()
    	defer h.mutex.Unlock()
    
    	for _, d := range res.After.Drives {
    		// For failed items we report the endpoint and drive state
    		// This will help users take corrective actions for drives
    		h.healFailedItemsMap[d.Endpoint+","+d.State]++
    	}
    
    	h.lastHealActivity = UTCNow()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  5. cmd/format-erasure.go

    			return fmt.Errorf("%s drive is already being used in another erasure deployment. (Number of drives specified: %d but the number of drives found in the %s drive's format.json: %d)",
    				disks[i], len(formats), humanize.Ordinal(i+1), len(formatErasure.Erasure.Sets)*len(formatErasure.Erasure.Sets[0]))
    		}
    		if len(formatErasure.Erasure.Sets[0]) != setDriveCount {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  6. cmd/format-erasure_test.go

    	}
    	if formatV3.Erasure.This != m.Erasure.Disk {
    		t.Fatalf("expected drive uuid: %s, got: %s", m.Erasure.Disk, formatV3.Erasure.This)
    	}
    	if len(formatV3.Erasure.Sets) != 1 {
    		t.Fatalf("expected single set after migrating from v1 to v3, but found %d", len(formatV3.Erasure.Sets))
    	}
    	if !reflect.DeepEqual(formatV3.Erasure.Sets[0], m.Erasure.JBOD) {
    		t.Fatalf("expected drive uuid: %v, got: %v", m.Erasure.JBOD, formatV3.Erasure.Sets[0])
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  7. cmd/admin-router.go

    		adminRouter.Methods(http.MethodPost).Path(adminVersion + "/speedtest/object").HandlerFunc(adminMiddleware(adminAPI.ObjectSpeedTestHandler, noGZFlag))
    		adminRouter.Methods(http.MethodPost).Path(adminVersion + "/speedtest/drive").HandlerFunc(adminMiddleware(adminAPI.DriveSpeedtestHandler, noGZFlag))
    		adminRouter.Methods(http.MethodPost).Path(adminVersion + "/speedtest/net").HandlerFunc(adminMiddleware(adminAPI.NetperfHandler, noGZFlag))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  8. cmd/storage-rest-server.go

    func getStorageViaEndpoint(endpoint Endpoint) StorageAPI {
    	globalLocalDrivesMu.RLock()
    	defer globalLocalDrivesMu.RUnlock()
    	if len(globalLocalSetDrives) == 0 {
    		for _, drive := range globalLocalDrives {
    			if drive != nil && drive.Endpoint().Equal(endpoint) {
    				return drive
    			}
    		}
    	}
    	return globalLocalSetDrives[endpoint.PoolIdx][endpoint.SetIdx][endpoint.DiskIdx]
    }
    
    func (s *storageRESTServer) getStorage() StorageAPI {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  9. cmd/config-current.go

    			}
    		}
    	case config.DriveSubSys:
    		driveConfig, err := drive.LookupConfig(s[config.DriveSubSys][config.Default])
    		if err != nil {
    			configLogIf(ctx, fmt.Errorf("Unable to load drive config: %w", err))
    		} else {
    			if err = globalDriveConfig.Update(driveConfig); err != nil {
    				configLogIf(ctx, fmt.Errorf("Unable to update drive config: %v", err))
    			}
    		}
    	case config.CacheSubSys:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  10. scan.go

    package gorm
    
    import (
    	"database/sql"
    	"database/sql/driver"
    	"reflect"
    	"time"
    
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils"
    )
    
    // prepareValues prepare values slice
    func prepareValues(values []interface{}, db *DB, columnTypes []*sql.ColumnType, columns []string) {
    	if db.Statement.Schema != nil {
    		for idx, name := range columns {
    			if field := db.Statement.Schema.LookUpField(name); field != nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 09:53:11 GMT 2024
    - 9.8K bytes
    - Viewed (0)
Back to top