search for: btrfs_find_last_root

Displaying 7 results from an estimated 7 matches for "btrfs_find_last_root".

2011 Dec 07
7
FS won't mount, open_ctree failed, Assertion !(path->slots[0] == 0) failed
...1268960 found 1246404 parent transid verify failed on 25487586828288 wanted 1268960 found 1246404 parent transid verify failed on 25487586828288 wanted 1268960 found 1246404 parent transid verify failed on 25487586828288 wanted 1268960 found 1246404 Ignoring transid failure btrfsck: root-tree.c:46: btrfs_find_last_root: Assertion `!(path->slots[0] == 0)'' failed. Aborted # ./btrfsck -s 1 /dev/md2 using SB copy 1, bytenr 67108864 parent transid verify failed on 25483242758144 wanted 1268944 found 1268949 parent transid verify failed on 25483242758144 wanted 1268944 found 1268949 parent transid verify fa...
2011 Mar 23
0
[PATCH] Btrfs: cleanup some BUG_ON()
...user(argp, &transid, sizeof(transid))) diff -urNp linux-2.6.38/fs/btrfs/root-tree.c linux-2.6.38.new/fs/btrfs/root-tree.c --- linux-2.6.38/fs/btrfs/root-tree.c 2011-03-15 10:20:32.000000000 +0900 +++ linux-2.6.38.new/fs/btrfs/root-tree.c 2011-03-23 11:28:09.000000000 +0900 @@ -88,7 +88,8 @@ int btrfs_find_last_root(struct btrfs_ro search_key.offset = (u64)-1; path = btrfs_alloc_path(); - BUG_ON(!path); + if (!path) + return -ENOMEM; ret = btrfs_search_slot(NULL, root, &search_key, path, 0, 0); if (ret < 0) goto out; @@ -332,7 +333,8 @@ int btrfs_del_root(struct btrfs_trans_ha struct ext...
2012 Aug 01
17
[PATCH] add crtime to the snapshot list
From: Anand <anand.jain@oracle.com> This patch adds creation-time to the snapshot list display, which would help user to better manage the snapshots when number of snapshots grow substantially. This patch is developed and on top of the send/receive btrfs and btrfs-progs repo at git://github.com/ablock84/linux-btrfs.git (send-v2) git://github.com/ablock84/btrfs-progs.git (send-v2)
2011 Mar 06
4
Recovering "parent transid verify failed"
Hey, I''d start by saying that I know Btrfs is a still experimental, and so there''s no guarantee that one would be able to help me at all... But I thought I''ll try anyway :-) Few months ago I bought a new laptop and installed ArchLinux on it, with Btrfs on the root filesystem... I know, it''s not the smartest thing to do... After a few month I had issues with my
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
2010 Sep 03
0
[PATCH 1/2] btrfs: document where we use BUG_ON instead of error handling
...ransaction(tree_root, 0); @@ -6003,7 +6003,7 @@ int btrfs_drop_snapshot(struct btrfs_root *root, BUG_ON(err); ret = btrfs_del_root(trans, tree_root, &root->root_key); - BUG_ON(ret); + btrfs_fixable_bug_on(ret); if (root->root_key.objectid != BTRFS_TREE_RELOC_OBJECTID) { ret = btrfs_find_last_root(tree_root, root->root_key.objectid, @@ -6012,7 +6012,7 @@ int btrfs_drop_snapshot(struct btrfs_root *root, if (ret > 0) { ret = btrfs_del_orphan_item(trans, tree_root, root->root_key.objectid); - BUG_ON(ret); + btrfs_fixable_bug_on(ret); } } @@ -6798,7 +6798,7...
2011 Oct 04
68
[patch 00/65] Error handling patchset v3
Hi all - Here''s my current error handling patchset, against 3.1-rc8. Almost all of this patchset is preparing for actual error handling. Before we start in on that work, I''m trying to reduce the surface we need to worry about. It turns out that there is a ton of code that returns an error code but never actually reports an error. The patchset has grown to 65 patches. 46 of them