search for: btrfs_destroy_marked_extents

Displaying 6 results from an estimated 6 matches for "btrfs_destroy_marked_extents".

2013 Mar 04
2
[PATCH 1/2] Btrfs: fix wrong handle at error path of create_snapshot() when the commit fails
...(struct btrfs_transaction *trans, struct btrfs_root *root); -static void btrfs_destroy_pending_snapshots(struct btrfs_transaction *t); +static void btrfs_evict_pending_snapshots(struct btrfs_transaction *t); static void btrfs_destroy_delalloc_inodes(struct btrfs_root *root); static int btrfs_destroy_marked_extents(struct btrfs_root *root, struct extent_io_tree *dirty_pages, @@ -3687,7 +3687,7 @@ int btrfs_destroy_delayed_refs(struct btrfs_transaction *trans, return ret; } -static void btrfs_destroy_pending_snapshots(struct btrfs_transaction *t) +static void btrfs_evict_pending_snapshots(struct btr...
2013 May 08
0
[PATCH] Btrfs: don't null pointer deref on abort
...-off-by: Josef Bacik <jbacik@fusionio.com> --- fs/btrfs/disk-io.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index e8b5027..19d7e63 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -3752,7 +3752,7 @@ static int btrfs_destroy_marked_extents(struct btrfs_root *root, while (start <= end) { eb = btrfs_find_tree_block(root, start, root->leafsize); - start += eb->len; + start += root->leafsize; if (!eb) continue; wait_on_extent_buffer_writeback(eb); -- 1.7.7.6 -- To unsubscribe from this list...
2012 Apr 20
44
Ceph on btrfs 3.4rc
...on+0x5db/0xa50 [btrfs] [91128.913156] [<ffffffffa03524b2>] ? start_transaction+0x92/0x310 [btrfs] [91128.920643] [<ffffffff81070a90>] ? wake_up_bit+0x40/0x40 [91128.926667] [<ffffffffa034cfcb>] transaction_kthread+0x26b/0x2e0 [btrfs] [91128.934254] [<ffffffffa034cd60>] ? btrfs_destroy_marked_extents.clone.0+0x1f0/0x1f0 [btrfs] [91128.943671] [<ffffffffa034cd60>] ? btrfs_destroy_marked_extents.clone.0+0x1f0/0x1f0 [btrfs] [91128.953079] [<ffffffff810703fe>] kthread+0x9e/0xb0 [91128.958532] [<ffffffff8158c224>] kernel_thread_helper+0x4/0x10 [91128.965133] [<ffffffff810703...
2011 Aug 26
0
[PATCH] Btrfs: make some functions return void
...extents(struct btrfs_root *root); +static void btrfs_destroy_delayed_refs(struct btrfs_transaction *trans, + struct btrfs_root *root); +static void btrfs_destroy_pending_snapshots(struct btrfs_transaction *t); static int btrfs_destroy_delalloc_inodes(struct btrfs_root *root); static int btrfs_destroy_marked_extents(struct btrfs_root *root, struct extent_io_tree *dirty_pages, @@ -1056,10 +1056,10 @@ int clean_tree_block(struct btrfs_trans_handle *trans, struct btrfs_root *root, return 0; } -static int __setup_root(u32 nodesize, u32 leafsize, u32 sectorsize, - u32 stripesize, struct btrfs_root *roo...
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
2011 Aug 15
9
[patch v2 0/9] btrfs: More error handling patches
Hi all - The following 9 patches add more error handling to the btrfs code: - Add btrfs_panic - Catch locking failures in {set,clear}_extent_bit - Push up set_extent_bit errors to callers - Push up lock_extent errors to callers - Push up clear_extent_bit errors to callers - Push up unlock_extent errors to callers - Make pin_down_extent return void - Push up btrfs_pin_extent errors to