Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for diskHealthCheckOK (0.14 sec)

  1. cmd/xl-storage.go

    	for _, volume := range volumes {
    		err := s.MakeVol(ctx, volume)
    		if err != nil && !errors.Is(err, errVolumeExists) {
    			return err
    		}
    		diskHealthCheckOK(ctx, err)
    	}
    	return nil
    }
    
    // Make a volume entry.
    func (s *xlStorage) MakeVol(ctx context.Context, volume string) error {
    	if !isValidVolname(volume) {
    		return errInvalidArgument
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  2. cmd/xl-storage-disk-id-check.go

    		return fmt.Errorf("disk ID %s does not match. disk reports %s", wantID, id)
    	}
    	return nil
    }
    
    // diskHealthCheckOK will check if the provided error is nil
    // and update disk status if good.
    // For convenience a bool is returned to indicate any error state
    // that is not io.EOF.
    func diskHealthCheckOK(ctx context.Context, err error) bool {
    	// Check if context has a disk health check.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top