mirror of
				https://github.com/minio/minio.git
				synced 2025-10-29 15:55:00 -04:00 
			
		
		
		
	fix: syscall to record time on non-linux (#17383)
This commit is contained in:
		
							parent
							
								
									26a0803388
								
							
						
					
					
						commit
						3d6b88a60e
					
				| @ -157,6 +157,6 @@ func readDirWithOpts(dirPath string, opts readDirOpts) (entries []string, err er | ||||
| 
 | ||||
| func globalSync() { | ||||
| 	// no-op not sure about plan9/solaris support for syscall support | ||||
| 	defer globalOSMetrics.time(osMetricSync) | ||||
| 	defer globalOSMetrics.time(osMetricSync)() | ||||
| 	syscall.Sync() | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user