summaryrefslogtreecommitdiff
path: root/fs/btrfs/volumes.c
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2012-01-17 00:04:47 +0400
committerIlya Dryomov <idryomov@gmail.com>2012-01-17 00:04:47 +0400
commit10ea00f55a07f8f9536d9112b95108a86f700bab (patch)
tree83887f41d8a876d919f74f83cda26eb18b10deca /fs/btrfs/volumes.c
parenta46d11a8b06dd0431a3888fbc4856ea13a8e634f (diff)
downloadlinux-10ea00f55a07f8f9536d9112b95108a86f700bab.tar.xz
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/volumes.c')
0 files changed, 0 insertions, 0 deletions