[lkml]   [2017]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectDirectory virtualization / Cloud filesystem
Is anyone working on a filesystem driver or filesystem overlay with the
following characteristics:
- *Kernel space* for performance reasons (no FUSE)
- *All data* is stored on some server
- *All metadata* is locally available
- *Some file data* is locally available
- *Other file data* is automatically fetched on-demand
-> *All files* can be accessed from *anywhere* (explorer, console, APIs,
...) independent of their location

Many projects currently work on their own (partly closed source)
implementations - for performance reasons often in *kernel space*
(instead of FUSE) in order to avoid context switches. In my opinion this
is bad in terms of security and stability!
Despite your personal opinion on whether (personal) data should be
stored in the (private) cloud, it is unquestionable that there is a
raising demand for these features (files are updated more often then
used locally, limited fast storage in contrast to raising amounts of
data, ...).

My suggestion is the following:
- Create a virtual filesystem (where is data stored?) or overlay
filesystem (store data in underlying filesystem) in the kernel
- Agree on a data retrieval protocol
- File selection for intelligent caching should be performed in

Current projects working on this:
- Seafile Drive client [1]
- Git Virtual Filesystem (GVFS) [2, 3]
- Dropbox Smart Sync (Project Infinite) [4, 5]
- OneDrive On-Demand [6, 7]

I also suggest the following news coverage about some more details:
- "Microsoft and GitHub team up to take Git virtual file system to
macOS, Linux" [8]
-> last two paragraphs about implementation thoughts
- "OneDrive done right is back, and now it works properly" [9]
-> lessons learned from Microsoft's first unsuccessful implementation


 \ /
  Last update: 2017-12-13 18:02    [W:0.030 / U:2.536 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site