From b44b1b4288d8c3b0a87aefc3b9577806dbd6c35b Mon Sep 17 00:00:00 2001
From: Joey Hess <joeyh@joeyh.name>
Date: Tue, 31 May 2022 13:32:27 -0400
Subject: [PATCH] comment

---
 ...7_7a7f6e9793817884a309632e4ebaba1b._comment | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 doc/bugs/get_is_busy_doing_nothing/comment_7_7a7f6e9793817884a309632e4ebaba1b._comment

diff --git a/doc/bugs/get_is_busy_doing_nothing/comment_7_7a7f6e9793817884a309632e4ebaba1b._comment b/doc/bugs/get_is_busy_doing_nothing/comment_7_7a7f6e9793817884a309632e4ebaba1b._comment
new file mode 100644
index 0000000000..f8b6f2d884
--- /dev/null
+++ b/doc/bugs/get_is_busy_doing_nothing/comment_7_7a7f6e9793817884a309632e4ebaba1b._comment
@@ -0,0 +1,18 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 7"""
+ date="2022-05-31T17:16:26Z"
+ content="""
+It seems that sqlite on BTRFS is somewhat problimatic performance-wise. 
+See this blog post from Colin Walters where firefox was periodically
+freezing due to sqlite, and apparently the database file was highly fragmented.
+<https://blog.verbum.org/2020/07/14/on-btrfs/>
+
+Mounting with nodatacow or autodefrag may help, or 
+`chattr +C .git/annex/keysdb/db`
+
+Possibly being slow could explain the ErrorBusy: If there are somehow
+two processes writing to the database and one is being slow, then
+the other one could get ErrorBusy repeatedly for the 10 seconds it takes
+git-annex to give up.
+"""]]