From d8df77e550b72687e7c03becf09d023877ea24ff Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Mon, 19 Aug 2013 15:46:38 +0200 Subject: [PATCH] always use fuse in single-threaded mode --- archivemount.1.in | 3 +++ archivemount.c | 5 +++++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/archivemount.1.in b/archivemount.1.in index bf8bf19..1dbb3d5 100644 --- a/archivemount.1.in +++ b/archivemount.1.in @@ -422,6 +422,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA This is beta software and should be treated as such. Bug reports to the AUTHORS listed below would be appreciated. +archivemount is forced to run a single-thread mode for now. Support for +stable multithreading is planned in a future release. + .SH SEE ALSO diff --git a/archivemount.c b/archivemount.c index 0aa1c17..bdd0778 100644 --- a/archivemount.c +++ b/archivemount.c @@ -2409,6 +2409,11 @@ main( int argc, char **argv ) /* Initialize the node tree lock */ pthread_mutex_init(&lock, NULL); + /* always use fuse in single-threaded mode + * multithreading is broken with libarchive :-( + */ + fuse_opt_add_arg( &args, "-s" ); + #if FUSE_VERSION >= 26 { struct fuse *fuse; -- 1.7.1