Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2017 17:02:23 +0200
From:      Stefan Esser <se@freebsd.org>
To:        Ben RUBSON <ben.rubson@gmail.com>, Freebsd fs <freebsd-fs@freebsd.org>
Subject:   Re: State of FUSE on FreeBSD
Message-ID:  <c0f075ad-4b6f-b364-1c76-e849d54ae432@freebsd.org>
In-Reply-To: <8EFD18D4-BD4E-4A30-A89E-129419EBC374@gmail.com>
References:  <87y3r0ankb.fsf@vostro.rath.org> <87efsifpiu.fsf@vostro.rath.org> <A3A6DC54-5FC7-481F-A679-1E247F5B39D6@gmail.com> <47A5197B-6A83-4819-A6EE-E56ABD31C4B3@gmail.com> <87bmnmfouj.fsf@vostro.rath.org> <FFFC5806-4C5D-4837-9A71-BDD97D76AF25@gmail.com> <8760dufiu2.fsf@vostro.rath.org> <B6B1B408-A1DB-4D51-BC72-B0FDF3F5A701@gmail.com> <87r2widwec.fsf@vostro.rath.org> <E2230462-FE06-4A75-A42E-F5803FD1AD7F@gmail.com> <8EFD18D4-BD4E-4A30-A89E-129419EBC374@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 11.08.17 um 16:31 schrieb Ben RUBSON:
> 
>> On 11 Aug 2017, at 16:22, Ben RUBSON <ben.rubson@gmail.com> 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 <Signals.SIGABRT: 6>.
-------------------------------------- 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c0f075ad-4b6f-b364-1c76-e849d54ae432>