From: Sage Weil Date: Fri, 29 Oct 2010 19:41:32 +0000 (-0400) Subject: Btrfs: add SNAP_CREATE_ASYNC ioctl X-Git-Tag: v2.6.37-rc1~19^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72fd032e94240d001b1d22f2c1dfd2592b02e44e;p=pandora-kernel.git Btrfs: add SNAP_CREATE_ASYNC ioctl Create a snap without waiting for it to commit to disk. The ioctl is ordered such that subsequent operations will not be contained by the created snapshot, and the commit is initiated, but the ioctl does not wait for the snapshot to commit to disk. We return the specific transid to userspace so that an application can wait for this specific snapshot creation to commit via the WAIT_SYNC ioctl. Signed-off-by: Sage Weil Signed-off-by: Chris Mason --- Reading git-diff-tree failed