search for: chunk_start

Displaying 5 results from an estimated 5 matches for "chunk_start".

Did you mean: check_start
2013 Jun 08
0
[PATCH] Btrfs-progs: elaborate error handling of mkfs
...t_dir(struct btrfs_root *root, int mixed) BTRFS_BLOCK_GROUP_SYSTEM, BTRFS_FIRST_CHUNK_TREE_OBJECTID, 0, BTRFS_MKFS_SYSTEM_GROUP_SIZE); - BUG_ON(ret); + if (ret) + goto err; if (mixed) { ret = btrfs_alloc_chunk(trans, root->fs_info->extent_root, &chunk_start, &chunk_size, BTRFS_BLOCK_GROUP_METADATA | BTRFS_BLOCK_GROUP_DATA); - BUG_ON(ret); + if (ret) + goto err; ret = btrfs_make_block_group(trans, root, 0, BTRFS_BLOCK_GROUP_METADATA | BTRFS_BLOCK_GROUP_DATA, BTRFS_FIRST_CHUNK_TREE_OBJECTID,...
2013 Sep 05
3
[PATCH v2 0/3] btrfs-progs: prevent mkfs from aborting with small volume
Here are 3 patches to avoid undesired aborts of mkfs.btrfs. These are based on top of Chris''s btrfs-progs.git: git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git Thanks, H.Seto Hidetoshi Seto (3): btrfs-progs: error if device for mkfs is too small btrfs-progs: error if device have no space to make primary chunks btrfs-progs: calculate available
2010 Jan 18
1
[PATCH 1/2] nv30-nv40: Rewrite primitive splitting and emission
...itive boundaries. +// output v[global_start] before the chunk +#define SPLIT_BEGIN_WITH_FIRST 1 + +// output v[global_start] before the chunk, with edgeflag off +#define SPLIT_BEGIN_WITH_FIRST_EDGEFLAG_OFF 2 + +// output v[global_start] after the chunk +#define SPLIT_END_WITH_FIRST 4 + +// output v[chunk_start - 4], v[chunk_start - 6], v[chunk_start - 2] before the chunk +// output v[chunk_end + 1] after the chunk +#define SPLIT_TRIANGLE_STRIP_ADJACENCY 8 + +/* private flags for nouveau_vbuf_split to keep state */ +#define SPLIT_CLOSE_LOOP 0x40000000 + +/* If 0 is returned, you must flush and retry * -...
2009 Nov 14
2
[PATCH] btrfs-progs: Check mount status of multidevice filesystems
...leaf, dev_item, check_mount); BUG_ON(ret); } } else if (found_key.type == BTRFS_CHUNK_ITEM_KEY) { diff --git a/volumes.h b/volumes.h index bb78751..baf12ff 100644 --- a/volumes.h +++ b/volumes.h @@ -103,16 +103,16 @@ int btrfs_rmap_block(struct btrfs_mapping_tree *map_tree, u64 chunk_start, u64 physical, u64 devid, u64 **logical, int *naddrs, int *stripe_len); int btrfs_read_sys_array(struct btrfs_root *root); -int btrfs_read_chunk_tree(struct btrfs_root *root); +int btrfs_read_chunk_tree(struct btrfs_root *root, int check_mount); int btrfs_alloc_chunk(struct btrfs_trans_ha...
2012 Mar 20
13
[PATCH 0 of 3 v2] PV-GRUB: add support for ext4 and btrfs
Hi, The following patches add support for ext4 and btrfs to PV-GRUB. These patches are taken nearly verbatim from those provided by Fedora and Gentoo. We''ve been using these patches for the PV-GRUB images available in EC2 for some time now with no problems. Changes from v1: - Makefile has been changed to check the exit code from patch - The btrfs patch has been rebased to apply