Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for diskMinInodes (0.26 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
Back to top