From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B36AE3191B2; Wed, 19 Nov 2025 06:28:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763533718; cv=none; b=k+Z1nkqkdl46LSpUHD7oqTffJzWj+oypiKqneMSyr+YtNQqciopAuSJXEqxfo51xDGT/7eCkMHt9jE2yzfWPX02xjD9AkUh99Lp148EU0l+E2REcC2XvE4sHkoh5+1ULpIvwE51omxMWy6si0G79skG1TsnSRmJtpZ9sQjSFYeA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763533718; c=relaxed/simple; bh=uV9aHOFGSAEXlN+kUa3QTGk4uOyacs/HBVBC43oduM4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JoG+jI48CTFGbzVNqC65hm//+lGg8vS63jUlHfE91iFhaoWieczgtwYQLDrIz5bNaaZ8Zph15EvbEyzF5pCg5lpw7LeWA+y62lyHU/NrcXk5obTurZTFlovR4vHEQ1QvdhbTpG1IXaRjURxTAVTL3cAAWU/tx3Pb6MiC3584/AM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id 2B98C68AFE; Wed, 19 Nov 2025 07:28:31 +0100 (CET) Date: Wed, 19 Nov 2025 07:28:30 +0100 From: Christoph Hellwig To: Chaitanya Kulkarni Cc: Christoph Hellwig , Christian Brauner , Al Viro , David Sterba , Jan Kara , Mike Marshall , Martin Brandenburg , Carlos Maiolino , Stefan Roesch , Jeff Layton , "linux-kernel@vger.kernel.org" , "linux-btrfs@vger.kernel.org" , "gfs2@lists.linux.dev" , "io-uring@vger.kernel.org" , "devel@lists.orangefs.org" , "linux-unionfs@vger.kernel.org" , "linux-mtd@lists.infradead.org" , "linux-xfs@vger.kernel.org" , "linux-nfs@vger.kernel.org" Subject: Re: [PATCH 10/14] fs: factor out a sync_lazytime helper Message-ID: <20251119062830.GB20592@lst.de> References: <20251114062642.1524837-1-hch@lst.de> <20251114062642.1524837-11-hch@lst.de> Precedence: bulk X-Mailing-List: io-uring@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) 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.