mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 10:07:52 +00:00
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 <[email protected]> Reviewed-by: Jeff Layton <[email protected]> cc: [email protected] cc: [email protected] cc: [email protected]
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
|