All of lore.kernel.org
 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
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ 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] 8+ messages in thread

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

Thread overview: 8+ 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-07  8:21   ` Jan Kara
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
2026-09-07  8:22   ` Jan Kara
2026-09-10  8:05 ` [PATCH 0/2] fs/dax: Clean up busy page lookup helpers Christian Brauner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.