search for: ulist_iter_init

Displaying 2 results from an estimated 2 matches for "ulist_iter_init".

2012 Oct 04
3
[PATCH] btrfs ulist use rbtree instead
...66 deletions(-) diff --git a/fs/btrfs/backref.c b/fs/btrfs/backref.c index ff6475f..a5bebc8 100644 --- a/fs/btrfs/backref.c +++ b/fs/btrfs/backref.c @@ -360,7 +360,7 @@ static int __resolve_indirect_refs(struct btrfs_fs_info *fs_info, } /* we put the first parent into the ref at hand */ - ULIST_ITER_INIT(&uiter); + ULIST_ITER_INIT(parents, &uiter); node = ulist_next(parents, &uiter); ref->parent = node ? node->val : 0; ref->inode_list = @@ -955,7 +955,7 @@ static void free_leaf_list(struct ulist *blocks) struct extent_inode_elem *eie_next; struct ulist_iterator ui...
2013 Apr 25
10
[PATCH v4 0/3] Btrfs: quota rescan for 3.10
The kernel side for rescan, which is needed if you want to enable qgroup tracking on a non-empty volume. The first patch splits btrfs_qgroup_account_ref into readable ans reusable units. The second patch adds the rescan implementation (refer to its commit message for a description of the algorithm). The third patch starts an automatic rescan when qgroups are enabled. It is only separated to