From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 6D2EF1CD2F for ; Thu, 20 Jun 2024 05:27:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718861240; cv=none; b=V4dfO0Ne/hx+fIaIJv9gOFVIELh/EhyN/subOFeUPDP5N1eirigfm6P5MLWeV3OIK3uAX3aurR8yPQS+GlILDN2iHl/me5NCouUIYJ033seipovi5SYtZf228CqLhRtxFmYIYmZZbjAQoGgHLz1E7M/U1cEyjPRyfziZZzjGKnQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718861240; c=relaxed/simple; bh=8LZlw6/R8VQK+Vq0OokZF0jF0XR/CrczoodazJAxIHk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BbhZ7Cyhe6YL1M7RDvcfhqTwNRvEdcW8Sdius0WkfrswLKbqdxV8w8GFUVEttcTLfMwDisBdg8pXHuBodGYsrkgjpTnlZCUkzn4Js7EqriO5JQuRy2n2n8sqz2BbKzh/RPduCDl1qbOCQOqum+9H603UL3qmGvNPV2Yfid6yCXM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=AnpY9MU4; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="AnpY9MU4" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=idRETg2U1pGFt7SM75Oxx2hxCh0s3g8Q6dWFTSCzG84=; b=AnpY9MU4C48M2W6R307WM0flWP JZP04fskxzJUZdkJTTGSiNkIBEmdb70KVuLaG2Uo2B/JXFwZmCW/A1b7vOKYi5C1GGQ6KgaL2NEZo 8Xf9QBM8r+KTDwk9VnIJrIBUdylWErYmgYAM4NHaA80nDeX4MHnCewpytqyaWStmVboswXpXFLc4/ Lp/7QzkJ2pzpu5/MIcAqVYjmc0v5NBwySmixiZ5hsBMBgvt3ytK9lrNBtdH9d0FwKazjP1vcsKHDQ qD9SRvv35Ji4jxbaFMnKAmY2p65myIXSey0VFZHi8mqaRMzDIkAEBGrpyljt8kH1ZciHUJj2Q1K4D 2WznwbTQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKAKM-00000003gJh-3S28; Thu, 20 Jun 2024 05:27:18 +0000 Date: Wed, 19 Jun 2024 22:27:18 -0700 From: Christoph Hellwig To: Sagi Grimberg Cc: Trond Myklebust , "dan.aloni@vastdata.com" , "linux-nfs@vger.kernel.org" Subject: Re: [PATCH] nfs: add 'noextend' option for lock-less 'lost writes' prevention Message-ID: References: <20240618153313.3167460-1-dan.aloni@vastdata.com> <5366ff2a4f731dbd93a56e109d6809a5348cf080.camel@hammerspace.com> <50f63382-eeb1-4615-a0ac-987afee11902@grimberg.me> Precedence: bulk X-Mailing-List: linux-nfs@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: <50f63382-eeb1-4615-a0ac-987afee11902@grimberg.me> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html On Wed, Jun 19, 2024 at 05:31:08PM +0300, Sagi Grimberg wrote: > > buffered I/O model. So this would allow the user or sysadmin to specify > > at file creation time that this file will be used for purposes that are > > incompatible with caching. > > user/sysadmin as in not the client? setting this out-of-band? > That does not work where the application and the sysadmin do not know about > each other (i.e. in a cloud environment). > > The use-case that is described here cannot be mandated by the server because > the file usage pattern is really driven by the application. The way I understood Trond is that it is set on the client, but the application or and out of band tool. Think of the attributes set by chattr.