Re: [PATCH 10/14] fs: factor out a sync_lazytime helper

Christoph Hellwig
2025-11-19T06:28:35Z

On Mon, Nov 17, 2025 at 07:38:29AM +0000, Chaitanya Kulkarni wrote:
>
> This sync_lazytime() will always return false ?
> shouldn't this be returning true at sometime if not then why not
> change return type to void ?
>
> returning same value doesn't add any value here ..

Yes, it should return true when actually doing work. So currently the
syncing on final inode eviction is broken, but it looks like non of the
tests actually hits it.