search for: last_ptr

Displaying 4 results from an estimated 4 matches for "last_ptr".

Did you mean: dst_ptr
2008 Oct 10
1
[PATCH] fix enospc when there is plenty of space
...rfs_trans_handle *trans, u64 exclude_start, u64 exclude_nr, int data) { - int ret; - u64 orig_search_start; + int ret = 0; struct btrfs_root * root = orig_root->fs_info->extent_root; - struct btrfs_fs_info *info = root->fs_info; u64 total_needed = num_bytes; u64 *last_ptr = NULL; - struct btrfs_block_group_cache *block_group; + struct btrfs_block_group_cache *block_group = NULL; int chunk_alloc_done = 0; int empty_cluster = 2 * 1024 * 1024; int allowed_chunk_alloc = 0; + struct list_head *head = NULL, *cur = NULL; + int loop = 0; + struct btrfs_space_info *spa...
2008 Sep 30
0
[PATCH] fix seekiness due to finding the wrong block group
Hello, This patch fixes a problem where we end up seeking too much when *last_ptr is valid. This happens because btrfs_lookup_first_block_group only returns a block group that starts on or after the given search start, so if the search_start is in the middle of a block group it will return the block group after the given search_start, which is suboptimal. This patch fixes that...
2009 Mar 20
1
[PATCH 2/4] Btrfs: clean up find_free_extent
...ent-tree.c index 26fec19..3e9b675 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -2552,14 +2552,10 @@ static noinline int find_free_extent(struct btrfs_trans_handle *trans, struct btrfs_root *root = orig_root->fs_info->extent_root; u64 total_needed = num_bytes; u64 *last_ptr = NULL; - u64 last_wanted = 0; struct btrfs_block_group_cache *block_group = NULL; - int chunk_alloc_done = 0; int empty_cluster = 2 * 1024 * 1024; int allowed_chunk_alloc = 0; - struct list_head *head = NULL, *cur = NULL; - int loop = 0; - int extra_loop = 0; + int using_hint = 0; struct b...
2004 Sep 15
2
smbclient's tar_re_search broken?
Hi all, My old and stable backup script don't work anymore. It's based on smbclient's tar command using crX parameters for creating archive, excluding files based on basic regular expressions. The box is running Fedora core 2, fully updated: kernel-2.6.8-1.521 samba-common-3.0.7-2.FC2 samba-client-3.0.7-2.FC2 The error is easily reproducible: smbclient //ntpdc/share -A credfile \ -c