mirror of
https://github.com/libfuse/libfuse.git
synced 2024-11-23 12:14:15 +08:00
50c74e6459
The io for FUSE requests and responses can now be further customized by allowing to write custom functions for reading/writing the responses. This includes overriding the splice io. The reason for this addition is that having a custom file descriptor is not sufficient to allow custom io. Different types of file descriptor require different mechanisms of io interaction. For example, some file descriptor communication has boundaries (SOCK_DGRAM, EOF, etc...), while other types of fd:s might be unbounded (SOCK_STREAMS, ...). For unbounded communication, you have to read the header of the FUSE request first, and then read the remaining packet data. Furthermore, the one read call does not necessarily return all the data expected, requiring further calls in a loop. |
||
---|---|---|
.. | ||
.gitignore | ||
conftest.py | ||
lsan_suppress.txt | ||
meson.build | ||
pytest.ini | ||
readdir_inode.c | ||
stracedecode.c | ||
test_ctests.py | ||
test_custom_io.py | ||
test_examples.py | ||
test_setattr.c | ||
test_syscalls.c | ||
test_write_cache.c | ||
travis-build.sh | ||
travis-install.sh | ||
util.py | ||
wrong_command.c |