Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for MakeVolBulk (0.13 sec)

  1. cmd/naughty-disk_test.go

    	if err := d.calcError(); err != nil {
    		return info, err
    	}
    	return d.disk.DiskInfo(ctx, opts)
    }
    
    func (d *naughtyDisk) MakeVolBulk(ctx context.Context, volumes ...string) (err error) {
    	if err := d.calcError(); err != nil {
    		return err
    	}
    	return d.disk.MakeVolBulk(ctx, volumes...)
    }
    
    func (d *naughtyDisk) MakeVol(ctx context.Context, volume string) (err error) {
    	if err := d.calcError(); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. cmd/storage-interface.go

    	// Volume operations.
    	MakeVol(ctx context.Context, volume string) (err error)
    	MakeVolBulk(ctx context.Context, volumes ...string) (err error)
    	ListVols(ctx context.Context) (vols []VolInfo, err error)
    	StatVol(ctx context.Context, volume string) (vol VolInfo, err error)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. cmd/storage-rest-client.go

    				return info, toStorageErr(errors.New(info.Error))
    			}
    			return info, nil
    		},
    	)
    
    	return client.diskInfoCache.GetWithCtx(ctx)
    }
    
    // MakeVolBulk - create multiple volumes in a bulk operation.
    func (client *storageRESTClient) MakeVolBulk(ctx context.Context, volumes ...string) (err error) {
    	return errInvalidArgument
    }
    
    // MakeVol - create a volume on a remote disk.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  4. cmd/xl-storage-disk-id-check.go

    	return info, nil
    }
    
    func (p *xlStorageDiskIDCheck) MakeVolBulk(ctx context.Context, volumes ...string) (err error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricMakeVolBulk, volumes...)
    	if err != nil {
    		return err
    	}
    	defer done(0, &err)
    
    	w := xioutil.NewDeadlineWorker(globalDriveConfig.GetMaxTimeout())
    	return w.Run(func() error { return p.storage.MakeVolBulk(ctx, volumes...) })
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    		dataUsageBucket,           // creates .minio.sys/buckets
    		minioConfigBucket,         // creates .minio.sys/config
    	}
    	// Attempt to create MinIO internal buckets.
    	return disk.MakeVolBulk(context.TODO(), volumes...)
    }
    
    // Initialize a new storage disk.
    func newXLStorage(ep Endpoint, cleanUp bool) (s *xlStorage, err error) {
    	immediatePurgeQueue := 100000
    	if globalIsTesting || globalIsCICD {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  6. cmd/storage-rest-server.go

    func (s *storageRESTServer) MakeVolBulkHandler(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		return
    	}
    	volumes := strings.Split(r.Form.Get(storageRESTVolumes), ",")
    	err := s.getStorage().MakeVolBulk(r.Context(), volumes...)
    	if err != nil {
    		s.writeErrorResponse(w, err)
    	}
    }
    
    // StatVolHandler - stat a volume.
    func (s *storageRESTServer) StatVolHandler(params *grid.MSS) (*VolInfo, *grid.RemoteErr) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
Back to top