mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 23:51:39 +00:00
153a9961b5
Implement support for unbuffered writes and direct I/O writes. If the write is misaligned with respect to the fscrypt block size, then RMW cycles are performed if necessary. DIO writes are a special case of unbuffered writes with extra restriction imposed, such as block size alignment requirements. Also provide a field that can tell the code to add some extra space onto the bounce buffer for use by the filesystem in the case of a content-encrypted file. Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> cc: linux-cachefs@redhat.com cc: linux-fsdevel@vger.kernel.org cc: linux-mm@kvack.org
31 lines
527 B
Makefile
31 lines
527 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
netfs-y := \
|
|
buffered_read.o \
|
|
buffered_write.o \
|
|
direct_read.o \
|
|
direct_write.o \
|
|
io.o \
|
|
iterator.o \
|
|
locking.o \
|
|
main.o \
|
|
misc.o \
|
|
objects.o \
|
|
output.o
|
|
|
|
netfs-$(CONFIG_NETFS_STATS) += stats.o
|
|
|
|
netfs-$(CONFIG_FSCACHE) += \
|
|
fscache_cache.o \
|
|
fscache_cookie.o \
|
|
fscache_io.o \
|
|
fscache_main.o \
|
|
fscache_volume.o
|
|
|
|
ifeq ($(CONFIG_PROC_FS),y)
|
|
netfs-$(CONFIG_FSCACHE) += fscache_proc.o
|
|
endif
|
|
netfs-$(CONFIG_FSCACHE_STATS) += fscache_stats.o
|
|
|
|
obj-$(CONFIG_NETFS_SUPPORT) += netfs.o
|