[PATCHSET 5/5] fuse2fs: better disk cache

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

 



Hi all,

Improve the libext2fs unix io manager's disk cache by allowing clients
to make it bigger and allowing hashed lookups, then make fuse2fs ask
for a much bigger cache.

If you're going to start using this code, I strongly recommend pulling
from my git trees, which are linked below.

Comments and questions are, as always, welcome.

e2fsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/e2fsprogs.git/log/?h=fuse2fs-disk-cache
---
Commits in this patchset:
 * fuse2fs: report cache hits and misses at unmount time
 * libext2fs: make unix_io cache size configurable
 * libext2fs: use hashing for cache lookups in unix IO manager
 * fuse2fs: allow use of direct io for disk access
 * fuse2fs: allow setting of the cache size
---
 lib/ext2fs/ext2_io.h |    2 
 lib/ext2fs/unix_io.c |  210 ++++++++++++++++++++++++++++++++++++++++++++++++--
 misc/Makefile.in     |    7 +-
 misc/fuse2fs.1.in    |    9 ++
 misc/fuse2fs.c       |   69 ++++++++++++++++
 5 files changed, 286 insertions(+), 11 deletions(-)





[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux