linux/fs
Hugh Dickins b698f0a177 mm/fs: delete PF_SWAPWRITE
PF_SWAPWRITE has been redundant since v3.2 commit ee72886d8e ("mm:
vmscan: do not writeback filesystem pages in direct reclaim").

Coincidentally, NeilBrown's current patch "remove inode_congested()"
deletes may_write_to_inode(), which appeared to be the one function which
took notice of PF_SWAPWRITE.  But if you study the old logic, and the
conditions under which may_write_to_inode() was called, you discover that
flag and function have been pointless for a decade.

Link: https://lkml.kernel.org/r/75e80e7-742d-e3bd-531-614db8961e4@google.com
Signed-off-by: Hugh Dickins <hughd@google.com>
Cc: NeilBrown <neilb@suse.de>
Cc: Jan Kara <jack@suse.de>
Cc: "Darrick J. Wong" <djwong@kernel.org>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2022-03-22 15:57:08 -07:00
..
9p fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
adfs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
affs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
afs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
autofs
befs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
bfs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
btrfs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
cachefiles cachefiles: Fix volume coherency attribute 2022-03-11 10:24:37 -08:00
ceph fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
cifs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
coda fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
configfs configfs: fix a race in configfs_{,un}register_subsystem() 2022-02-22 18:30:28 +01:00
cramfs
crypto
debugfs debugfs: lockdown: Allow reading debugfs files that are not world readable 2022-01-06 15:47:41 +01:00
devpts fsnotify: fix fsnotify hooks in pseudo filesystems 2022-01-24 14:17:02 +01:00
dlm driver core changes for 5.17-rc1 2022-01-12 11:11:34 -08:00
ecryptfs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
efivarfs
efs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
erofs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
exfat fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
exportfs
ext2 fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
ext4 fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
f2fs f2fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
fat fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
freevxfs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
fscache fscache: Fix the volume collision wait condition 2022-01-21 21:36:28 +00:00
fuse fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
gfs2 fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
hfs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
hfsplus fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
hostfs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
hpfs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
hugetlbfs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
iomap xfs, iomap: limit individual ioend chain lengths in writeback 2022-01-26 09:19:20 -08:00
isofs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
jbd2 Various bug fixes for ext4 fast commit and inline data handling. Also 2022-02-06 10:34:45 -08:00
jffs2 fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
jfs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
kernfs kernfs: prevent early freeing of root node 2021-12-03 14:36:21 +01:00
ksmbd ksmbd: add support for key exchange 2022-02-04 00:12:22 -06:00
lockd Notable bug fixes: 2022-02-02 10:14:31 -08:00
minix fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
netfs netfs: Make ops->init_rreq() optional 2022-01-21 21:36:28 +00:00
nfs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
nfs_common
nfsd Notable bug fixes: 2022-02-09 09:56:57 -08:00
nilfs2 fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
nls
notify fanotify: Fix stale file descriptor in copy_event_to_user() 2022-02-01 12:52:07 +01:00
ntfs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
ntfs3 fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
ocfs2 fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
omfs
openpromfs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
orangefs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
overlayfs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
proc fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
pstore pstore update for v5.17-rc1 2022-01-10 11:48:37 -08:00
qnx4 fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
qnx6 fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
quota quota: make dquot_quota_sync return errors from ->sync_fs 2022-01-30 08:59:47 -08:00
ramfs Merge branch 'akpm' (patches from Andrew) 2021-11-09 10:11:53 -08:00
reiserfs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
romfs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
smbfs_common smb3: add new defines from protocol specification 2022-01-18 16:50:47 -06:00
squashfs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
sysfs
sysv fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
tracefs tracefs: Set the group ownership in apply_options() not parse_options() 2022-02-25 21:05:04 -05:00
ubifs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
udf fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
ufs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
unicode Fix from Christoph Hellwig merging the CONFIG_UNICODE_UTF8_DATA into the 2022-02-01 11:13:24 -08:00
vboxsf fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
verity
xfs mm/fs: delete PF_SWAPWRITE 2022-03-22 15:57:08 -07:00
zonefs fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
aio.c aio: move aio sysctl to aio.c 2022-01-22 08:33:34 +02:00
anon_inodes.c
attr.c fs: handle circular mappings correctly 2021-11-17 09:26:09 +01:00
bad_inode.c
binfmt_aout.c
binfmt_elf_fdpic.c
binfmt_elf.c binfmt_elf fix for v5.17-rc7 2022-03-01 11:31:37 -08:00
binfmt_flat.c
binfmt_misc.c Fix regression due to "fs: move binfmt_misc sysctl to its own file" 2022-02-09 09:50:02 -08:00
binfmt_script.c
buffer.c mm: fs: fix lru_cache_disabled race in bh_lru 2022-03-22 15:57:01 -07:00
char_dev.c
compat_binfmt_elf.c
coredump.c fs/coredump: move coredump sysctls into its own file 2022-01-22 08:33:36 +02:00
d_path.c d_path: fix Kernel doc validator complaining 2021-11-06 13:30:32 -07:00
dax.c dax: remove the copy_from_iter and copy_to_iter methods 2021-12-18 08:04:53 -08:00
dcache.c mm: dcache: use kmem_cache_alloc_lru() to allocate dentry 2022-03-22 15:57:03 -07:00
direct-io.c
drop_caches.c
eventfd.c
eventpoll.c eventpoll: simplify sysctl declaration with register_sysctl() 2022-01-22 08:33:35 +02:00
exec.c fs/coredump: move coredump sysctls into its own file 2022-01-22 08:33:36 +02:00
fcntl.c
fhandle.c
file_table.c fs/file_table: fix adding missing kmemleak_not_leak() 2022-02-17 10:23:19 -08:00
file.c fget: clarify and improve __fget_files() implementation 2021-12-13 10:55:30 -08:00
filesystems.c
fs_context.c vfs: fs_context: fix up param length parsing in legacy_parse_param 2022-01-18 09:23:19 +02:00
fs_parser.c fs_parse: allow parameter value to be empty 2021-12-09 14:09:36 -05:00
fs_pin.c
fs_struct.c
fs_types.c
fs-writeback.c mm/fs: delete PF_SWAPWRITE 2022-03-22 15:57:08 -07:00
fsopen.c
init.c
inode.c fs: introduce alloc_inode_sb() to allocate filesystems specific inode 2022-03-22 15:57:03 -07:00
internal.h fs/buffer: Convert __block_write_begin_int() to take a folio 2021-12-16 15:49:51 -05:00
io_uring.c io_uring: disallow modification of rsrc_data during quiesce 2022-02-22 09:57:32 -07:00
io-wq.c io_uring-5.17-2022-01-21 2022-01-21 16:07:21 +02:00
io-wq.h Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2022-01-17 05:49:30 +02:00
ioctl.c fs/ioctl: remove unnecessary __user annotation 2022-01-15 16:30:25 +02:00
Kconfig ksmbd: add support for key exchange 2022-02-04 00:12:22 -06:00
Kconfig.binfmt
kernel_read_file.c
libfs.c unicode: clean up the Kconfig symbol confusion 2022-01-20 19:57:24 -05:00
locks.c fs: move locking sysctls where they are used 2022-01-22 08:33:36 +02:00
Makefile Fix from Christoph Hellwig merging the CONFIG_UNICODE_UTF8_DATA into the 2022-02-01 11:13:24 -08:00
mbcache.c
mount.h
mpage.c mm: remove cleancache 2022-01-22 08:33:38 +02:00
namei.c \n 2022-01-28 17:51:31 +02:00
namespace.c mount: warn only once about timestamp range expiration 2022-03-22 15:57:01 -07:00
no-block.c
nsfs.c
open.c fs: support mapped mounts of mapped filesystems 2021-12-05 10:28:57 +01:00
pipe.c watch_queue: Fix lack of barrier/sync/lock between post and read 2022-03-11 10:17:13 -08:00
pnode.c
pnode.h
posix_acl.c fs: support mapped mounts of mapped filesystems 2021-12-05 10:28:57 +01:00
proc_namespace.c fs: add is_idmapped_mnt() helper 2021-12-03 18:44:06 +01:00
read_write.c
readdir.c
remap_range.c fs: Convert vfs_dedupe_file_range_compare to folios 2022-01-08 00:28:41 -05:00
select.c select: Fix indefinitely sleeping task in poll_schedule_timeout() 2022-01-11 09:03:05 -08:00
seq_file.c seq_file: move seq_escape() to a header 2021-11-09 10:02:52 -08:00
signalfd.c Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2022-01-17 05:49:30 +02:00
splice.c
stack.c
stat.c
statfs.c
super.c vfs: make freeze_super abort when sync_filesystem returns error 2022-01-30 08:59:47 -08:00
sync.c vfs: make sync_filesystem return errors from ->sync_fs 2022-01-30 08:59:47 -08:00
sysctls.c fs: move namespace sysctls and declare fs base directory 2022-01-22 08:33:36 +02:00
timerfd.c
userfaultfd.c userfaultfd: provide unmasked address on page-fault 2022-03-22 15:57:08 -07:00
utimes.c
xattr.c