From: David Sterba Subject: Re: [PATCH RFC 02/11] vfs/btrfs: add .clone_range file operation Date: Wed, 26 Aug 2015 15:00:57 +0200 Message-ID: <20150826130057.GW10756@suse.cz> References: <1440516829-116041-1-git-send-email-tao.peng@primarydata.com> <1440516829-116041-3-git-send-email-tao.peng@primarydata.com> <20150826080111.GV10756@twin.jikos.cz> Reply-To: dsterba-AlSwsSmVLrQ@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Linux NFS Mailing List , Trond Myklebust , Anna Schumaker , Christoph Hellwig , Zach Brown , Darren Hart , Bruce Fields , Jeff Layton , linux-btrfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Devel FS Linux To: Peng Tao Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-nfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-fsdevel.vger.kernel.org On Wed, Aug 26, 2015 at 04:31:09PM +0800, Peng Tao wrote: > >> -#define BTRFS_IOC_CLONE _IOW(BTRFS_IOCTL_MAGIC, 9, int) > > > > The ioctl definition reuses the BTRFS_IOCTL_MAGIC (0x94), which is IMHO > > wrong. > > > I thought it breaks ABI if we choose a different value for the type > field of the ioctl. Am I misunderstanding it? The ioctl is now private to btrfs, you're going to define the new ABI so it IMHO should use the generic filesystem ioctl magic/namespace. -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html