Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for doMount (0.32 sec)

  1. pkg/volume/flexvolume/mounter-defaults.go

    	klog.Warning(logPrefix(f.plugin), "using default SetUpAt to ", dir)
    
    	src, err := f.plugin.getDeviceMountPath(f.spec)
    	if err != nil {
    		return err
    	}
    
    	if err := doMount(f.mounter, src, dir, "auto", []string{"bind"}); err != nil {
    		return err
    	}
    
    	return nil
    }
    
    // Returns the default volume attributes.
    func (f *mounterDefaults) GetAttributes() volume.Attributes {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 24 15:56:30 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  2. pkg/volume/flexvolume/util.go

    			notMnt = true
    		} else {
    			return false, err
    		}
    	}
    
    	return !notMnt, nil
    }
    
    // Mounts the device at the given path.
    // It is expected that prepareForMount has been called before.
    func doMount(mounter mount.Interface, devicePath, deviceMountPath, fsType string, options []string) error {
    	err := mounter.MountSensitiveWithoutSystemd(devicePath, deviceMountPath, fsType, options, nil)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 14 13:58:56 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  3. internal/config/heal/heal.go

    	Bitrot string `json:"bitrotscan"`
    
    	// maximum sleep duration between objects to slow down heal operation.
    	Sleep   time.Duration `json:"sleep"`
    	IOCount int           `json:"iocount"`
    
    	DriveWorkers int `json:"drive_workers"`
    
    	// Cached value from Bitrot field
    	cache struct {
    		// -1: bitrot enabled, 0: bitrot disabled, > 0: bitrot cycle
    		bitrotCycle time.Duration
    	}
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. src/runtime/testdata/testprogcgo/exec.go

    		}
    		os.Exit(0)
    	}
    
    	c := make(chan os.Signal, 1)
    	signal.Notify(c, syscall.SIGTERM)
    	go func() {
    		for range c {
    		}
    	}()
    
    	const goCount = 10
    	const execCount = 10
    	var wg sync.WaitGroup
    	wg.Add(goCount*execCount + goCount)
    	for i := 0; i < goCount; i++ {
    		go func() {
    			defer wg.Done()
    			for j := 0; j < execCount; j++ {
    				c2 := make(chan os.Signal, 1)
    				signal.Notify(c2, syscall.SIGUSR1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  5. internal/config/heal/help.go

    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    			Key:         IOCount,
    			Description: `maximum IO requests allowed between objects to slow down heal operation` + defaultHelpPostfix(IOCount),
    			Optional:    true,
    			Type:        "int",
    		},
    		config.HelpKV{
    			Key:         DriveWorkers,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 11 21:48:54 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

        protected int limitPercentage = 100;
        protected long limitNumber = -1;
        protected List<SortBuilder<?>> sortList = new ArrayList<>();
    
        protected String scrollId = null;
    
        protected final AtomicLong docCount = new AtomicLong(0);
        protected final long totalDocNum;
    
        public ESSourceReader(final Client client, final SuggestSettings settings, final String indexName) {
            this.client = client;
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/plan9/const_plan9.go

    	QTEXCL   = 0x20
    	QTMOUNT  = 0x10
    	QTAUTH   = 0x08
    	QTTMP    = 0x04
    	QTFILE   = 0x00
    )
    
    // Dir.Mode bits
    const (
    	DMDIR    = 0x80000000
    	DMAPPEND = 0x40000000
    	DMEXCL   = 0x20000000
    	DMMOUNT  = 0x10000000
    	DMAUTH   = 0x08000000
    	DMTMP    = 0x04000000
    	DMREAD   = 0x4
    	DMWRITE  = 0x2
    	DMEXEC   = 0x1
    )
    
    const (
    	STATMAX    = 65535
    	ERRMAX     = 128
    	STATFIXLEN = 49
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 15 19:02:39 UTC 2021
    - 1004 bytes
    - Viewed (0)
  8. src/syscall/const_plan9.go

    	QTEXCL   = 0x20
    	QTMOUNT  = 0x10
    	QTAUTH   = 0x08
    	QTTMP    = 0x04
    	QTFILE   = 0x00
    )
    
    // Dir.Mode bits
    const (
    	DMDIR    = 0x80000000
    	DMAPPEND = 0x40000000
    	DMEXCL   = 0x20000000
    	DMMOUNT  = 0x10000000
    	DMAUTH   = 0x08000000
    	DMTMP    = 0x04000000
    	DMREAD   = 0x4
    	DMWRITE  = 0x2
    	DMEXEC   = 0x1
    )
    
    const (
    	STATMAX    = 65535
    	ERRMAX     = 128
    	STATFIXLEN = 49
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 14:05:53 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_volumes_linux_test.go

    			prepareFunc: func(kubelet *Kubelet) error {
    				podDir := kubelet.getPodDir(poduid)
    				return os.MkdirAll(filepath.Join(podDir, "volumes/"), 0750)
    			},
    			expected: false,
    		},
    		"noncsivolume-dir-exist-nomount": {
    			prepareFunc: func(kubelet *Kubelet) error {
    				podDir := kubelet.getPodDir(poduid)
    				return os.MkdirAll(filepath.Join(podDir, "volumes/plugin/name"), 0750)
    			},
    			expected: false,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 8.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/escape/Escapers.java

            }
            // Combine the characters and/or escaped sequences into a single array.
            int hiCount = hiChars != null ? hiChars.length : 1;
            int loCount = loChars != null ? loChars.length : 1;
            char[] output = new char[hiCount + loCount];
            if (hiChars != null) {
              // TODO: Is this faster than System.arraycopy() for small arrays?
              for (int n = 0; n < hiChars.length; ++n) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 10.5K bytes
    - Viewed (0)
Back to top