Displaying 10 results from an estimated 10 matches for "new_group".
2008 Oct 10
1
[PATCH] fix enospc when there is plenty of space
...start_ret;
-
- WARN_ON(!mutex_is_locked(&root->fs_info->alloc_mutex));
- if (!cache)
- goto out;
-
- last = max(search_start, cache->key.objectid);
-
-again:
- ret = cache_block_group(root, cache);
- if (ret)
- goto out;
-
- if (cache->ro || !block_group_bits(cache, data))
- goto new_group;
-
- info = btrfs_find_free_space(cache, last, num);
- if (info) {
- *start_ret = info->offset;
- return 0;
- }
-
-new_group:
- last = cache->key.objectid + cache->key.offset;
-
- cache = btrfs_lookup_first_block_group(root->fs_info, last);
- if (!cache)
- goto out;
-
- *cache_ret =...
2009 Mar 20
1
[PATCH 2/4] Btrfs: clean up find_free_extent
...->block_groups, list) {
struct btrfs_free_space *free_space;
- /*
- * the only way this happens if our hint points to a block
- * group thats not of the proper type, while looping this
- * should never happen
- */
- if (empty_size)
- extra_loop = 1;
- if (!block_group)
- goto new_group_no_lock;
+ atomic_inc(&block_group->count);
+ search_start = block_group->key.objectid;
+have_block_group:
if (unlikely(!block_group->cached)) {
mutex_lock(&block_group->cache_mutex);
ret = cache_block_group(root, block_group);
@@ -2626,152 +2620,87 @@ static noin...
2008 Sep 30
0
[PATCH] fix seekiness due to finding the wrong block group
...rfs-unstable/fs/btrfs/extent-tree.c
===================================================================
--- root.orig/btrfs-unstable/fs/btrfs/extent-tree.c
+++ root/btrfs-unstable/fs/btrfs/extent-tree.c
@@ -2238,7 +2238,10 @@ static int noinline find_free_extent(str
total_needed += empty_size;
new_group:
- block_group = btrfs_lookup_first_block_group(info, search_start);
+ block_group = btrfs_lookup_block_group(info, search_start);
+ if (!block_group)
+ block_group = btrfs_lookup_first_block_group(info,
+ search_start);
/*
* Ok this looks a little tricky, buts its really simple....
2018 Jun 29
0
I renamed a user on linux box, now i have an error
...lar, the user??s home directory or mail spool
should probably be renamed manually to reflect the new login name.
mv cec_support cec-support
mv cec_support_comment cec-support-comment
groupmod -n cec-support cec_support
groupmod -n cec-support-comment cec_support_comment
-n, --new-name NEW_GROUP
The name of the group will be changed from GROUP to NEW_GROUP name.
-ANGELO FAZZINA
ITS Service Manager:
Spam and Virus Prevention
Mass Mailing
G Suite/Gmail
angelo at uconn.edu
University of Connecticut, ITS, SSG, Server Systems
860-486-9075
-------------- next part ------------...
2017 Sep 28
2
Samba 4.7.0 replication issue: failed get spanning tree edges
[2017/09/28 03:46:51.256663, 1] ../source4/dsdb/kcc/kcc_topology.c:2730(kcctpl_get_spanning_tree_edges)
../source4/dsdb/kcc/kcc_topology.c:2730: failed to run Kruskal's algorithm: NT_STATUS_INVALID_PARAMETER
[2017/09/28 03:46:51.256953, 1] ../source4/dsdb/kcc/kcc_topology.c:3283(kcctpl_create_connections)
../source4/dsdb/kcc/kcc_topology.c:3283: failed get spanning tree edges:
2017 Sep 28
2
Samba 4.7.0 replication issue: failed get spanning tree edges
...>
> 1. Identify affected groups with "samba-tool dbcheck --cross-ncs",
> which reports errors like "ERROR: orphaned backlink attribute
> 'memberOf'".
> 2. Create new group
> 3. Execute "perl ad_clone_group.pl 'Foobar_Group' ''New_Group" to copy
> members from broken group to new group: https://pastebin.com/6L8NZPRC
> 4. Delete bad group
> 5. Rename new group to name of bad group
> 6. Expunge tombstone with "samba-tool domain tombstones expunge
> --tombstone-lifetime=0"
> 7. Check with "...
2008 Jul 14
18
[git patches] Ocfs2 and Configfs updates for 2.6.27
I'm running a bit late with the e-mail this time around, but I think that's
ok since there really isn't any major new features here - the bulk of the
Ocfs2 update is bug fixes, or cleanups. The same goes for configfs.
The only two things that could be described as features would be:
- Sunil has updated Ocfs2 to provide even more live cluster locking
information via debugfs.
- Joel
2008 Aug 25
1
net rpc group addmem returns NT_STATUS_ACCESS_DENIED
Hi All,
I'm trying to add a user to a group using
/usr/local/samba/bin/net rpc group addmem room11 dunk -Uroot%password
The user is added to the group as far as I can tell but the command
returns NT_STATUS_ACCESS_DENIED
This is on Solaris 10 (Sparc) and Samba 3.2.1, OS and Samba are both
configured to lookup users and groups in LDAP.
/usr/local/samba/bin/net rpc group members
2002 Jun 05
1
How to switch from NT to Samba transparently?
Hi,
I want to switch from our Windows NT server
( which works as our PDC ) to Linux - Samba.
Could you advice a step-by-step guide about
this process, or is that possible, at all?
Can I use Samba as a BDC, convert the user
DB and than promote it to PDC?
Thanks in advance!
Regards;
Istvan
2009 May 12
0
[PATCH 1/2] btrfs-progs: mixed back ref support
...trans, root, bytenr, num_bytes, parent,
- root_objectid, ref_generation,
- owner_objectid, pin, pin == 0);
+ root_objectid, owner, offset, 1);
pending_ret = del_pending_extents(trans, root->fs_info->extent_root);
return ret ? ret : pending_ret;
}
@@ -1835,32 +1936,17 @@ new_group:
error:
return ret;
}
-/*
- * finds a free extent and does all the dirty work required for allocation
- * returns the key for the extent through ins, and a tree buffer for
- * the first block of the extent through buf.
- *
- * returns 0 if everything worked, non-zero otherwise.
- */
-int btrfs_...