search for: root_cache

Displaying 8 results from an estimated 8 matches for "root_cache".

Did you mean: font_cache
2013 Jun 04
0
[PATCH] Btrfs-progs: fix incorrect root backref errors in fsck
...Bacik <jbacik@fusionio.com> --- cmds-check.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/cmds-check.c b/cmds-check.c index bbef89a..4083298 100644 --- a/cmds-check.c +++ b/cmds-check.c @@ -1507,14 +1507,16 @@ static int add_root_backref(struct cache_tree *root_cache, } if (item_type == BTRFS_DIR_ITEM_KEY) { + if (backref->found_forward_ref) + rec->found_ref++; backref->found_dir_item = 1; - backref->reachable = 1; - rec->found_ref++; } else if (item_type == BTRFS_DIR_INDEX_KEY) { backref->found_dir_index = 1; } else if (i...
2009 Nov 14
2
[PATCH] btrfs-progs: Check mount status of multidevice filesystems
...gned-off-by: Andi Drebes <lists-receive@programmierforen.de> --- diff --git a/btrfs-map-logical.c b/btrfs-map-logical.c index a109c6a..1e0ef9f 100644 --- a/btrfs-map-logical.c +++ b/btrfs-map-logical.c @@ -169,7 +169,7 @@ int main(int ac, char **av) radix_tree_init(); cache_tree_init(&root_cache); - root = open_ctree(dev, 0, 0); + root = open_ctree(dev, 0, 0, 0); if (!root) { fprintf(stderr, "Open ctree failed\n"); exit(1); diff --git a/btrfsck.c b/btrfsck.c index 73f1836..1434791 100644 --- a/btrfsck.c +++ b/btrfsck.c @@ -2821,7 +2821,7 @@ int main(int ac, char **av)...
2010 Jan 23
0
btrfsck failed
I tried an (offline) btrfsck and got the following error message: > btrfsck /dev/sdb3 btrfsck: btrfsck.c:584: splice_shared_node: Assertion `!(src == &src_node->root_cache)'' failed. Aborted I use kernel version 2.6.32.2 with builtin btrfs-drivers. Greetings, Michael -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordom...
2010 Feb 01
0
[PATCH] btrfsck: Remove superfluous WARN_ON
...fsck.c --- btrfs-progs-unstable/btrfsck.c 2009-09-28 15:54:55.980479398 +0800 +++ btrfs-progs-2/btrfsck.c 2010-01-31 09:46:24.645485459 +0800 @@ -581,7 +581,6 @@ again: } ret = insert_existing_cache_extent(dst, &ins->cache); if (ret == -EEXIST) { - WARN_ON(src == &src_node->root_cache); conflict = get_inode_rec(dst, rec->ino, 1); merge_inode_recs(rec, conflict, dst); if (rec->checked) { -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.ker...
2013 Oct 22
0
[PATCH] Btrfs-progs: add support for the no holes incompat flag
...ure there + * are no gaps in the file extents for inodes, otherwise we can just + * ignore it when this happens. + */ + no_holes = btrfs_fs_incompat(root->fs_info, + BTRFS_FEATURE_INCOMPAT_NO_HOLES); fprintf(stderr, "checking fs roots\n"); ret = check_fs_roots(root, &root_cache); if (ret) diff --git a/ctree.h b/ctree.h index 2117374..761987a 100644 --- a/ctree.h +++ b/ctree.h @@ -470,7 +470,7 @@ struct btrfs_super_block { #define BTRFS_FEATURE_INCOMPAT_EXTENDED_IREF (1ULL << 6) #define BTRFS_FEATURE_INCOMPAT_RAID56 (1ULL << 7) #define BTRFS_FEATURE_INCOM...
2013 Jan 29
8
[RFC] Move btrfsck in to the btrfs command
NOTE: in order to apply this patch you should: git mv btrfsck.c cmd-fsck.c This patch moves btrfsck in to "btrfs fsck". It also adds support for symlinks to the btrfs binary to retain compablity, =) I think something should be done to the help description but i''m not sure what... Anyway, feedback is welcome. -- To unsubscribe from this list: send the line "unsubscribe
2011 Feb 09
1
warning in btrfs_free_block_groups
...> 0) { WARN_ON(1); dump_space_info(space_info, 0, 0); } list_del(&space_info->list); kfree(space_info); } return 0; When I tried btrfsck, I get: btrfsck: btrfsck.c:584: splice_shared_node: Assertion `!(src == &src_node->root_cache)'' failed. I''m making heavy use of subvolume snapshots. The partition is being used for backups and I use ''rsync --inplace'' along with the CoW feature to preserve space. Regards, Neil -- To unsubscribe from this list: send the line "unsubscribe linux-bt...
2013 Apr 03
0
[PATCH] Btrfs-progs: add a free space cache checker to fsck
...**argv) if (ret) fprintf(stderr, "Errors found in extent allocation tree\n"); + fprintf(stderr, "checking free space cache\n"); + ret = check_space_cache(root); + if (ret) + goto out; + fprintf(stderr, "checking fs roots\n"); ret = check_fs_roots(root, &root_cache); if (ret) diff --git a/ctree.h b/ctree.h index 702de2c..67fa650 100644 --- a/ctree.h +++ b/ctree.h @@ -28,6 +28,7 @@ struct btrfs_root; struct btrfs_trans_handle; +struct btrfs_free_space_ctl; #define BTRFS_MAGIC 0x4D5F53665248425F /* ascii _BHRfS_M, no null */ #define BTRFS_MAX_LEVEL 8...