kernel_optimize_test/fs
Konstantin Khlebnikov a92853b674 fs/direct-io.c: keep dio_warn_stale_pagecache() when CONFIG_BLOCK=n
This helper prints warning if direct I/O write failed to invalidate cache,
and set EIO at inode to warn usersapce about possible data corruption.

See also commit 5a9d929d6e ("iomap: report collisions between directio
and buffered writes to userspace").

Direct I/O is supported by non-disk filesystems, for example NFS.  Thus
generic code needs this even in kernel without CONFIG_BLOCK.

Link: http://lkml.kernel.org/r/157270038074.4812.7980855544557488880.stgit@buzz
Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-12-01 06:29:18 -08:00
..
9p
adfs
affs affs: fix a memory leak in affs_remount 2019-11-18 14:26:43 +01:00
afs AFS development 2019-11-30 10:57:22 -08:00
autofs
befs
bfs
btrfs btrfs: drop bdev argument from submit_extent_page 2019-11-18 23:43:58 +01:00
cachefiles
ceph ceph: increment/decrement dio counter on async requests 2019-11-14 18:44:51 +01:00
cifs CIFS: fix a white space issue in cifs_get_inode_info() 2019-11-27 11:31:49 -06:00
coda
configfs
cramfs cramfs: fix usage on non-MTD device 2019-11-23 21:44:49 -05:00
crypto
debugfs
devpts
dlm
ecryptfs
efivarfs
efs
erofs erofs: remove unnecessary output in erofs_show_options() 2019-11-24 11:02:41 +08:00
exportfs
ext2 \n 2019-11-30 11:16:07 -08:00
ext4 \n 2019-11-30 11:16:07 -08:00
f2fs \n 2019-11-30 11:16:07 -08:00
fat
freevxfs
fscache
fuse
gfs2 New code for 5.5: 2019-11-30 10:44:49 -08:00
hfs
hfsplus
hostfs
hpfs
hugetlbfs
iomap iomap: Fix pipe page leakage during splicing 2019-11-22 08:36:02 -08:00
isofs
jbd2 This merge window saw the the following new featuers added to ext4: 2019-11-30 10:53:02 -08:00
jffs2
jfs
kernfs Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-11-26 16:02:40 -08:00
lockd
minix
nfs
nfs_common
nfsd
nilfs2
nls
notify
ntfs
ocfs2 ocfs2: fix passing zero to 'PTR_ERR' warning 2019-12-01 06:29:17 -08:00
omfs
openpromfs
orangefs
overlayfs
proc procfs: Use all-in-one vtime aware kcpustat accessor 2019-11-21 07:33:24 +01:00
pstore
qnx4
qnx6
quota
ramfs
reiserfs
romfs
squashfs
sysfs
sysv
tracefs
ubifs
udf
ufs
unicode
verity
xfs New code for 5.5: 2019-11-30 10:44:49 -08:00
aio.c
anon_inodes.c
attr.c
bad_inode.c
binfmt_aout.c
binfmt_elf_fdpic.c
binfmt_elf.c
binfmt_em86.c
binfmt_flat.c
binfmt_misc.c
binfmt_script.c
block_dev.c block: move clearing bd_invalidated into check_disk_size_change 2019-11-14 07:44:01 -07:00
buffer.c fs/buffer.c: include internal.h for missing declarations 2019-12-01 06:29:17 -08:00
char_dev.c
compat_binfmt_elf.c
compat_ioctl.c
compat.c
coredump.c
d_path.c
dax.c New code for 5.5: 2019-11-30 10:44:49 -08:00
dcache.c
dcookies.c
direct-io.c fs/direct-io.c: keep dio_warn_stale_pagecache() when CONFIG_BLOCK=n 2019-12-01 06:29:18 -08:00
drop_caches.c
eventfd.c
eventpoll.c
exec.c exit/exec: Seperate mm_release() 2019-11-20 09:40:08 +01:00
fcntl.c
fhandle.c
file_table.c
file.c Revert "vfs: properly and reliably lock f_pos in fdget_pos()" 2019-11-26 11:34:06 -08:00
filesystems.c
fs_context.c
fs_parser.c
fs_pin.c
fs_struct.c
fs_types.c
fs-writeback.c
fsopen.c
inode.c
internal.h
io_uring.c io_uring: make poll->wait dynamically allocated 2019-11-26 15:02:56 -07:00
io-wq.c io-wq: shrink io_wq_work a bit 2019-11-26 15:02:56 -07:00
io-wq.h io-wq: shrink io_wq_work a bit 2019-11-26 15:02:56 -07:00
ioctl.c
Kconfig
Kconfig.binfmt
libfs.c
locks.c
Makefile
mbcache.c
mount.h
mpage.c
namei.c
namespace.c
no-block.c
nsfs.c
open.c Revert "vfs: properly and reliably lock f_pos in fdget_pos()" 2019-11-26 11:34:06 -08:00
pipe.c vfs: mark pipes and sockets as stream-like file descriptors 2019-11-25 09:12:11 -08:00
pnode.c
pnode.h
posix_acl.c
proc_namespace.c
read_write.c
readdir.c
select.c
seq_file.c
signalfd.c
splice.c
stack.c
stat.c
statfs.c
super.c
sync.c
timerfd.c
userfaultfd.c
utimes.c
xattr.c