summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ioctl.h
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2012-01-16 22:04:47 +0200
committerIlya Dryomov <idryomov@gmail.com>2012-01-16 22:04:47 +0200
commit10ea00f55a07f8f9536d9112b95108a86f700bab (patch)
tree83887f41d8a876d919f74f83cda26eb18b10deca /fs/btrfs/ioctl.h
parenta46d11a8b06dd0431a3888fbc4856ea13a8e634f (diff)
downloadop-kernel-dev-10ea00f55a07f8f9536d9112b95108a86f700bab.zip
op-kernel-dev-10ea00f55a07f8f9536d9112b95108a86f700bab.tar.gz
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
OpenPOWER on IntegriCloud