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 ABA1E31B137; Wed, 26 Nov 2025 10:34:11 +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=1764153253; cv=none; b=HWK4O++UsMVL6TC0zDJ1RECBDy4QIPs1+CyNaKWjZIp3pMVjEOPQB+sjRrMn5z9lFsZu4BZohecqGBt+y6tD+4qNtiXS64x9ukC+nnLX1URiVU5SZfsN8pmFwInqdlw6HUkdOB9Y6mCOZoxxqcCu9MUP2yPLHB4ZD7YqitJ/c4Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764153253; c=relaxed/simple; bh=5DqQpJxCWRGjTCWBnCKukPtWgMg6rSODdCIUzico59w=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tiHXNYZD5tduCygyH19O3POskrvTzEEGY8XxIJ6woHzzVrN3A5zXlHJBngoNKTfFTwdlDDSe2C1ScQU2rlAKG6kC7e6Wtx3qEAX6u3715BP6Q4ezDRuwo1lyC+0rENE92nSpp9DcJ7wk4ef+DcV1Zgs8s9+MppJDFtP+CAd3+TE= 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 9137668C7B; Wed, 26 Nov 2025 11:34:08 +0100 (CET) Date: Wed, 26 Nov 2025 11:34:08 +0100 From: "hch@lst.de" To: Chaitanya Kulkarni Cc: Yongpeng Yang , Chaitanya Kulkarni , "axboe@kernel.dk" , "agk@redhat.com" , "snitzer@kernel.org" , "mpatocka@redhat.com" , "song@kernel.org" , "yukuai@fnnas.com" , "hch@lst.de" , "sagi@grimberg.me" , "jaegeuk@kernel.org" , "chao@kernel.org" , "cem@kernel.org" , "dm-devel@lists.linux.dev" , "linux-raid@vger.kernel.org" , Johannes Thumshirn , "linux-kernel@vger.kernel.org" , "linux-nvme@lists.infradead.org" , "linux-f2fs-devel@lists.sourceforge.net" , "linux-block@vger.kernel.org" , "bpf@vger.kernel.org" , "linux-xfs@vger.kernel.org" , Yongpeng Yang Subject: Re: [f2fs-dev] [PATCH V3 6/6] xfs: ignore discard return value Message-ID: <20251126103408.GC26228@lst.de> References: <20251124234806.75216-1-ckulkarnilinux@gmail.com> <20251124234806.75216-7-ckulkarnilinux@gmail.com> <218f0cd0-61bf-4afa-afb0-a559cd085d4a@nvidia.com> Precedence: bulk X-Mailing-List: bpf@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: <218f0cd0-61bf-4afa-afb0-a559cd085d4a@nvidia.com> User-Agent: Mutt/1.5.17 (2007-11-01) On Wed, Nov 26, 2025 at 08:07:21AM +0000, Chaitanya Kulkarni wrote: > The retry for discard bio memory allocation is not desired I think, > since it's only a hint to the controller. Yes, it is. The command is defined as a hint, but it's required for a lot of workloads to work. It's not just a speculative readahead.