diff options
author | David Howells <dhowells@redhat.com> | 2021-10-20 15:34:41 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2022-01-07 10:22:19 +0100 |
commit | 1e1236b841166f1d2daf36fdf6bb3e656bc5f5ca (patch) | |
tree | dfe52e21b5373b4706133ba93854502a55eac904 /fs/fscache/Makefile | |
parent | netfs: Pass a flag to ->prepare_write() to say if there's no alloc'd space (diff) | |
download | linux-1e1236b841166f1d2daf36fdf6bb3e656bc5f5ca.tar.xz linux-1e1236b841166f1d2daf36fdf6bb3e656bc5f5ca.zip |
fscache: Introduce new driver
Introduce basic skeleton of the new, rewritten fscache driver.
Changes
=======
ver #3:
- Use remove_proc_subtree(), not remove_proc_entry() to remove a populated
dir.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
cc: linux-cachefs@redhat.com
Link: https://lore.kernel.org/r/163819584034.215744.4290533472390439030.stgit@warthog.procyon.org.uk/ # v1
Link: https://lore.kernel.org/r/163906887770.143852.3577888294989185666.stgit@warthog.procyon.org.uk/ # v2
Link: https://lore.kernel.org/r/163967080039.1823006.5702921801104057922.stgit@warthog.procyon.org.uk/ # v3
Link: https://lore.kernel.org/r/164021491014.640689.4292699878317589512.stgit@warthog.procyon.org.uk/ # v4
Diffstat (limited to 'fs/fscache/Makefile')
-rw-r--r-- | fs/fscache/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/fs/fscache/Makefile b/fs/fscache/Makefile new file mode 100644 index 000000000000..f9722de32247 --- /dev/null +++ b/fs/fscache/Makefile @@ -0,0 +1,12 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for general filesystem caching code +# + +fscache-y := \ + main.o + +fscache-$(CONFIG_PROC_FS) += proc.o +fscache-$(CONFIG_FSCACHE_STATS) += stats.o + +obj-$(CONFIG_FSCACHE) := fscache.o |