Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for diskHealthCheckOK (0.21 sec)

  1. cmd/metacache-walk.go

    			}
    			if opts.ReportNotFound && err == errFileNotFound && current == opts.BaseDir {
    				err = errFileNotFound
    			} else {
    				err = nil
    			}
    			diskHealthCheckOK(ctx, err)
    			return err
    		}
    		diskHealthCheckOK(ctx, err)
    		if len(entries) == 0 {
    			return nil
    		}
    		dirObjects := make(map[string]struct{})
    
    		// Avoid a bunch of cleanup when joining.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  2. 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
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 82.4K bytes
    - Viewed (0)
  3. 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.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 32.7K bytes
    - Viewed (0)
Back to top