Skip to content

swap: remove the maxpages variable in sys_swapon

Christoph Hellwig linux-block linux-btrfs linux-cifs linux-doc linux-ext4 linux-f2fs-devel linux-fsdevel linux-mm linux-nfs linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 45 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12swap: remove the maxpages variable in sys_swaponmm/swapfile.c+11 -165 replies
2/12swap: move boilerplate code into the core swap codeDocumentation/filesystems/locking.rst Documentation/filesystems/vfs.rst fs/btrfs/inode.c +13 more+121 -2463 replies
3/12swap,fs: move swapfile operations to struct file_operationsDocumentation/filesystems/iomap/operations.rst Documentation/filesystems/locking.rst Documentation/filesystems/vfs.rst +26 more+187 -1863 replies
4/12swap: restrict to regular files or block devicesmm/swapfile.c+4 -03 replies
5/12swap: cleanup setup_swap_extentsmm/swapfile.c+11 -124 replies
6/12swap,block: move the block device swapon code into block/fops.cblock/fops.c mm/swapfile.c+6 -53 replies
7/12swap,block: limit swap file size to device sizeblock/fops.c+3 -13 replies
8/12swap,iomap: simplify iomap_swapfile_iterfs/iomap/swapfile.c+31 -734 replies
9/12swap: push down setting sis->bdev into ->swap_activateblock/fops.c fs/btrfs/inode.c fs/f2fs/data.c +7 more+33 -488 replies
10/12swap: add a swap_activate_fs_ops helperfs/nfs/file.c fs/smb/client/file.c include/linux/swap.h +1 more+14 -53 replies
11/12swap: move struct swap_extent to swapfile.cinclude/linux/swap.h mm/swapfile.c+15 -153 replies
12/12swap: move swap_info_struct to mm/swap.hinclude/linux/swap.h mm/swap.h+94 -963 replies

Reviews trailers per patch

All 12 patches have a Reviewed-by or Acked-by.

PatchDamien Le MoalHannes ReineckeDarrick J. WongChris Li
1/12R-b R-b A-b
2/12A-b R-b A-b
3/12R-b R-b A-b
4/12R-b R-b A-b
5/12R-b A-b
6/12R-b R-b A-b
7/12R-b R-b
8/12R-b
9/12R-b Ack-by
10/12R-b R-b A-b
11/12R-b R-b A-b
12/12R-b R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread