linux-nilfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/15] nilfs2: eliminate kmap and kmap_atomic calls
@ 2024-01-22 14:01 Ryusuke Konishi
  2024-01-22 14:01 ` [PATCH 01/15] nilfs2: convert recovery logic to use kmap_local Ryusuke Konishi
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: Ryusuke Konishi @ 2024-01-22 14:01 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-nilfs, linux-kernel

Hi Andrew,

Please queue this series for the next merge window.

This series converts remaining kmap and kmap_atomic calls to use
kmap_local, mainly in metadata files, and eliminates calls to these
deprecated kmap functions from nilfs2.

This series does not include converting metadata files to use folios,
but it is a step in that direction.

Most conversions are straightforward, but some are not: the checkpoint
file, the inode file, and the persistent object allocator.  These have
been adjusted or rewritten to avoid multiple kmap_local calls or nest
them if necessary, and to eliminate long waits like block I/O within
the highmem mapping sections.

This series has been tested in both 32-bit and 64-bit environments
with varying block sizes.


Thanks,
Ryusuke Konishi


Ryusuke Konishi (15):
  nilfs2: convert recovery logic to use kmap_local
  nilfs2: convert segment buffer to use kmap_local
  nilfs2: convert nilfs_copy_buffer() to use kmap_local
  nilfs2: convert metadata file common code to use kmap_local
  nilfs2: convert sufile to use kmap_local
  nilfs2: convert persistent object allocator to use kmap_local
  nilfs2: convert DAT to use kmap_local
  nilfs2: move nilfs_bmap_write call out of nilfs_write_inode_common
  nilfs2: do not acquire rwsem in nilfs_bmap_write()
  nilfs2: convert ifile to use kmap_local
  nilfs2: localize highmem mapping for checkpoint creation within cpfile
  nilfs2: localize highmem mapping for checkpoint finalization within
    cpfile
  nilfs2: localize highmem mapping for checkpoint reading within cpfile
  nilfs2: remove nilfs_cpfile_{get,put}_checkpoint()
  nilfs2: convert cpfile to use kmap_local

 fs/nilfs2/alloc.c    |  91 ++++++------
 fs/nilfs2/bmap.c     |   3 -
 fs/nilfs2/cpfile.c   | 319 +++++++++++++++++++++++++++++--------------
 fs/nilfs2/cpfile.h   |  10 +-
 fs/nilfs2/dat.c      |  38 +++---
 fs/nilfs2/ifile.c    |  21 +--
 fs/nilfs2/ifile.h    |  10 +-
 fs/nilfs2/inode.c    |  44 +++---
 fs/nilfs2/mdt.c      |   4 +-
 fs/nilfs2/nilfs.h    |   3 +-
 fs/nilfs2/page.c     |   8 +-
 fs/nilfs2/recovery.c |   4 +-
 fs/nilfs2/segbuf.c   |   4 +-
 fs/nilfs2/segment.c  | 121 ++++++----------
 fs/nilfs2/sufile.c   |  86 ++++++------
 fs/nilfs2/super.c    |  31 +----
 16 files changed, 425 insertions(+), 372 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-01-22 14:02 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-22 14:01 [PATCH 00/15] nilfs2: eliminate kmap and kmap_atomic calls Ryusuke Konishi
2024-01-22 14:01 ` [PATCH 01/15] nilfs2: convert recovery logic to use kmap_local Ryusuke Konishi
2024-01-22 14:01 ` [PATCH 02/15] nilfs2: convert segment buffer " Ryusuke Konishi
2024-01-22 14:01 ` [PATCH 03/15] nilfs2: convert nilfs_copy_buffer() " Ryusuke Konishi
2024-01-22 14:01 ` [PATCH 04/15] nilfs2: convert metadata file common code " Ryusuke Konishi
2024-01-22 14:01 ` [PATCH 05/15] nilfs2: convert sufile " Ryusuke Konishi
2024-01-22 14:01 ` [PATCH 06/15] nilfs2: convert persistent object allocator " Ryusuke Konishi
2024-01-22 14:01 ` [PATCH 07/15] nilfs2: convert DAT " Ryusuke Konishi
2024-01-22 14:01 ` [PATCH 08/15] nilfs2: move nilfs_bmap_write call out of nilfs_write_inode_common Ryusuke Konishi
2024-01-22 14:01 ` [PATCH 09/15] nilfs2: do not acquire rwsem in nilfs_bmap_write() Ryusuke Konishi
2024-01-22 14:01 ` [PATCH 10/15] nilfs2: convert ifile to use kmap_local Ryusuke Konishi
2024-01-22 14:01 ` [PATCH 11/15] nilfs2: localize highmem mapping for checkpoint creation within cpfile Ryusuke Konishi
2024-01-22 14:01 ` [PATCH 12/15] nilfs2: localize highmem mapping for checkpoint finalization " Ryusuke Konishi
2024-01-22 14:02 ` [PATCH 13/15] nilfs2: localize highmem mapping for checkpoint reading " Ryusuke Konishi
2024-01-22 14:02 ` [PATCH 14/15] nilfs2: remove nilfs_cpfile_{get,put}_checkpoint() Ryusuke Konishi
2024-01-22 14:02 ` [PATCH 15/15] nilfs2: convert cpfile to use kmap_local Ryusuke Konishi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).