[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <174553065491.1161238.812958177319322832.stgit@frogsfrogsfrogs>
Date: Thu, 24 Apr 2025 14:38:52 -0700
From: "Darrick J. Wong" <djwong@...nel.org>
To: tytso@....edu
Cc: linux-ext4@...r.kernel.org
Subject: [PATCHSET 5/5] fuse2fs: better disk cache
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(-)
Powered by blists - more mailing lists