From 49d9fa3c2435b8e97ffdc42e40a880a3dad82f8a Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sat, 14 Apr 2012 17:38:13 +0000 Subject: The core of myriad is now thread-safe. It could use a little work on multiple streams accessing the same blocks at the same time. Right now it's safe, but a little strange, since both streams work from seperate buffers. Maybe that's ok, but it still needs some more investigation. I want to remove the BitString stuff entirely, it turns out it's the slowest part, which, upon actually looking at the code is completely obvious. This change shouldn't change the API at all, just make adding blocks to streams much, much faster. --- src/extra/myriadfs.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/extra/myriadfs.cpp') diff --git a/src/extra/myriadfs.cpp b/src/extra/myriadfs.cpp index 3e4599b..8e48ec0 100644 --- a/src/extra/myriadfs.cpp +++ b/src/extra/myriadfs.cpp @@ -5,6 +5,7 @@ * terms of the license contained in the file LICENSE. */ +#define _FILE_OFFSET_BITS 64 #define FUSE_USE_VERSION 26 #include -- cgit v1.2.3