search for: ulist_add

Displaying 3 results from an estimated 3 matches for "ulist_add".

Did you mean: list_add
2012 Oct 04
3
[PATCH] btrfs ulist use rbtree instead
...+ ULIST_ITER_INIT(roots, &uiter); while ((unode = ulist_next(roots, &uiter))) { struct ulist_node *tmp_unode; struct ulist_iterator tmp_uiter; @@ -1146,7 +1146,7 @@ int btrfs_qgroup_account_ref(struct btrfs_trans_handle *trans, ulist_reinit(tmp); /* XXX id not needed */ ulist_add(tmp, qg->qgroupid, (unsigned long)qg, GFP_ATOMIC); - ULIST_ITER_INIT(&tmp_uiter); + ULIST_ITER_INIT(tmp, &tmp_uiter); while ((tmp_unode = ulist_next(tmp, &tmp_uiter))) { struct btrfs_qgroup_list *glist; @@ -1169,7 +1169,7 @@ int btrfs_qgroup_account_ref(struct btrfs_trans_...
2013 Apr 25
10
[PATCH v4 0/3] Btrfs: quota rescan for 3.10
...- return -EINTR instread of EINTR from btrfs_qgroup_rescan_worker - in btrfs_run_qgroups don''t propagate error from btrfs_qgroup_rescan - rebased to current version of btrfs-next Changes v2->v3: - rebased to btrfs-next - stop rescan worker when quota is disabled - check return value of ulist_add() - initialize worker struct to zero Changes v1->v2: - fix calculation of the "exclusive" field for qgroups in level != 0 - split btrfs_qgroup_account_ref - take into account that mutex_unlock might schedule - fix kzalloc error checking - add some reserved ints to struct btrfs_ioctl_q...
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