Displaying 13 results from an estimated 13 matches for "replay_one_ext".
2013 Apr 25
0
[PATCH] Btrfs: remove almost all of the BUG()'s from tree-log.c
...tree-log.c | 151 +++++++++++++++++++++++++++++++++------------------
1 files changed, 98 insertions(+), 53 deletions(-)
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c
index aebfb2d..705aee6 100644
--- a/fs/btrfs/tree-log.c
+++ b/fs/btrfs/tree-log.c
@@ -589,7 +589,8 @@ static noinline int replay_one_extent(struct btrfs_trans_handle *trans,
/* drop any overlapping extents */
ret = btrfs_drop_extents(trans, root, inode, start, extent_end, 1);
- BUG_ON(ret);
+ if (ret)
+ goto out;
if (found_type == BTRFS_FILE_EXTENT_REG ||
found_type == BTRFS_FILE_EXTENT_PREALLOC) {
@@ -599,7 +600,8...
2013 Feb 03
3
kernel BUG at fs/btrfs/extent-tree.c:6185!
...0137a81000
Feb 02 13:59:58 Edge kernel: 0000000000008000 00ff88013788a560
a8000000017f8f10 ffff8801388b6000
Feb 02 13:59:58 Edge kernel: Call Trace:
Feb 02 13:59:58 Edge kernel: [<ffffffffa023a1ea>] ?
btrfs_free_path+0x2a/0x40 [btrfs]
Feb 02 13:59:58 Edge kernel: [<ffffffffa0293990>]
replay_one_extent+0x620/0x690 [btrfs]
Feb 02 13:59:58 Edge kernel: [<ffffffffa0292fc8>] ?
add_inode_ref+0x638/0x9e0 [btrfs]
Feb 02 13:59:58 Edge kernel: [<ffffffffa026e940>] ?
btrfs_destroy_inode+0x1c0/0x2e0 [btrfs]
Feb 02 13:59:58 Edge kernel: [<ffffffffa0294a1b>]
replay_one_buffer+0x2db/0x3...
2011 Apr 28
0
[PATCH] Btrfs: check return value of btrfs_inc_extent_ref()
...mu Itoh <t-itoh@jp.fujitsu.com>
---
fs/btrfs/tree-log.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c
index f997ec0..23fb42d 100644
--- a/fs/btrfs/tree-log.c
+++ b/fs/btrfs/tree-log.c
@@ -590,6 +590,7 @@ static noinline int replay_one_extent(struct btrfs_trans_handle *trans,
ins.objectid, ins.offset,
0, root->root_key.objectid,
key->objectid, offset);
+ BUG_ON(ret);
} else {
/*
* insert the extent pointer in the extent
--
To unsubscribe from this list: send the line "unsubscribe lin...
2012 Jun 27
7
WARNING: at fs/btrfs/free-space-cache.c:1887 after hard shutdown.
...[btrfs]
[ 37.645674] [<ffffffff81073bb0>] ? abort_exclusive_wait+0xb0/0xb0
[ 37.645682] [<ffffffffa0efaa6f>]
btrfs_alloc_logged_file_extent+0x1bf/0x1e0 [btrfs]
[ 37.645688] [<ffffffffa0ee7bfa>] ? btrfs_free_path+0x2a/0x40 [btrfs]
[ 37.645697] [<ffffffffa0f44c5e>] replay_one_extent+0x5be/0x620 [btrfs]
[ 37.645701] [<ffffffff81179f55>] ? iput+0x105/0x210
[ 37.645710] [<ffffffffa0f4549b>] replay_one_buffer+0x27b/0x350 [btrfs]
[ 37.645719] [<ffffffffa0f302bd>] ? alloc_extent_buffer+0x9d/0x5c0 [btrfs]
[ 37.645728] [<ffffffffa0f42d92>] walk_d...
2010 Sep 03
0
[PATCH 1/2] btrfs: document where we use BUG_ON instead of error handling
...b/fs/btrfs/tree-log.c
@@ -376,7 +376,7 @@ insert:
} else if (found_size < item_size) {
ret = btrfs_extend_item(trans, root, path,
item_size - found_size);
- BUG_ON(ret);
+ btrfs_fixable_bug_on(ret);
}
} else if (ret) {
return ret;
@@ -548,7 +548,7 @@ static noinline int replay_one_extent(struct btrfs_trans_handle *trans,
/* drop any overlapping extents */
ret = btrfs_drop_extents(trans, inode, start, extent_end,
&alloc_hint, 1);
- BUG_ON(ret);
+ btrfs_fixable_bug_on(ret);
if (found_type == BTRFS_FILE_EXTENT_REG ||
found_type == BTRFS_FILE_EXTENT_PREALLOC)...
2009 Nov 12
0
[PATCH 03/12] Btrfs: Rewrite btrfs_drop_extents
...btrfs_drop_extents(trans, inode, off, off + len, &hint_byte, 1);
/* clone data */
key.objectid = src->i_ino;
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c
index 013cc6f..ce39fe6 100644
--- a/fs/btrfs/tree-log.c
+++ b/fs/btrfs/tree-log.c
@@ -542,8 +542,8 @@ static noinline int replay_one_extent(struct btrfs_trans_handle *trans,
saved_nbytes = inode_get_bytes(inode);
/* drop any overlapping extents */
- ret = btrfs_drop_extents(trans, root, inode,
- start, extent_end, extent_end, start, &alloc_hint, 1);
+ ret = btrfs_drop_extents(trans, inode, start, extent_end,
+ &...
2013 Feb 02
5
Oops when mounting btrfs partition
...22:57:37 localhost kernel: [ 8561.602956] [<ffffffff8107dbd0>] ? finish_wait+0x80/0x80
Feb 1 22:57:37 localhost kernel: [ 8561.602956] [<ffffffffa01b1e97>] btrfs_alloc_logged_file_extent+0x1b7/0x1d0 [btrfs]
Feb 1 22:57:37 localhost kernel: [ 8561.602956] [<ffffffffa01f9bd0>] replay_one_extent+0x620/0x690 [btrfs]
Feb 1 22:57:37 localhost kernel: [ 8561.602956] [<ffffffffa01fa92b>] replay_one_buffer+0x2ab/0x350 [btrfs]
Feb 1 22:57:37 localhost kernel: [ 8561.602956] [<ffffffffa01e0b77>] ? alloc_extent_buffer+0x97/0x400 [btrfs]
Feb 1 22:57:37 localhost kernel: [ 8561.60...
2012 Jul 31
4
BTRFS crash on mount with 3.4.4
...1cfde7943 0000000000000000 ffffffffa01af105
[ 316.548363] Call Trace:
[ 316.548429] [<ffffffffa01af105>] ? btrfs_remove_free_space+0x24c/0x276 [btrfs]
[ 316.548540] [<ffffffffa0170d2f>] ? btrfs_alloc_logged_file_extent+0x86/0x18d [btrfs]
[ 316.548658] [<ffffffffa01aa42a>] ? replay_one_extent+0x2fa/0x43e [btrfs]
[ 316.548742] [<ffffffff8109b605>] ? __call_rcu+0x5d/0x16e
[ 316.548835] [<ffffffffa01ab873>] ? replay_one_buffer+0x1cf/0x22b [btrfs]
[ 316.548938] [<ffffffffa01aa704>] ? walk_up_log_tree+0x11b/0x1fb [btrfs]
[ 316.549042] [<ffffffffa01ab170>] ?...
2012 Jun 21
0
[RFC PATCH V2] Btrfs: introduce extent buffer cache for each i-node
...L, path, dir_id, "default",
+ 7, 0);
if (IS_ERR(di)) {
btrfs_free_path(path);
return ERR_CAST(di);
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c
index 2017d0f..04dec02 100644
--- a/fs/btrfs/tree-log.c
+++ b/fs/btrfs/tree-log.c
@@ -517,7 +517,7 @@ static noinline int replay_one_extent(struct btrfs_trans_handle *trans,
* file. This must be done before the btrfs_drop_extents run
* so we don''t try to drop this extent.
*/
- ret = btrfs_lookup_file_extent(trans, root, path, btrfs_ino(inode),
+ ret = btrfs_lookup_file_extent(trans, root, path, inode,...
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 Jun 21
19
[GIT PULL v3] Btrfs: improve write ahead log with sub transaction
I''ve been working to try to improve the write-ahead log''s performance,
and I found that the bottleneck addresses in the checksum items,
especially when we want to make a random write on a large file, e.g a 4G file.
Then a idea for this suggested by Chris is to use sub transaction ids and just
to log the part of inode that had changed since either the last log commit or
the last
2011 Oct 06
26
[PATCH v0 00/18] btfs: Subvolume Quota Groups
This is a first draft of a subvolume quota implementation. It is possible
to limit subvolumes and any group of subvolumes and also to track the amount
of space that will get freed when deleting snapshots.
The current version is functionally incomplete, with the main missing feature
being the initial scan and rescan of an existing filesystem.
I put some effort into writing an introduction into
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