Re: [PATCH 07/11] vfs: add nowait parameter for file_accessed()

Hao Xu
2023-08-29T07:46:37Z

On 8/28/23 05:32, Matthew Wilcox wrote:
> On Sun, Aug 27, 2023 at 09:28:31PM +0800, Hao Xu wrote:
>> From: Hao Xu <howeyxu@tencent.com>
>>
>> Add a boolean parameter for file_accessed() to support nowait semantics.
>> Currently it is true only with io_uring as its initial caller.
>
> So why do we need to do this as part of this series? Apparently it
> hasn't caused any problems for filemap_read().
>

We need this parameter to indicate if nowait semantics should be
enforced in touch_atime(), There are locks and maybe IOs in it.