On Thu, May 22, 2025 at 07:21:10PM +0530, 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. This > patch adds char 'U' (Untorn writes) to rwbs field of the trace events > if REQ_ATOMIC flag is set in the bio. > > <W/ REQ_ATOMIC> > ================= > xfs_io-4238 [009] ..... 4148.126843: block_rq_issue: 259,0 WFSU 16384 () 768 + 32 none,0,0 [xfs_io] > <idle>-0 [009] d.h1. 4148.129864: block_rq_complete: 259,0 WFSU () 768 + 32 none,0,0 [0] > > <W/O REQ_ATOMIC> > =============== > xfs_io-4237 [010] ..... 4143.325616: block_rq_issue: 259,0 WS 16384 () 768 + 32 none,0,0 [xfs_io] > <idle>-0 [010] d.H1. 4143.329138: block_rq_complete: 259,0 WS () 768 + 32 none,0,0 [0] > > Signed-off-by: Ritesh Harjani (IBM) <ritesh.list@xxxxxxxxx> Looks good Ritesh, feel free to add: Reviewed-by: Ojaswin Mujoo <ojaswin@xxxxxxxxxxxxx> Regards, ojaswin