]> 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)
commit3d3c0cfd207ef93077364bac692283c594ecedd1
treea90b04313e8671e6846d09c0c14c7b08e16d0e65
parent278a1f039087f5808f8b540d6f9d5ae312a64d78
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