Btrfs: add ioctl to wait for qgroup rescan completion
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Mon, 6 May 2013 19:14:17 +0000 (19:14 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Fri, 14 Jun 2013 15:29:22 +0000 (11:29 -0400)
btrfs_qgroup_wait_for_completion waits until the currently running qgroup
operation completes. It returns immediately when no rescan process is in
progress. This is useful to automate things around the rescan process (e.g.
testing).

Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/ctree.h
fs/btrfs/ioctl.c
fs/btrfs/qgroup.c
include/uapi/linux/btrfs.h

Simple merge
Simple merge
Simple merge
Simple merge