Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for diskHealthCheckOK (0.08 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.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 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
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K 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.
    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