]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/btrfs/ctree.h
Btrfs: allow for canceling restriper
authorIlya Dryomov <idryomov@gmail.com>
Mon, 16 Jan 2012 20:04:49 +0000 (22:04 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 16 Jan 2012 20:04:49 +0000 (22:04 +0200)
commita7e99c691af553fc15ac46a51f130b7c59a65f76
tree55491f285683951d509819a66e614ac6f12659dd
parent837d5b6e46d1a4af5b6cc8f2fe83cb5de79a2961
Btrfs: allow for canceling restriper

Implement an ioctl for canceling restriper.  Currently we wait until
relocation of the current block group is finished, in future this can be
done by triggering a commit.  Balance item is deleted and no memory
about the interrupted balance is kept.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/ioctl.c
fs/btrfs/ioctl.h
fs/btrfs/volumes.c
fs/btrfs/volumes.h