From 802d5faf46c379210b09a9ad6069231aded8d1ef Mon Sep 17 00:00:00 2001 From: Zygo Blaxell Date: Sat, 16 Sep 2017 16:46:39 -0400 Subject: [PATCH] tmpfiles: note that kernel race condition is not yet fixed Signed-off-by: Zygo Blaxell --- src/bees.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bees.cc b/src/bees.cc index 5ba1094..69634cd 100644 --- a/src/bees.cc +++ b/src/bees.cc @@ -570,7 +570,11 @@ BeesTempFile::make_copy(const BeesFileRange &src) // We seem to get lockups without this! if (did_block_write) { +#if 1 + // Is this fixed by "Btrfs: fix deadlock between dedup on same file and starting writeback"? + // No. bees_sync(m_fd); +#endif } BEESCOUNT(tmp_copy);