From a07728bc7e6793d3e1f06f5520c2de5f83efa122 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 df39866..d555899 100644 --- a/src/bees.cc +++ b/src/bees.cc @@ -563,7 +563,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);