search for: btrfs_previous_item

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

2011 May 19
0
[PATCH] Btrfs: return error code to caller when btrfs_previous_item fails
The error code is returned instead of calling BUG_ON when btrfs_previous_item returns the error. Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com> --- fs/btrfs/volumes.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 8b9fb8c..c95b214 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c...
2013 Nov 18
0
btrfs goes read only after balance
...kernel: [158311.402516] [<ffffffffa01fb012>] ? btrfs_set_lock_blocking_rw+0xc9/0xdb [btrfs] Nov 18 06:59:46 hsad-srv-03 kernel: [158311.402523] [<ffffffffa01b1525>] ? btrfs_item_key_to_cpu+0x12/0x30 [btrfs] Nov 18 06:59:46 hsad-srv-03 kernel: [158311.402530] [<ffffffffa01b9188>] ? btrfs_previous_item+0x62/0xa2 [btrfs] Nov 18 06:59:46 hsad-srv-03 kernel: [158311.402540] [<ffffffffa01e33e3>] ? btrfs_get_token_64+0x76/0xc6 [btrfs] Nov 18 06:59:46 hsad-srv-03 kernel: [158311.402551] [<ffffffffa01e5e29>] ? release_extent_buffer+0x90/0x97 [btrfs] Nov 18 06:59:46 hsad-srv-03 kernel: [15831...
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
2011 Mar 08
6
[PATCH v1 0/6] btrfs: scrub
This series adds an initial implementation for scrub. It works quite straightforward. The usermode issues an ioctl for each device in the fs. For each device, it enumerates the allocated device chunks. For each chunk, the contained extents are enumerated and the data checksums fetched. The extents are read sequentially and the checksums verified. If an error occurs (checksum or EIO), a good copy
2011 Aug 23
40
[PATCH 00/21] [RFC] Btrfs: restriper
Hello, This patch series adds an initial implementation of restriper (it''s a clever name for relocation framework that allows to do selective profile changing and selective balancing with some goodies like pausing/resuming and reporting progress to the user. Profile changing is global (per-FS) so far, per-subvolume profiles require some discussion and can be implemented in future.
2011 Jul 21
10
[PATCH v5 0/8] Btrfs scrub: print path to corrupted files and trigger nodatasum fixup
While testing raid-auto-repair patches I''m going to send out later, I just found the very last bug in my current scrub patch series: Changelog v4->v5: - fixed a deadlock when fixup is taking longer while scrub is about to end Original message follows: ------------------------ This patch set introduces two new features for scrub. They share the backref iteration code which is the
2010 Sep 03
0
[PATCH 1/2] btrfs: document where we use BUG_ON instead of error handling
...ret); } key.offset = found_key.offset - 1; diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index dd318ff..61b3440 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -879,7 +879,7 @@ static int btrfs_free_dev_extent(struct btrfs_trans_handle *trans, if (ret > 0) { ret = btrfs_previous_item(root, path, key.objectid, BTRFS_DEV_EXTENT_KEY); - BUG_ON(ret); + btrfs_fixable_bug_on(ret); leaf = path->nodes[0]; btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); extent = btrfs_item_ptr(leaf, path->slots[0], @@ -892,12 +892,12 @@ static int btrfs_free_dev_...