From: Namjae Jeon <linkinjeon@kernel.org>
To: sj1557.seo@samsung.com, yuezhang.mo@sony.com, brauner@kernel.org,
djwong@kernel.org, hch@lst.de
Cc: linux-fsdevel@vger.kernel.org, anmuxixixi@gmail.com,
dxdt@dev.snart.me, chizhiling@kylinos.cn,
linux-kernel@vger.kernel.org, Namjae Jeon <linkinjeon@kernel.org>
Subject: [PATCH v2 0/9] exfat: convert to iomap
Date: Thu, 7 May 2026 21:42:29 +0900 [thread overview]
Message-ID: <20260507124238.7313-1-linkinjeon@kernel.org> (raw)
This patch series converts the exfat filesystem to the iomap framework for
buffered I/O, direct I/O, and llseek (SEEK_HOLE/SEEK_DATA) support.
iozone benchmark results (4KB cluster size, -s1g -r64k, 1GB file, 64KB record size)
1 thread 4 threads
Write Read Write Read
(MB/s) (MB/s) (MB/s) (MB/s)
-----------------------------------------------------------------
exfat + iomap patch 332.7 418.1 78.6 82.4
Current exfat 278.4 415.1 42.1 38.0
-----------------------------------------------------------------
Improvement +19.5% +0.7% +86.7% +117.4%
v2:
- Replace macros with static inline functions.
- Remove noop_direct_IO.
- Consolidate read and write iomap_begin into __exfat_iomap_begin()
- Zero out stale data in straddle block beyond valid_size.
- Introduce IOMAP_F_ZERO_TAIL flag to remove exfat_iomap_put_folio().
- Select FS_IOMAP in Kconfig.
- Remove unnecessary alignment check in exfat_file_read_iter().
- Just use generic_file_llseek directly.
- Move exfat_extend_valid_size to exfat_file_write_iter().
- Use pagecache_isize_extended() to remove iomap_zero_range in
exfat_setattr().
- fix mmap write data corruption with byte-by-byte fallocate.
- Remove exfat_mkwrite_iomap_begin().
Namjae Jeon (9):
exfat: replace unsafe macros with static inline functions
exfat: add balloc parameter to exfat_map_cluster() for iomap support
exfat: add exfat_file_open()
exfat: add support for multi-cluster allocation
iomap: introduce IOMAP_F_ZERO_TAIL flag
exfat: add data_start_bytes and exfat_cluster_to_phys() helper
exfat: add iomap buffered I/O support
exfat: add iomap direct I/O support
exfat: add support for SEEK_HOLE and SEEK_DATA in llseek
fs/exfat/Kconfig | 2 +-
fs/exfat/Makefile | 2 +-
fs/exfat/balloc.c | 2 +-
fs/exfat/dir.c | 50 +++---
fs/exfat/exfat_fs.h | 140 ++++++++++++-----
fs/exfat/fatent.c | 30 ++--
fs/exfat/file.c | 253 +++++++++++++++++++++++-------
fs/exfat/inode.c | 342 ++++++-----------------------------------
fs/exfat/iomap.c | 247 +++++++++++++++++++++++++++++
fs/exfat/iomap.h | 15 ++
fs/exfat/namei.c | 28 ++--
fs/exfat/super.c | 5 +-
fs/iomap/buffered-io.c | 4 +
include/linux/iomap.h | 4 +
14 files changed, 678 insertions(+), 446 deletions(-)
create mode 100644 fs/exfat/iomap.c
create mode 100644 fs/exfat/iomap.h
--
2.25.1
next reply other threads:[~2026-05-07 12:44 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-07 12:42 Namjae Jeon [this message]
2026-05-07 12:42 ` [PATCH v2 1/9] exfat: replace unsafe macros with static inline functions Namjae Jeon
2026-05-07 13:41 ` CharSyam
2026-05-07 23:36 ` Namjae Jeon
2026-05-07 12:42 ` [PATCH v2 2/9] exfat: add balloc parameter to exfat_map_cluster() for iomap support Namjae Jeon
2026-05-07 12:42 ` [PATCH v2 3/9] exfat: add exfat_file_open() Namjae Jeon
2026-05-07 13:52 ` CharSyam
2026-05-07 23:37 ` Namjae Jeon
2026-05-07 12:42 ` [PATCH v2 4/9] exfat: add support for multi-cluster allocation Namjae Jeon
2026-05-07 14:09 ` CharSyam
2026-05-08 0:27 ` Namjae Jeon
2026-05-10 13:32 ` Chi Zhiling
2026-05-11 0:20 ` Namjae Jeon
2026-05-11 0:45 ` Chi Zhiling
2026-05-07 12:42 ` [PATCH v2 5/9] iomap: introduce IOMAP_F_ZERO_TAIL flag Namjae Jeon
2026-05-09 9:59 ` Chi Zhiling
2026-05-09 14:30 ` Namjae Jeon
2026-05-11 12:45 ` Christoph Hellwig
2026-05-11 13:46 ` Namjae Jeon
2026-05-07 12:42 ` [PATCH v2 6/9] exfat: add data_start_bytes and exfat_cluster_to_phys() helper Namjae Jeon
2026-05-07 12:42 ` [PATCH v2 7/9] exfat: add iomap buffered I/O support Namjae Jeon
2026-05-12 6:34 ` Christoph Hellwig
2026-05-12 7:40 ` Namjae Jeon
2026-05-07 12:42 ` [PATCH v2 8/9] exfat: add iomap direct " Namjae Jeon
2026-05-12 6:37 ` Christoph Hellwig
2026-05-12 7:47 ` Namjae Jeon
2026-05-07 12:42 ` [PATCH v2 9/9] exfat: add support for SEEK_HOLE and SEEK_DATA in llseek Namjae Jeon
2026-05-12 6:40 ` Christoph Hellwig
2026-05-12 7:50 ` Namjae Jeon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260507124238.7313-1-linkinjeon@kernel.org \
--to=linkinjeon@kernel.org \
--cc=anmuxixixi@gmail.com \
--cc=brauner@kernel.org \
--cc=chizhiling@kylinos.cn \
--cc=djwong@kernel.org \
--cc=dxdt@dev.snart.me \
--cc=hch@lst.de \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sj1557.seo@samsung.com \
--cc=yuezhang.mo@sony.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.