kernel_optimize_test/fs/f2fs
Eric Biggers 53fedcc09c f2fs: reserve bits for fs-verity
Reserve an F2FS feature flag and inode flag for fs-verity.  This is an
in-development feature that is planned be discussed at LSF/MM 2018 [1].
It will provide file-based integrity and authenticity for read-only
files.  Most code will be in a filesystem-independent module, with
smaller changes needed to individual filesystems that opt-in to
supporting the feature.  An early prototype supporting F2FS is available
[2].  Reserving the F2FS on-disk bits for fs-verity will prevent users
of the prototype from conflicting with other new F2FS features.

Note that we're reserving the inode flag in f2fs_inode.i_advise, which
isn't really appropriate since it's not a hint or advice.  But
->i_advise is already being used to hold the 'encrypt' flag; and F2FS's
->i_flags uses the generic FS_* values, so it seems ->i_flags can't be
used for an F2FS-specific flag without additional work to remove the
assumption that ->i_flags uses the generic flags namespace.

[1] https://marc.info/?l=linux-fsdevel&m=151690752225644
[2] https://git.kernel.org/pub/scm/linux/kernel/git/mhalcrow/linux.git/log/?h=fs-verity-dev

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2018-03-28 12:56:49 -07:00
..
acl.c
acl.h
checkpoint.c
data.c
debug.c
dir.c
extent_cache.c
f2fs.h f2fs: reserve bits for fs-verity 2018-03-28 12:56:49 -07:00
file.c
gc.c
gc.h
hash.c
inline.c
inode.c
Kconfig
Makefile
namei.c
node.c f2fs: don't track new nat entry in nat set 2018-03-27 20:10:29 -07:00
node.h f2fs: don't track new nat entry in nat set 2018-03-27 20:10:29 -07:00
recovery.c
segment.c f2fs: Add a segment type check in inplace write 2018-03-27 20:13:54 -07:00
segment.h
shrinker.c
super.c f2fs: no need to initialize zero value for GFP_F2FS_ZERO 2018-03-27 20:12:53 -07:00
sysfs.c
trace.c
trace.h
xattr.c
xattr.h