linux/fs/nilfs2
Ryusuke Konishi cce259b4c3 nilfs2: localize highmem mapping for checkpoint finalization within cpfile
Move the checkpoint finalization routine to the cpfile side, and make the
page mapping local and temporary.  And use kmap_local instead of kmap to
access the checkpoint entry page when finalizing a checkpoint.

In this conversion, some of the information on the checkpoint entry being
rewritten is passed through the arguments of the newly added method
nilfs_cpfile_finalize_checkpoint().

Link: https://lkml.kernel.org/r/20240122140202.6950-13-konishi.ryusuke@gmail.com
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-02-22 15:38:53 -08:00
..
alloc.c nilfs2: convert persistent object allocator to use kmap_local 2024-02-22 15:38:53 -08:00
alloc.h
bmap.c nilfs2: do not acquire rwsem in nilfs_bmap_write() 2024-02-22 15:38:53 -08:00
bmap.h
btnode.c nilfs2: convert nilfs_page_bug() to nilfs_folio_bug() 2023-12-10 17:21:48 -08:00
btnode.h fs/nilfs2: Use the enum req_op and blk_opf_t types 2022-07-14 12:14:33 -06:00
btree.c nilfs2: initialize "struct nilfs_binfo_dat"->bi_pad field 2023-04-05 18:06:23 -07:00
btree.h
cpfile.c nilfs2: localize highmem mapping for checkpoint finalization within cpfile 2024-02-22 15:38:53 -08:00
cpfile.h nilfs2: localize highmem mapping for checkpoint finalization within cpfile 2024-02-22 15:38:53 -08:00
dat.c nilfs2: convert DAT to use kmap_local 2024-02-22 15:38:53 -08:00
dat.h
dir.c nilfs2: convert nilfs_prepare_chunk() and nilfs_commit_chunk() to folios 2023-12-10 17:21:48 -08:00
direct.c nilfs2: initialize "struct nilfs_binfo_dat"->bi_pad field 2023-04-05 18:06:23 -07:00
direct.h
export.h
file.c nilfs2: fix hang in nilfs_lookup_dirty_data_buffers() 2024-02-07 21:20:36 -08:00
gcinode.c nilfs2: convert nilfs_gccache_submit_read_data to use a folio 2023-12-10 17:21:29 -08:00
ifile.c nilfs2: convert ifile to use kmap_local 2024-02-22 15:38:53 -08:00
ifile.h nilfs2: convert ifile to use kmap_local 2024-02-22 15:38:53 -08:00
inode.c nilfs2: convert ifile to use kmap_local 2024-02-22 15:38:53 -08:00
ioctl.c fs/nilfs2: use standard array-copy-function 2023-12-10 17:21:25 -08:00
Kconfig fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
Makefile
mdt.c nilfs2: convert metadata file common code to use kmap_local 2024-02-22 15:38:53 -08:00
mdt.h nilfs2: fix lockdep warnings during disk space reclamation 2022-04-01 11:46:09 -07:00
namei.c misc cleanups (the part that hadn't been picked by individual fs trees) 2024-01-11 20:23:50 -08:00
nilfs.h nilfs2: move nilfs_bmap_write call out of nilfs_write_inode_common 2024-02-22 15:38:53 -08:00
page.c nilfs2: convert nilfs_copy_buffer() to use kmap_local 2024-02-22 15:38:53 -08:00
page.h nilfs2: convert nilfs_page_bug() to nilfs_folio_bug() 2023-12-10 17:21:48 -08:00
recovery.c nilfs2: convert recovery logic to use kmap_local 2024-02-22 15:38:52 -08:00
segbuf.c nilfs2: convert segment buffer to use kmap_local 2024-02-22 15:38:53 -08:00
segbuf.h
segment.c nilfs2: localize highmem mapping for checkpoint finalization within cpfile 2024-02-22 15:38:53 -08:00
segment.h
sufile.c nilfs2: convert sufile to use kmap_local 2024-02-22 15:38:53 -08:00
sufile.h
super.c nilfs2: simplify device handling 2023-11-18 14:59:24 +01:00
sysfs.c
sysfs.h
the_nilfs.c nilfs2: fix missing error check for sb_set_blocksize call 2023-12-06 16:12:48 -08:00
the_nilfs.h nilfs2: fix use-after-free of nilfs_root in dirtying inodes via iput 2023-08-04 13:03:43 -07:00