Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Younis (0.17 sec)

  1. docs/distributed/DESIGN.md

    ```
    minio server /mnt/controller{1...4}/data{1...16}
    ```
    
    Standalone erasure coded configuration with 16 sets, 16 drives per set, across mounts and controllers.
    
    ```
    minio server /mnt{1...4}/controller{1...4}/data{1...16}
    ```
    
    Distributed erasure coded configuration with 2 sets, 16 drives per set across hosts.
    
    ```
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 8K bytes
    - Viewed (0)
  2. internal/mountinfo/mountinfo_linux_test.go

    	mountsPath := filepath.Join(dir, "mounts")
    	if err = os.WriteFile(mountsPath, []byte(successCase), 0o666); err != nil {
    		t.Fatal(err)
    	}
    	// Verifies if reading each line worked properly.
    	{
    		var mounts mountInfos
    		mounts, err = readProcMounts(mountsPath)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if len(mounts) != 3 {
    			t.Fatalf("expected 3 mounts, got %d", len(mounts))
    		}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  3. internal/http/request-recorder.go

    	// total bytes read including header size
    	bytesRead int
    }
    
    // Close is a no operation closer
    func (r *RequestRecorder) Close() error {
    	// no-op
    	return nil
    }
    
    // Read reads from the internal reader and counts/save the body in the memory
    func (r *RequestRecorder) Read(p []byte) (n int, err error) {
    	n, err = r.Reader.Read(p)
    	r.bytesRead += n
    
    	if r.LogBody {
    		r.buf.Write(p[:n])
    	}
    	if err != nil {
    		return n, err
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Apr 12 21:37:19 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  4. internal/mountinfo/mountinfo_windows.go

    package mountinfo
    
    import (
    	"path/filepath"
    	"sync"
    
    	"golang.org/x/sys/windows"
    )
    
    // CheckCrossDevice - check if any input path has multiple sub-mounts.
    // this is a dummy function and returns nil for now.
    func CheckCrossDevice(paths []string) error {
    	return nil
    }
    
    // mountPointCache contains results of IsLikelyMountPoint
    var mountPointCache sync.Map
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 2K bytes
    - Viewed (0)
  5. cmd/site-replication-metrics.go

    type RTimedMetrics struct {
    	LastHour    ReplicationLastHour `json:"lastHour"`
    	SinceUptime RStat               `json:"sinceUptime"`
    	LastMinute  ReplicationLastMinute
    	// Error counts
    	ErrCounts map[string]int `json:"errCounts"` // Count of credential errors
    }
    
    func (rt *RTimedMetrics) String() string {
    	s := rt.toMetric()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  6. internal/mountinfo/mountinfo_linux.go

    func checkCrossDevice(absPaths []string, mountsPath string) error {
    	mounts, err := readProcMounts(mountsPath)
    	if err != nil {
    		return err
    	}
    	for _, path := range absPaths {
    		if err := mounts.checkCrossMounts(path); err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    // CheckCrossDevice - check if given path has any sub-mounts in the input mounts list.
    func (mts mountInfos) checkCrossMounts(path string) error {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.7K bytes
    - Viewed (0)
  7. internal/mountinfo/mountinfo_others.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package mountinfo
    
    // CheckCrossDevice - check if any input path has multiple sub-mounts.
    // this is a dummy function and returns nil for now.
    func CheckCrossDevice(paths []string) error {
    	return nil
    }
    
    // IsLikelyMountPoint determines if a directory is a mountpoint.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 1.1K bytes
    - Viewed (0)
  8. internal/mountinfo/mountinfo.go

    package mountinfo
    
    // mountInfo - This represents a single line in /proc/mounts.
    type mountInfo struct {
    	Device  string
    	Path    string
    	FSType  string
    	Options []string
    	Freq    string
    	Pass    string
    }
    
    func (m mountInfo) String() string {
    	return m.Path
    }
    
    // mountInfos - This represents the entire /proc/mounts.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 1.1K bytes
    - Viewed (0)
  9. cmd/metrics-realtime.go

    			if len(cm) == 1 {
    				m.Aggregated.CPU.TimesStat = &cm[0]
    			} else {
    				m.Errors = append(m.Errors, fmt.Sprintf("%s: Expected one CPU stat, got %d", byHostName, len(cm)))
    			}
    		}
    		cpuCount, err := c.Counts(true)
    		if err != nil {
    			m.Errors = append(m.Errors, fmt.Sprintf("%s: %v (cpuCount)", byHostName, err.Error()))
    		} else {
    			m.Aggregated.CPU.CPUCount = cpuCount
    		}
    
    		loadStat, err := load.Avg()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Apr 10 16:28:08 GMT 2024
    - 6.1K bytes
    - Viewed (0)
Back to top