mirror of
				https://github.com/Zygo/bees.git
				synced 2025-11-03 19:50:34 +01:00 
			
		
		
		
	tempfile: drop the fsync()
The deadlock seems to be fixed now (if there ever was one--there certainly were deadlocks, but matching deadlocks to root causes is non-trivial and a number of distinct deadlock cases have been fixed in recent years). The benchmark data is inconclusive about whether it is better to fsync or not to fsync. A paranoia option might be useful here. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
		@@ -627,7 +627,7 @@ BeesTempFile::make_copy(const BeesFileRange &src)
 | 
			
		||||
 | 
			
		||||
	// We seem to get lockups without this!
 | 
			
		||||
	if (did_block_write) {
 | 
			
		||||
#if 1
 | 
			
		||||
#if 0
 | 
			
		||||
		// Is this fixed by "Btrfs: fix deadlock between dedup on same file and starting writeback"?
 | 
			
		||||
		// No.
 | 
			
		||||
		// Is this fixed in kernel 4.14.34?
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user