public inbox for linux-fsdevel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] iomap/ntfs: remove over-strict inline data check and optimize ntfs
@ 2026-04-23 21:32 Namjae Jeon
  2026-04-23 21:32 ` [PATCH 1/2] iomap: remove over-strict inline data boundary check Namjae Jeon
  2026-04-23 21:32 ` [PATCH 2/2] ntfs: use direct pointer for inline data to avoid redundant allocation Namjae Jeon
  0 siblings, 2 replies; 3+ messages in thread
From: Namjae Jeon @ 2026-04-23 21:32 UTC (permalink / raw)
  To: brauner, djwong, hyc.lee; +Cc: willy, xiang, hch, linux-fsdevel, Namjae Jeon

This patch series aims to remove an unnecessarily strict boundary
check for IOMAP_INLINE data and, as a result, optimize the NTFS
driver's handling of resident attributes. The first patch removes
iomap_inline_data_valid() and its callers in the iomap core.
Currently, this check prevents inline_data from crossing a PAGE_SIZE
boundary. If the filesystem provides a valid mapping, iomap should trust
it regardless of page boundaries.

The second patch updates the NTFS driver to take advantage of this
change. Previously, NTFS performed redundant page allocations and
memcpy operations to ensure page-aligned inline data. By removing
these steps, we simplify the NTFS iomap implementation and improve
performance for resident file I/O.

Namjae Jeon (2):
  iomap: remove over-strict inline data boundary check
  ntfs: use direct pointer for inline data to avoid redundant allocation

 fs/iomap/buffered-io.c |  1 -
 fs/iomap/direct-io.c   |  3 --
 fs/ntfs/iomap.c        | 76 ++++--------------------------------------
 include/linux/iomap.h  | 10 ------
 4 files changed, 6 insertions(+), 84 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2026-04-23 21:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-23 21:32 [PATCH 0/2] iomap/ntfs: remove over-strict inline data check and optimize ntfs Namjae Jeon
2026-04-23 21:32 ` [PATCH 1/2] iomap: remove over-strict inline data boundary check Namjae Jeon
2026-04-23 21:32 ` [PATCH 2/2] ntfs: use direct pointer for inline data to avoid redundant allocation Namjae Jeon

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