From: Christoph Hellwig Subject: move btrfs clone ioctls to common code V2 Date: Thu, 3 Dec 2015 12:59:48 +0100 Message-ID: <1449143992-7415-1-git-send-email-hch@lst.de> Cc: tao.peng@primarydata.com, jeff.layton@primarydata.com, bfields@fieldses.org, linux-fsdevel@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-nfs@vger.kernel.org, linux-cifs@vger.kernel.org To: viro@zeniv.linux.org.uk Return-path: Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-cifs.vger.kernel.org This patch set moves the existing btrfs clone ioctls that other file system have started to implement to common code, and allows the NFS server to export this functionality to remote systems. This work is based originally on my NFS CLONE prototype, which reused code from Anna Schumaker's NFS COPY prototype, as well as various updates from Peng Tao to this code. The patches are also available as a git branch and on gitweb: git://git.infradead.org/users/hch/pnfs.git clone-for-viro http://git.infradead.org/users/hch/pnfs.git/shortlog/refs/heads/clone-for-viro Changes since V1: - change the locks_mandatory_area calling convention again - support clones on CIFS properly - rebase on top of the NFS clone updates in 4.4-rc3