Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 142 for diskfis (0.15 sec)

  1. cmd/admin-heal-ops.go

    func sortDisks(disks []madmin.Disk) {
    	sort.Slice(disks, func(i, j int) bool {
    		a, b := &disks[i], &disks[j]
    		if a.PoolIndex != b.PoolIndex {
    			return a.PoolIndex < b.PoolIndex
    		}
    		if a.SetIndex != b.SetIndex {
    			return a.SetIndex < b.SetIndex
    		}
    		return a.DiskIndex < b.DiskIndex
    	})
    }
    
    // getLocalHealingDisks returns local healing disks indexed by endpoint.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 18:04:41 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  2. cmd/data-scanner.go

    		healObjectSelect:      0,
    		scanMode:              scanMode,
    		weSleep:               weSleep,
    		updates:               cache.Info.updates,
    		updateCurrentPath:     updatePath,
    		disks:                 disks,
    		disksQuorum:           len(disks) / 2,
    	}
    
    	// Enable healing in XL mode.
    	if globalIsErasure && !cache.Info.SkipHealing {
    		// Do a heal check on an object once every n cycles. Must divide into healFolderInclude
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:43:17 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  3. cmd/endpoint.go

    // LocalDisksPaths returns the disk paths of the local disks
    func (l EndpointServerPools) LocalDisksPaths() []string {
    	var disks []string
    	for _, ep := range l {
    		for _, endpoint := range ep.Endpoints {
    			if endpoint.IsLocal {
    				disks = append(disks, endpoint.Path)
    			}
    		}
    	}
    	return disks
    }
    
    // NLocalDisksPathsPerPool returns the disk paths of the local disks per pool
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. pkg/controller/volume/attachdetach/util/util_test.go

    					PersistentVolumeSource: v1.PersistentVolumeSource{
    						CSI: &v1.CSIPersistentVolumeSource{
    							Driver:           "pd.csi.storage.gke.io",
    							VolumeHandle:     "projects/UNSPECIFIED/zones/UNSPECIFIED/disks/test-disk",
    							FSType:           "ext4",
    							ReadOnly:         false,
    							VolumeAttributes: map[string]string{"partition": ""},
    						},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 12 05:42:38 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-rebalance.go

    		return true
    	}
    
    	return false
    }
    
    func (set *erasureObjects) listObjectsToRebalance(ctx context.Context, bucketName string, fn func(entry metaCacheEntry)) error {
    	disks, _ := set.getOnlineDisksWithHealing(false)
    	if len(disks) == 0 {
    		return fmt.Errorf("no online drives found for set with endpoints %s", set.getEndpoints())
    	}
    
    	// However many we ask, versions must exist on ~50%
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  6. cmd/bucket-handlers_test.go

    	"fmt"
    	"io"
    	"net/http"
    	"net/http/httptest"
    	"strconv"
    	"testing"
    
    	"github.com/minio/minio/internal/auth"
    )
    
    // Wrapper for calling RemoveBucket HTTP handler tests for both Erasure multiple disks and single node setup.
    func TestRemoveBucketHandler(t *testing.T) {
    	ExecObjectLayerAPITest(ExecObjectLayerAPITestArgs{t: t, objAPITest: testRemoveBucketHandler, endpoints: []string{"RemoveBucket"}})
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  7. cmd/notification.go

    		if err != nil {
    			sys.addNodeErr(&reply[index], sys.peerClients[index], err)
    		}
    	}
    	return reply
    }
    
    // Construct a list of offline disks information for a given node.
    // If offlineHost is empty, do it for the local disks.
    func getOfflineDisks(offlineHost string, endpoints EndpointServerPools) []madmin.Disk {
    	var offlineDisks []madmin.Disk
    	for _, pool := range endpoints {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 44.9K bytes
    - Viewed (0)
  8. cmd/object-api-utils.go

    	}
    }
    
    // getDiskInfos returns the disk information for the provided disks.
    // If a disk is nil or an error is returned the result will be nil as well.
    func getDiskInfos(ctx context.Context, disks ...StorageAPI) []*DiskInfo {
    	res := make([]*DiskInfo, len(disks))
    	opts := DiskInfoOptions{}
    	for i, disk := range disks {
    		if disk == nil {
    			continue
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool-decom.go

    		return v[i].ModTime.Before(v[j].ModTime)
    	})
    }
    
    func (set *erasureObjects) listObjectsToDecommission(ctx context.Context, bi decomBucketInfo, fn func(entry metaCacheEntry)) error {
    	disks, _ := set.getOnlineDisksWithHealing(false)
    	if len(disks) == 0 {
    		return fmt.Errorf("no online drives found for set with endpoints %s", set.getEndpoints())
    	}
    
    	// However many we ask, versions must exist on ~50%
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 14:30:43 UTC 2024
    - 41.5K bytes
    - Viewed (1)
  10. cmd/object-api-interface.go

    	Marker       string                   // set to skip until this object
    	LatestOnly   bool                     // returns only latest versions for all matching objects
    	AskDisks     string                   // dictates how many disks are being listed
    	VersionsSort WalkVersionsSortOrder    // sort order for versions of the same object; default: Ascending order in ModTime
    }
    
    // ExpirationOptions represents object options for object expiration at objectLayer.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 20:27:52 UTC 2024
    - 17K bytes
    - Viewed (0)
Back to top