From owner-freebsd-fs@freebsd.org Fri Aug 11 15:02:39 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 32EBDDD482F for ; Fri, 11 Aug 2017 15:02:39 +0000 (UTC) (envelope-from se@freebsd.org) Received: from mailout03.t-online.de (mailout03.t-online.de [194.25.134.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D02B575C97 for ; Fri, 11 Aug 2017 15:02:38 +0000 (UTC) (envelope-from se@freebsd.org) Received: from fwd25.aul.t-online.de (fwd25.aul.t-online.de [172.20.26.130]) by mailout03.t-online.de (Postfix) with SMTP id 4593142B08F9; Fri, 11 Aug 2017 17:02:30 +0200 (CEST) Received: from Stefans-MBP-2.fritz.box (VUdktmZE8hWdCAKU1-5Hmu3GoGOXbxwzFzcByxSWtz9TrBNzx60LjEKBRcYW4F-wgG@[84.154.108.129]) by fwd25.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1dgBSC-2c3r4i0; Fri, 11 Aug 2017 17:02:24 +0200 Subject: Re: State of FUSE on FreeBSD To: Ben RUBSON , Freebsd fs References: <87y3r0ankb.fsf@vostro.rath.org> <87efsifpiu.fsf@vostro.rath.org> <47A5197B-6A83-4819-A6EE-E56ABD31C4B3@gmail.com> <87bmnmfouj.fsf@vostro.rath.org> <8760dufiu2.fsf@vostro.rath.org> <87r2widwec.fsf@vostro.rath.org> <8EFD18D4-BD4E-4A30-A89E-129419EBC374@gmail.com> From: Stefan Esser Message-ID: Date: Fri, 11 Aug 2017 17:02:23 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <8EFD18D4-BD4E-4A30-A89E-129419EBC374@gmail.com> Content-Language: de-DE X-ID: VUdktmZE8hWdCAKU1-5Hmu3GoGOXbxwzFzcByxSWtz9TrBNzx60LjEKBRcYW4F-wgG X-TOI-MSGID: b5b627bc-a70c-41b5-a0cd-a81e2dddc15d Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Aug 2017 15:02:39 -0000 Am 11.08.17 um 16:31 schrieb Ben RUBSON: > >> On 11 Aug 2017, at 16:22, Ben RUBSON wrote: >> >> I managed to build master branch : >> https://github.com/libfuse/libfuse > > I just had to remove "assert(... -oauto_unmount ...)" from : > test/test_setattr.c > test/test_write_cache.c I have modified the existing port to build the new libfuse, see attached file (to be unpacked in /usr/ports). I tried "example/hello -d /mnt" and "example/hello_11 -d /mnt". While "hello" fails, "hello_ll" seems to work, but I get the following output from "df": $ df /mnt Filesystem 1K-blocks Used Avail Capacity Mounted on df: File system /mnt does not have a block size, assuming 512. /dev/fuse 0 0 0 100% /mnt Unmounting /mnt works as expected. Running the tests results in: $ py.test-3.6 test ======================================= test session starts ======================================= platform freebsd12 -- Python 3.6.2, pytest-3.2.0, py-1.4.34, pluggy-0.4.0 -- /usr/local/bin/python3.6 cachedir: test/.cache rootdir: libfuse-50d9158/test, inifile: pytest.ini collected 24 items test/test_ctests.py::test_write_cache[False] PASSED test/test_ctests.py::test_write_cache[True] FAILED ===================================== short test summary info ===================================== FAIL test/test_ctests.py::test_write_cache[True] ============================================ FAILURES ============================================= _____________________________________ test_write_cache[True] ______________________________________ Traceback (most recent call last): File "libfuse-50d9158/test/test_ctests.py", line 31, in test_write_cache subprocess.check_call(cmdline) File "/usr/local/lib/python3.6/subprocess.py", line 291, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['libfuse-50d9158/test/../test/test_write_cache', '/tmp/pytest-of-root/pytest-8/test_write_cache_True_0', '-owriteback_cache']' died with . -------------------------------------- Captured stderr call --------------------------------------- Assertion failed: (conn->capable & FUSE_CAP_WRITEBACK_CACHE), function tfs_init, file test_write_cache.c, line 56. !!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! =============================== 1 failed, 1 passed in 61.28 seconds =============================== Regards, STefan