From: Jens Axboe <axboe@kernel.dk>
To: "Ritesh Harjani (IBM)" <ritesh.list@gmail.com>,
linux-block@vger.kernel.org
Cc: djwong@kernel.org, ojaswin@linux.ibm.com,
linux-fsdevel@vger.kernel.org,
John Garry <john.g.garry@oracle.com>
Subject: Re: [RFC] traceevent/block: Add REQ_ATOMIC flag to block trace events
Date: Thu, 22 May 2025 05:00:19 -0600 [thread overview]
Message-ID: <d82071dc-c9ab-4687-97a8-06f00339c689@kernel.dk> (raw)
In-Reply-To: <87msb52pld.fsf@gmail.com>
On 5/21/25 11:15 PM, Ritesh Harjani (IBM) wrote:
> Ritesh Harjani (IBM) <ritesh.list@gmail.com> writes:
>
>> John Garry <john.g.garry@oracle.com> writes:
>>
>>> On 03/04/2025 06:28, Ritesh Harjani (IBM) wrote:
>>>> Filesystems like XFS can implement atomic write I/O using either REQ_ATOMIC
>>>> flag set in the bio or via CoW operation. It will be useful if we have a
>>>> flag in trace events to distinguish between the two.
>>>
>>> I suppose that this could be useful. So far I test with block driver
>>> traces, i.e. NVMe or SCSI internal traces, just to ensure that we see
>>> the requests sent as expected
>>>
>>
>> Right.
>>
>>> This patch adds
>>>> char 'a' to rwbs field of the trace events if REQ_ATOMIC flag is set in
>>>> the bio.
>>>
>>> All others use uppercase characters, so I suggest that you continue to
>>> use that.
>>
>> It will be good to know on whether only uppercase characters are allowed
>> or we are good with smallcase characters too?
>>
>>> Since 'A' is already used, how about 'U' for untorn? Or 'T'
>>> for aTOMic :)
>>>
>>
>> If 'a' is not allowed, then we can change it to 'T' maybe.
>>
>
> Gentle ping on this.. Any comments/feedback?
>
> It will be good to have these trace events with an identifier to
> differentiate between reqs/bios submitted with REQ_ATOMIC flag.
Just send a v2 with the modified changed. I think 'U' is the most
appropriate one.
--
Jens Axboe
prev parent reply other threads:[~2025-05-22 11:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-03 5:28 [RFC] traceevent/block: Add REQ_ATOMIC flag to block trace events Ritesh Harjani (IBM)
2025-04-03 8:58 ` John Garry
2025-04-03 18:22 ` Ritesh Harjani
2025-05-22 5:15 ` Ritesh Harjani
2025-05-22 11:00 ` Jens Axboe [this message]
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=d82071dc-c9ab-4687-97a8-06f00339c689@kernel.dk \
--to=axboe@kernel.dk \
--cc=djwong@kernel.org \
--cc=john.g.garry@oracle.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=ojaswin@linux.ibm.com \
--cc=ritesh.list@gmail.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).