Giter Club home page Giter Club logo

webfs's Introduction

Problems I get:
the FUSE callback 'read' is supposed to return *exactly* the requested
size. If it returns less than the size, the remaining is padded with 0
and as far as I can see it returns the full data...

To get a "normal" read behavior (i.e. the returned value from read is
passed as return value from the syscall), I have to use mount option
"direct_io".
It works fine, but it seems from mailing list that it prevent execve stuff
to work fine, so this is not suitable for a "real" filesystem which allows
to run program from it.

For my particular use this is enougth.


Well...
At least 'xine' does not support well to read video from 'direct_io'
filesystems... 'mplayer' works fine.

Will try to make code modifications to handle 'read' stuff has FUSE wants it.


Note : updates on the 'metadata' file are checked only when a 'close' is
performed on a file.
So you will not see changes until you open (and then close) a file.
This should be improved.
The current problem is that I need to destroy existing caches when re-building
FS tree (because of existing pointers to FS tree), and this can more easely
be done at 'close'.


Note: now 'read' should behave the expected way, so removing 'direct_io'
should work.


Note: on my computer, with a local HTTP server (so "no" network involved)
dd or md5sum are able to read file at >50Mb/s (on a video of ~700Mb/s).

Faster was ~75Mb/s (dd with large blocksize).
In direct, the original file was treated ~3 time faster.

webfs's People

Stargazers

 avatar Rémi Ferrand avatar

Watchers

Rémi Ferrand avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.