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 38098330B3A; Thu, 30 Oct 2025 06:55:08 +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=1761807310; cv=none; b=MJVSsMsCrjweCa3ZvFfMODb/sPhoFgqEBWKJTCYXxWZtiyvhf7OUeHoYxdz5H4ze/sgbSBF3qaa8D1uidkrKP4KMNg/V7ulFP4Faaqv+wtGU/4uZDQ7wQBSue7Bm/wgrlxTZ33FtSOnAUo6gsWPMmU2gIGYU2eb2WKOGJvxz7Mc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761807310; c=relaxed/simple; bh=6n7XV+piCArqedH5FjXxGpsUWElW+qTSY+amqnEK8sM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=T/Rb/tIbsAoAzPb3jTLAEjdP62ti3oJqhdTX89ARo7LiqWd/IOS0Ys2StUyV6fjpU6MsCVMuPg4YbL2XBzNtZ46VtgZAtFkP7+wI8BV/BnnEtbdd1L4pDUZvqRPJqcQdwv3erCV93xe891tBYyDum9vq8wANQiyRgo8z5nssI+Q= 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 EA87D227AAA; Thu, 30 Oct 2025 07:55:04 +0100 (CET) Date: Thu, 30 Oct 2025 07:55:04 +0100 From: Christoph Hellwig To: Qu Wenruo Cc: Christoph Hellwig , Qu Wenruo , "Darrick J. Wong" , Carlos Maiolino , Christian Brauner , Jan Kara , "Martin K. Petersen" , linux-kernel@vger.kernel.org, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-raid@vger.kernel.org, linux-block@vger.kernel.org, linux-btrfs@vger.kernel.org Subject: Re: [PATCH 4/4] xfs: fallback to buffered I/O for direct I/O when stable writes are required Message-ID: <20251030065504.GB13617@lst.de> References: <20251029071537.1127397-1-hch@lst.de> <20251029071537.1127397-5-hch@lst.de> <20251029155306.GC3356773@frogsfrogsfrogs> <20251029163555.GB26985@lst.de> <8f384c85-e432-445e-afbf-0d9953584b05@suse.com> <20251030055851.GA12703@lst.de> <04db952d-2319-4ef9-8986-50e744b00b62@gmx.com> <20251030064917.GA13549@lst.de> Precedence: bulk X-Mailing-List: linux-kernel@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 Thu, Oct 30, 2025 at 05:23:32PM +1030, Qu Wenruo wrote: >> So what is your application going to do if the open fails? > > If it can not accept buffered fallback, error out. Why would it not be able to accept that?