Skip to content

fs/dax: Clean up busy page lookup helpers

Kaitao Cheng linux-fsdevel lkml nvdimm 1 version Applied

Status from this message: Applied to the vfs-7.4.misc branch of the vfs/vfs.git tree.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2fs/dax: Remove unused dax_layout_busy_page()fs/dax.c include/linux/dax.h+0 -122 replies
2/2fs/dax: Make dax_layout_busy_page_range() staticfs/dax.c include/linux/dax.h+8 -162 replies

Reviews trailers per patch

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

PatchMuchun SongJan Kara
1/2A-b R-b
2/2A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] fs/dax: Clean up busy page lookup helpers

The dax_layout_busy_page() and dax_layout_busy_page_range() helpers were originally exposed so filesystems could find pinned DAX pages before changing file layouts. Filesystem callers now use dax_break_layout(), which provides the complete operation, leaving no direct users of these lookup helpers outside fs/dax.c.

Remove the unused whole-mapping wrapper and make the remaining range helper private to fs/dax.c. This reduces the exported DAX interface with no functional change.

Kaitao Cheng (2):
fs/dax: Remove unused dax_layout_busy_page() fs/dax: Make dax_layout_busy_page_range() static

 fs/dax.c            | 24 ++++++++----------------
 include/linux/dax.h | 12 ------------
 2 files changed, 8 insertions(+), 28 deletions(-)
Signature · 1 line
2.50.1 (Apple Git-155)