From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (Postfix) with ESMTP id B80BC7CB0 for ; Wed, 30 Mar 2016 12:26:40 -0500 (CDT) Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by relay2.corp.sgi.com (Postfix) with ESMTP id 8A65B30404E for ; Wed, 30 Mar 2016 10:26:40 -0700 (PDT) Received: from newverein.lst.de (verein.lst.de [213.95.11.211]) by cuda.sgi.com with ESMTP id Lq9HTunmHTUGTaqA (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 30 Mar 2016 10:26:36 -0700 (PDT) Date: Wed, 30 Mar 2016 19:26:34 +0200 From: Christoph Hellwig Subject: Re: [PATCH] xfs: don't hand out pNFS layouts for reflink inodes Message-ID: <20160330172634.GA22951@lst.de> References: <1456936485-21940-1-git-send-email-hch@lst.de> <20160328195140.GB5360@birch.djwong.org> <20160329072128.GA14940@lst.de> <20160330000842.GD5822@birch.djwong.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20160330000842.GD5822@birch.djwong.org> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: "Darrick J. Wong" Cc: Christoph Hellwig , xfs@oss.sgi.com On Tue, Mar 29, 2016 at 05:08:42PM -0700, Darrick J. Wong wrote: > > Btw, we'll need something similar to prevent swapfiles which just use > > ->bmap, but unfortunately swap just checks for the existences of method, > > so I'll probably have to do some VFS changes to properly support that. > > Yes, please. ocfs2 will gladly let you call swapon on a reflinked file, > and totally fails to CoW it properly. :) Ouch. Time to add a test for that to xfstests.. _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs