Re: [PATCH v5 03/10] fs: Initial atomic write support

John Garry
2024-03-08T17:16:23Z

On 08/03/2024 17:05, Jens Axboe wrote:
>> And the callers can hardcode rw_type?
> Yep, basically making the change identical to the aio one. Not sure why
> you did it differently in those two spots.

In the aio code, rw_type was readily available. For io_uring it was not,
and I chose to derive from something locally available. But that's a bit
awkward and is not good for performance, so I'll follow your suggestion.

Thanks,
John