[Linux-cachefs] Re: Cachefs + FUSE (Was: [PATCH] [Request for inclusion] Filesystem in Userspace)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> My plan is (when I get time) to make the writeback journal work. An entry
> recorded in this will be allowed to pin a cachefs data file on disc. A netfs
> will be able to ask for an enumeration of the wbj entries that belong to it,
> and will be notified upon the attachment of a cookie to a pinned data file.
> 
> The netfs would then be permitted to ask fscache to record or remove a
> writeback mark against a file.

Does this have to have file granurality?  Is pinning individual pages
not possible?

> Actually, the reverse approach might be easier - allowing the
> swapper to make use of slack space in cachefs.

That sounds good too.  But optimally swap would have a higher
priority, so for example cached data should be thrown away when the
OOM killer would be invoked otherwise.

Miklos


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]
  Powered by Linux