]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit79aef6835b41a51f782b77c020b04c201d3bcc5c
treea90b04313e8671e6846d09c0c14c7b08e16d0e65
parent1b4a8830dc6aa76b76daf569d658ebad7dc8d2e9
Btrfs: add ioctl to wait for qgroup rescan completion

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