mbox series

[00/10] Convert UFS directory handling to folios

Message ID 20240709033029.1769992-1-willy@infradead.org (mailing list archive)
Headers show
Series Convert UFS directory handling to folios | expand

Message

Matthew Wilcox July 9, 2024, 3:30 a.m. UTC
This patch series mirrors the changes to ext2 directory handling.
It combines three distinct series of ext2 patches -- using kmap_local,
Al's refactoring of the xxx_get_page() interfaces and the folio patches,
and it does them in an order which is slightly more logical when you
know that you're going to be doing all three of those conversions.

Compile tested only.  I can't find a mkfs.ufs / mkfs.ffs.  I found a
Debian package called makefs, but couldn't figure out how to drive it
the way that fstests wants to.

Matthew Wilcox (Oracle) (10):
  ufs: Convert ufs_get_page() to use a folio
  ufs: Convert ufs_get_page() to ufs_get_folio()
  ufs: Convert ufs_check_page() to ufs_check_folio()
  ufs: Convert ufs_find_entry() to take a folio
  ufs: Convert ufs_set_link() and ufss_dotdot() to take a folio
  ufs: Convert ufs_delete_entry() to work on a folio
  ufs: Convert ufs_make_empty() to use a folio
  ufs: Convert ufs_prepare_chunk() to take a folio
  ufs; Convert ufs_commit_chunk() to take a folio
  ufs: Convert directory handling to kmap_local

 fs/ufs/dir.c   | 231 +++++++++++++++++++++++--------------------------
 fs/ufs/inode.c |   4 +-
 fs/ufs/namei.c |  39 ++++-----
 fs/ufs/ufs.h   |  20 +++--
 fs/ufs/util.h  |   6 +-
 5 files changed, 139 insertions(+), 161 deletions(-)

Comments

Al Viro July 16, 2024, 10:46 p.m. UTC | #1
On Tue, Jul 09, 2024 at 04:30:17AM +0100, Matthew Wilcox (Oracle) wrote:
> This patch series mirrors the changes to ext2 directory handling.
> It combines three distinct series of ext2 patches -- using kmap_local,
> Al's refactoring of the xxx_get_page() interfaces and the folio patches,
> and it does them in an order which is slightly more logical when you
> know that you're going to be doing all three of those conversions.
> 
> Compile tested only.  I can't find a mkfs.ufs / mkfs.ffs.  I found a
> Debian package called makefs, but couldn't figure out how to drive it
> the way that fstests wants to.

I can do testing; give me a day or two...