Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for diskMinInodes (0.12 sec)

  1. cmd/globals.go

    	diskReserveFraction = 0.15
    
    	// diskAssumeUnknownSize is the size to assume when an unknown size upload is requested.
    	diskAssumeUnknownSize = 1 << 30
    
    	// diskMinInodes is the minimum number of inodes we want free on a disk to perform writes.
    	diskMinInodes = 1000
    
    	// tlsClientSessionCacheSize is the cache size for client sessions.
    	tlsClientSessionCacheSize = 100
    )
    
    func init() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. cmd/object-api-utils.go

    	perDisk := size / int64(nDisks)
    	for _, disk := range di {
    		if disk == nil || disk.Total == 0 {
    			continue
    		}
    		if !globalIsErasureSD && disk.FreeInodes < diskMinInodes && disk.UsedInodes > 0 {
    			// We have an inode count, but not enough inodes.
    			return false, nil
    		}
    		if int64(disk.Free) <= perDisk {
    			return false, nil
    		}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 36.3K bytes
    - Viewed (0)
Back to top