summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ioctl.h
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2012-01-16 21:04:47 +0100
committerIlya Dryomov <idryomov@gmail.com>2012-01-16 21:04:47 +0100
commit10ea00f55a07f8f9536d9112b95108a86f700bab (patch)
tree83887f41d8a876d919f74f83cda26eb18b10deca /fs/btrfs/ioctl.h
parentBtrfs: add BTRFS_AVAIL_ALLOC_BIT_SINGLE bit (diff)
downloadlinux-10ea00f55a07f8f9536d9112b95108a86f700bab.tar.xz
linux-10ea00f55a07f8f9536d9112b95108a86f700bab.zip
Btrfs: make avail_*_alloc_bits fields dynamic
Currently when new chunks are created respective avail_alloc_bits field is updated to reflect profiles of all chunks present in the system. However when chunks are removed profile bits are never cleared. This patch clears profile bit of respective avail_alloc_bits field when the last chunk with that profile is removed. Restriper needs this to properly operate when "downgrading". Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/btrfs/ioctl.h')
0 files changed, 0 insertions, 0 deletions