summaryrefslogtreecommitdiffstats
path: root/ctdb
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-02-14 18:47:25 +0100
committerAmitay Isaacs <amitay@gmail.com>2014-03-06 11:31:13 +1100
commitcd877b6a21a5080b3d9ae8ee7ac8cf27c4fd9512 (patch)
treeaa6ef4cefbedfa4c0834de2254ba9a994264bf9a /ctdb
parentc4478bd40daee22bbe5696bb17d0a1bff164c7f7 (diff)
downloadsamba-cd877b6a21a5080b3d9ae8ee7ac8cf27c4fd9512.tar.gz
samba-cd877b6a21a5080b3d9ae8ee7ac8cf27c4fd9512.tar.xz
samba-cd877b6a21a5080b3d9ae8ee7ac8cf27c4fd9512.zip
ctdb-vacuum: rename ctdb_vacuum_db_fast --> ctdb_process_delete_queue
This describes more precisely what this does. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb')
-rw-r--r--ctdb/server/ctdb_vacuum.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ctdb/server/ctdb_vacuum.c b/ctdb/server/ctdb_vacuum.c
index 56211eb605..d8ab30c379 100644
--- a/ctdb/server/ctdb_vacuum.c
+++ b/ctdb/server/ctdb_vacuum.c
@@ -706,8 +706,8 @@ done:
* Traverse the delete_queue.
* This fills the same lists as the database traverse.
*/
-static void ctdb_vacuum_db_fast(struct ctdb_db_context *ctdb_db,
- struct vacuum_data *vdata)
+static void ctdb_process_delete_queue(struct ctdb_db_context *ctdb_db,
+ struct vacuum_data *vdata)
{
uint32_t sum;
@@ -1267,7 +1267,7 @@ static int ctdb_vacuum_db(struct ctdb_db_context *ctdb_db,
}
}
- ctdb_vacuum_db_fast(ctdb_db, vdata);
+ ctdb_process_delete_queue(ctdb_db, vdata);
ret = ctdb_process_vacuum_fetch_lists(ctdb_db, vdata);
if (ret != 0) {