Lines Matching refs:data
223 DESCRIBE_FLAG(BTRFS_BLOCK_GROUP_DATA, "data");
3401 * return 1 : allocate a data chunk successfully,
3402 * return <0: errors during allocating a data chunk,
3403 * return 0 : no need to allocate a data chunk.
3478 btrfs_cpu_balance_args_to_disk(&disk_bargs, &bctl->data);
3544 if (bctl->data.flags & BTRFS_BALANCE_ARGS_CONVERT)
3545 bctl->data.flags |= BTRFS_BALANCE_ARGS_SOFT;
3558 if (!(bctl->data.flags & BTRFS_BALANCE_ARGS_USAGE) &&
3559 !(bctl->data.flags & BTRFS_BALANCE_ARGS_USAGE_RANGE) &&
3560 !(bctl->data.flags & BTRFS_BALANCE_ARGS_CONVERT)) {
3561 bctl->data.flags |= BTRFS_BALANCE_ARGS_USAGE;
3562 bctl->data.usage = 90;
3788 bargs = &bctl->data;
3877 u64 limit_data = bctl->data.limit;
3901 bctl->data.limit = limit_data;
3985 count_data < bctl->data.limit_min)
3996 * We may be relocating the only data chunk we have,
3997 * which could potentially end up with losing data's
4222 describe_balance_args(&bctl->data, tmp_buf, sizeof(tmp_buf));
4278 * In case of mixed groups both data and meta should be picked,
4285 memcmp(&bctl->data, &bctl->meta, sizeof(bctl->data))) {
4287 "balance: mixed groups data and metadata options must be the same");
4309 if (!validate_convert_profile(fs_info, &bctl->data, allowed, "data") ||
4342 data_target = (bctl->data.flags & BTRFS_BALANCE_ARGS_CONVERT) ?
4343 bctl->data.target : fs_info->avail_data_alloc_bits;
4361 "balance: metadata profile %s has lower redundancy than data profile %s",
4442 static int balance_kthread(void *data)
4444 struct btrfs_fs_info *fs_info = data;
4529 btrfs_disk_balance_args_to_cpu(&bctl->data, &disk_bargs);
4640 int btrfs_uuid_scan_kthread(void *data)
4642 struct btrfs_fs_info *fs_info = data;
4931 * We may be relocating the only data chunk we have,
4932 * which could potentially end up with losing data's
5283 * Use the number of data stripes to figure out how big this chunk is
5716 * not write the data into that chunk successfully.
5771 * There could be two corrupted data stripes, we need
5772 * to loop retry in order to rebuild the correct data.
5980 * device we have to walk to find the data, and stripe_index is
6244 * the remaining data stripes.
6247 * data/P stripe error and rebuild from the remaining
6251 * a full stripe map (including all data and P/Q stripes)
6378 * Mirror #0 or #1 means the original data block.
6395 * device we have to walk to find the data, and stripe_index is
6446 * rule that data stripes are all ordered, then followed with P and Q
7959 static int relocating_repair_kthread(void *data)
7961 struct btrfs_block_group *cache = data;