mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02: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:
parent
f4464c6896
commit
389dd52cc1
@ -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?
|
||||
|
Loading…
x
Reference in New Issue
Block a user