Linux filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/2] fs/dax: Clean up busy page lookup helpers
@ 2026-09-04 15:27 Kaitao Cheng
  2026-09-04 15:27 ` [PATCH 1/2] fs/dax: Remove unused dax_layout_busy_page() Kaitao Cheng
  2026-09-04 15:27 ` [PATCH 2/2] fs/dax: Make dax_layout_busy_page_range() static Kaitao Cheng
  0 siblings, 2 replies; 5+ messages in thread
From: Kaitao Cheng @ 2026-09-04 15:27 UTC (permalink / raw)
  To: Alexander Viro, Christian Brauner, Jan Kara, Dan Williams,
	Matthew Wilcox
  Cc: Muchun Song, linux-fsdevel, nvdimm, linux-kernel, Kaitao Cheng

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(-)

-- 
2.50.1 (Apple Git-155)


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

end of thread, other threads:[~2026-09-05  2:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-04 15:27 [PATCH 0/2] fs/dax: Clean up busy page lookup helpers Kaitao Cheng
2026-09-04 15:27 ` [PATCH 1/2] fs/dax: Remove unused dax_layout_busy_page() Kaitao Cheng
2026-09-05  2:03   ` Muchun Song
2026-09-04 15:27 ` [PATCH 2/2] fs/dax: Make dax_layout_busy_page_range() static Kaitao Cheng
2026-09-05  2:04   ` Muchun Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox