Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ok1s (0.07 sec)

  1. internal/mountinfo/mountinfo_linux.go

    	if err != nil {
    		return false
    	}
    
    	// If the directory has a different device as parent, then it is a mountpoint.
    	ss1, ok1 := s1.Sys().(*syscall.Stat_t)
    	ss2, ok2 := s2.Sys().(*syscall.Stat_t)
    	return ok1 && ok2 &&
    		// path/.. on a different device as path
    		(ss1.Dev != ss2.Dev ||
    			// path/.. is the same i-node as path - this check is for bind mounts.
    			ss1.Ino == ss2.Ino)
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. cmd/site-replication-utils.go

    }
    
    // Status returns current in-memory resync status for this deployment
    func (sm *siteResyncMetrics) status(dID string) (rs SiteResyncStatus, err error) {
    	sm.RLock()
    	defer sm.RUnlock()
    	if rst, ok1 := sm.peerResyncMap[dID]; ok1 {
    		if st, ok2 := sm.resyncStatus[rst.resyncID]; ok2 {
    			return st.clone(), nil
    		}
    	}
    	return rs, errSRNoResync
    }
    
    // Status returns latest resync status for this deployment
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
Back to top