Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 252 for disk (0.38 sec)

  1. internal/disk/disk.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package disk
    
    // Info stat fs struct is container which holds following values
    // Total - total size of the volume / disk
    // Free - free size of the volume / disk
    // Files - total inodes available
    // Ffree - free inodes available
    // FSType - file system type
    // Major - major dev id
    // Minor - minor dev id
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  2. ci/official/envs/disk_cache

    # Sourcing this enables local disk cache
    if [[ $(uname -s) == "Darwin" ]]; then
      echo "Please note that using disk cache on macOS is not recommended because the"
      echo "cache can end up being pretty big and make the build process inefficient."
    fi
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 1023 bytes
    - Viewed (0)
  3. cmd/naughty-disk_test.go

    	return d.disk.IsLocal()
    }
    
    func (d *naughtyDisk) Endpoint() Endpoint {
    	return d.disk.Endpoint()
    }
    
    func (d *naughtyDisk) Hostname() string {
    	return d.disk.Hostname()
    }
    
    func (d *naughtyDisk) Healing() *healingTracker {
    	return d.disk.Healing()
    }
    
    func (d *naughtyDisk) Close() (err error) {
    	if err = d.calcError(); err != nil {
    		return err
    	}
    	return d.disk.Close()
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  4. cmd/xl-storage-disk-id-check.go

    	lastSuccess int64
    
    	// atomic time of last time a token was grabbed.
    	lastStarted int64
    
    	// Atomic status of disk.
    	status atomic.Int32
    
    	// Atomic number indicates if a disk is hung
    	waiting atomic.Int32
    }
    
    // newDiskHealthTracker creates a new disk health tracker.
    func newDiskHealthTracker() *diskHealthTracker {
    	d := diskHealthTracker{
    		lastSuccess: time.Now().UnixNano(),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  5. docs/distributed/distributed-from-config-file.sh

    0,0,4 http://localhost:9001/tmp/xl/node9001/mnt/disk3
    0,0,5 http://localhost:9002/tmp/xl/node9002/mnt/disk3
    0,0,6 http://localhost:9001/tmp/xl/node9001/mnt/disk4
    0,0,7 http://localhost:9002/tmp/xl/node9002/mnt/disk4
    1,0,0 http://localhost:9003/tmp/xl/node9003/mnt/disk1
    1,0,1 http://localhost:9004/tmp/xl/node9004/mnt/disk1
    1,0,2 http://localhost:9003/tmp/xl/node9003/mnt/disk2
    1,0,3 http://localhost:9004/tmp/xl/node9004/mnt/disk2
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  6. cmd/testdata/config/invalid-disks.yaml

      -
            - 'https://server-example-pool1:9000/mnt/disk1/'
            - 'https://server1-pool1:9000/mnt/disk{1...4}/'
            - 'https://server3-pool1:9000/mnt/disk{1...4}/'
            - 'https://server4-pool1:9000/mnt/disk{1...4}/'
      -
            - 'https://server-example-pool2:9000/mnt/disk{1...4}/'
            - 'https://server1-pool2:9000/mnt/disk{1...4}/'
            - 'https://server3-pool2:9000/mnt/disk{1...4}/'
    Others
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Dec 07 09:33:56 GMT 2023
    - 863 bytes
    - Viewed (0)
  7. cmd/erasure-sets.go

    			}
    
    			// An online-disk means its a valid disk but it may be a re-connected disk
    			// we verify that here based on LastConn(), however we make sure to avoid
    			// putting it back into the s.erasureDisks by re-placing the disk again.
    			_, setIndex, _ := cdisk.GetDiskLoc()
    			if setIndex != -1 {
    				continue
    			}
    		}
    		if cdisk != nil {
    			// Close previous offline disk.
    			cdisk.Close()
    		}
    
    		wg.Add(1)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 37.5K bytes
    - Viewed (5)
  8. cmd/background-newdisks-heal-ops.go

    					if err := healFreshDisk(ctx, z, disk); err != nil {
    						globalBackgroundHealState.setDiskHealingStatus(disk, false)
    						timedout := OperationTimedOut{}
    						if !errors.Is(err, context.Canceled) && !errors.As(err, &timedout) {
    							printEndpointError(disk, err, false)
    						}
    						return
    					}
    					// Only upon success pop the healed disk.
    					globalBackgroundHealState.popHealLocalDisks(disk)
    				}(disk)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  9. cmd/format-erasure.go

    // relinquishes the underlying connection for all storage disks.
    func closeStorageDisks(storageDisks ...StorageAPI) {
    	var wg sync.WaitGroup
    	for _, disk := range storageDisks {
    		if disk == nil {
    			continue
    		}
    		wg.Add(1)
    		go func(disk StorageAPI) {
    			defer wg.Done()
    			disk.Close()
    		}(disk)
    	}
    	wg.Wait()
    }
    
    // Initialize storage disks for each endpoint.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  10. cmd/erasure-healing.go

    			var wg sync.WaitGroup
    			// Remove versions in bulk for each disk
    			for index, disk := range storageDisks {
    				if disk == nil {
    					continue
    				}
    				wg.Add(1)
    				go func(index int, disk StorageAPI) {
    					defer wg.Done()
    					_ = disk.Delete(ctx, bucket, object, DeleteOptions{
    						Recursive: false,
    						Immediate: false,
    					})
    				}(index, disk)
    			}
    			wg.Wait()
    		}
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
Back to top