Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Merkel (0.19 sec)

  1. internal/disk/directio_unsupported.go

    // so there is no risk of polluting the entire cache with data accessed once.
    // Another goal of DirectIO is to minimize the mutation of data by the kernel
    // before issuing IO to underlying devices. ZFS users often enable features like
    // compression and checksumming which currently necessitates mutating data in
    // the kernel.
    //
    // DirectIO semantics for a filesystem like ZFS would be quite different than
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  2. internal/http/check_port_test.go

    // Tests for port availability logic written for server startup sequence.
    func TestCheckPortAvailability(t *testing.T) {
    	if runtime.GOOS != "linux" {
    		t.Skip()
    	}
    
    	l, err := net.Listen("tcp", "localhost:0") // ask kernel for a free port.
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer l.Close()
    
    	port := l.Addr().(*net.TCPAddr).Port
    
    	testCases := []struct {
    		host        string
    		port        int
    		expectedErr error
    	}{
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  3. cmd/server-main.go

    		_ = setMaxResources(ctx)
    	})
    
    	// Verify kernel release and version.
    	if oldLinux() {
    		warnings = append(warnings, color.YellowBold("- Detected Linux kernel version older than 4.0.0 release, there are some known potential performance problems with this kernel version. MinIO recommends a minimum of 4.x.x linux kernel version for best performance"))
    	}
    
    	maxProcs := runtime.GOMAXPROCS(0)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 32.7K bytes
    - Viewed (1)
  4. internal/lock/lock_windows.go

    func fixLongPath(path string) string {
    	// Do nothing (and don't allocate) if the path is "short".
    	// Empirically (at least on the Windows Server 2013 builder),
    	// the kernel is arbitrarily okay with < 248 bytes. That
    	// matches what the docs above say:
    	// "When using an API to create a directory, the specified
    	// path cannot be so long that you cannot append an 8.3 file
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  5. cmd/handler-api.go

    	if err != nil {
    		buf, err = os.ReadFile(cgroupV1MemLimitFile)
    	}
    	if err != nil {
    		return 0
    	}
    	limit, err = strconv.ParseUint(strings.TrimSpace(string(buf)), 10, 64)
    	if err != nil {
    		// The kernel can return valid but non integer values
    		// but still, no need to interpret more
    		return 0
    	}
    	if limit == cgroupMemNoLimit {
    		// No limit set, It's the highest positive signed 64-bit
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 08 09:22:27 GMT 2024
    - 10K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue1435.go

    			//    os.IsNotExist(err),
    			//    "... : no such process",
    			//    "... : bad file descriptor.
    			continue
    		}
    		lines := strings.Split(string(d), "\n")
    		for _, line := range lines {
    			// Different kernel vintages pad differently.
    			line = strings.TrimSpace(line)
    			if strings.HasPrefix(line, "Pid:\t") {
    				// On loaded systems, it is possible
    				// for a TID to be reused really
    				// quickly. As such, we need to
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  7. cni/pkg/ipset/nldeps_linux.go

    }
    
    // Alpine and some distros struggles with this - ipset CLI utilities support this, but
    // the kernel can be out of sync with the CLI utility, leading to errors like:
    //
    // ipset v7.10: Argument `comment' is supported in the kernel module of the set type hash:ip
    // starting from the revision 3 and you have installed revision 1 only.
    // Your kernel is behind your ipset utility.
    //
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  8. internal/disk/directio_darwin.go

    import (
    	"os"
    
    	"github.com/ncw/directio"
    	"golang.org/x/sys/unix"
    )
    
    // ODirectPlatform indicates if the platform supports O_DIRECT
    const ODirectPlatform = true
    
    // OpenFileDirectIO - bypass kernel cache.
    func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) {
    	return directio.OpenFile(filePath, flag, perm)
    }
    
    // DisableDirectIO - disables directio mode.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Jun 17 14:31:36 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/ztunnelserver_test.go

    	mt.Assert(ztunnelConnected.Name(), nil, monitortest.Exactly(1))
    
    	// we should get the fd to dev null. note that we can't assert the fd number
    	// as the kernel may have given us a different number that refers to the same file.
    	assert.Equal(t, len(fds), 1)
    	// in theory we should close the fd, but it's just a test..
    
    	assert.Equal(t, m.Payload.(*zdsapi.WorkloadRequest_Add).Add.Uid, uid)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  10. internal/disk/directio_unix.go

    import (
    	"os"
    	"syscall"
    
    	"github.com/ncw/directio"
    	"golang.org/x/sys/unix"
    )
    
    // ODirectPlatform indicates if the platform supports O_DIRECT
    const ODirectPlatform = true
    
    // OpenFileDirectIO - bypass kernel cache.
    func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) {
    	return directio.OpenFile(filePath, flag, perm)
    }
    
    // DisableDirectIO - disables directio mode.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Jun 17 14:31:36 GMT 2023
    - 1.6K bytes
    - Viewed (0)
Back to top