From: Jens Axboe <[email protected]>
To: [email protected], [email protected]
Cc: [email protected], [email protected], [email protected], [email protected]
Subject: [PATCHSET v6 0/8] Improve async iomap DIO performance
Date: Mon, 24 Jul 2023 16:55:03 -0600 [thread overview]
Message-ID: <[email protected]> (raw)
Hi,
Hi,
This patchset improves async iomap DIO performance, for XFS and ext4.
For full details on this patchset, see the v4 posting:
https://lore.kernel.org/io-uring/[email protected]/
fs/iomap/direct-io.c | 163 ++++++++++++++++++++++++++++++++-----------
include/linux/fs.h | 35 +++++++++-
io_uring/rw.c | 26 ++++++-
3 files changed, 179 insertions(+), 45 deletions(-)
Can also be found here:
https://git.kernel.dk/cgit/linux/log/?h=xfs-async-dio.6
No change in performance since last time, and passes my testing without
complaints.
Changes in v6:
- Drop the polled patch, it's not needed anymore
- Change the "inline is safe" logic based on Dave's suggestions
- Gate HIPRI on INLINE_COMP|CALLER_COMP, so polled IO follows the
same rules as inline/deferred completions.
- INLINE_COMP is purely for reads, writes can user CALLER_COMP to
avoid a workqueue punt. This is necessary as we need to invalidate
pages on write completions, and if we race with a buffered reader
or writer on the file.
--
Jens Axboe
next reply other threads:[~2023-07-24 22:55 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-24 22:55 Jens Axboe [this message]
2023-07-24 22:55 ` [PATCH 1/8] iomap: cleanup up iomap_dio_bio_end_io() Jens Axboe
2023-07-24 22:55 ` [PATCH 2/8] iomap: use an unsigned type for IOMAP_DIO_* defines Jens Axboe
2023-07-24 22:55 ` [PATCH 3/8] iomap: treat a write through cache the same as FUA Jens Axboe
2023-07-24 22:55 ` [PATCH 4/8] iomap: only set iocb->private for polled bio Jens Axboe
2023-07-24 22:55 ` [PATCH 5/8] iomap: add IOMAP_DIO_INLINE_COMP Jens Axboe
2023-07-24 22:55 ` [PATCH 6/8] fs: add IOCB flags related to passing back dio completions Jens Axboe
2023-07-24 22:55 ` [PATCH 7/8] io_uring/rw: add write support for IOCB_DIO_CALLER_COMP Jens Axboe
2023-07-24 22:55 ` [PATCH 8/8] iomap: support IOCB_DIO_CALLER_COMP Jens Axboe
2023-07-26 23:07 ` [PATCHSET v6 0/8] Improve async iomap DIO performance Jens Axboe
2023-07-28 21:42 ` Dave Chinner
2023-08-01 0:20 ` Jens Axboe
2023-08-01 22:13 ` Dave Chinner
2023-08-01 23:34 ` Jens Axboe
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 \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox