From: "Ritesh Harjani (IBM)" <ritesh.list@gmail.com>
To: linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org
Cc: Jan Kara <jack@suse.cz>, Christoph Hellwig <hch@infradead.org>,
"Darrick J . Wong" <djwong@kernel.org>,
Ojaswin Mujoo <ojaswin@linux.ibm.com>,
Disha Goel <disgoel@linux.ibm.com>,
"Ritesh Harjani (IBM)" <ritesh.list@gmail.com>
Subject: [PATCHv5 0/9] ext2: DIO to use iomap
Date: Sun, 16 Apr 2023 15:38:35 +0530 [thread overview]
Message-ID: <cover.1681639164.git.ritesh.list@gmail.com> (raw)
Hello All,
Please find the series which rewrites ext2 direct-io path to use modern
iomap interface.
RFCv4 -> PATCHv5:
=================
1. Added trace_iomap_dio_rw_begin tracepoint in __iomap_dio_rw()
2. Added Reviewed-by tags from Christoph
RFCv3 -> RFCV4:
===============
1. Renamed __generic_file_fsync_nolock() from libfs to generic_buffer_fsync() in
fs/buffer.c
(Review comment from Christoph)
2. Fixed s/EVENTD/EVENTFD/ in TRACE_IOCB_STRINGS
3. Fixed few data types for parameters in ext2 trace patch (size_t && ssize_t)
4. Killed this patch "Minor refactor of iomap_dio_rw"
5. Changed iomap tracepoint patch and fixed the data types (size_t && ssize_t)
(addressed review comments from Christoph)
RFCv2 -> RFCv3:
===============
1. Addressed minor review comments related to extern, parameter naming in
function declaration, removing not required braces and shorting overly long
lines.
2. Added Reviewed-by from various reviewers.
3. Fixed a warning & couple of compilation errors in Patch-7 (ext2 trace points)
related to CFLAGS_trace & second related to unable to find function
definition for iov_iter_count(). (requires uio.h file)
CFLAGS_trace is required in Makefile so that it can find trace.h file from
tracepoint infrastructure.
4. Changed naming of IOCB_STRINGS TO TRACE_IOCB_STRINGS.
5. Shortened naming of tracepoint events for ext2 dio.
6. Added iomap DIO tracepoint events.
7. Disha tested this series internally against Power with "auto" group for 4k
and 64k blocksize configuration. Added her "Tested-by" tag in all DIO
related patches. No new failures were reported.
Thanks everyone for the review and test. The series is looking good to me now.
It has been tested on x86 and Power with different configurations.
Please let me know if anything else is required on this.
v2: https://lore.kernel.org/all/ZDTybcM4kjYLSrGI@infradead.org/
Ritesh Harjani (IBM) (9):
ext2/dax: Fix ext2_setsize when len is page aligned
fs/buffer.c: Add generic_buffer_fsync implementation
ext4: Use generic_buffer_fsync() implementation
ext2: Use generic_buffer_fsync() implementation
ext2: Move direct-io to use iomap
fs.h: Add TRACE_IOCB_STRINGS for use in trace points
ext2: Add direct-io trace points
iomap: Remove IOMAP_DIO_NOSYNC unused dio flag
iomap: Add DIO tracepoints
fs/buffer.c | 43 ++++++++++++
fs/ext2/Makefile | 5 +-
fs/ext2/ext2.h | 1 +
fs/ext2/file.c | 128 +++++++++++++++++++++++++++++++++++-
fs/ext2/inode.c | 58 +++++++++-------
fs/ext2/trace.c | 6 ++
fs/ext2/trace.h | 94 ++++++++++++++++++++++++++
fs/ext4/fsync.c | 32 ++++-----
fs/iomap/direct-io.c | 9 ++-
fs/iomap/trace.c | 1 +
fs/iomap/trace.h | 78 ++++++++++++++++++++++
include/linux/buffer_head.h | 2 +
include/linux/fs.h | 14 ++++
include/linux/iomap.h | 6 --
14 files changed, 429 insertions(+), 48 deletions(-)
create mode 100644 fs/ext2/trace.c
create mode 100644 fs/ext2/trace.h
--
2.39.2
next reply other threads:[~2023-04-16 10:09 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-16 10:08 Ritesh Harjani (IBM) [this message]
2023-04-16 10:08 ` [PATCHv5 1/9] ext2/dax: Fix ext2_setsize when len is page aligned Ritesh Harjani (IBM)
2023-04-16 10:08 ` [PATCHv5 2/9] fs/buffer.c: Add generic_buffer_fsync implementation Ritesh Harjani (IBM)
2023-04-17 11:01 ` Jan Kara
2023-04-17 11:07 ` Jan Kara
2023-04-17 11:38 ` Ritesh Harjani
2023-04-17 16:45 ` Jan Kara
2023-04-18 5:04 ` Christoph Hellwig
2023-04-20 14:42 ` Ritesh Harjani
2023-04-16 10:08 ` [PATCHv5 3/9] ext4: Use generic_buffer_fsync() implementation Ritesh Harjani (IBM)
2023-04-16 10:08 ` [PATCHv5 4/9] ext2: " Ritesh Harjani (IBM)
2023-04-16 10:08 ` [PATCHv5 5/9] ext2: Move direct-io to use iomap Ritesh Harjani (IBM)
2023-04-17 11:20 ` Jan Kara
2023-04-20 14:48 ` Ritesh Harjani
2023-04-16 10:08 ` [PATCHv5 6/9] fs.h: Add TRACE_IOCB_STRINGS for use in trace points Ritesh Harjani (IBM)
2023-04-16 10:08 ` [PATCHv5 7/9] ext2: Add direct-io " Ritesh Harjani (IBM)
2023-04-16 10:08 ` [PATCHv5 8/9] iomap: Remove IOMAP_DIO_NOSYNC unused dio flag Ritesh Harjani (IBM)
2023-04-16 10:08 ` [PATCHv5 9/9] iomap: Add DIO tracepoints Ritesh Harjani (IBM)
2023-04-16 13:49 ` Christoph Hellwig
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=cover.1681639164.git.ritesh.list@gmail.com \
--to=ritesh.list@gmail.com \
--cc=disgoel@linux.ibm.com \
--cc=djwong@kernel.org \
--cc=hch@infradead.org \
--cc=jack@suse.cz \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=ojaswin@linux.ibm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).