1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

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>
This commit is contained in:
Michael Adam 2014-02-14 18:47:25 +01:00 committed by Amitay Isaacs
parent c4478bd40d
commit cd877b6a21

View File

@ -706,8 +706,8 @@ done:
* Traverse the delete_queue. * Traverse the delete_queue.
* This fills the same lists as the database traverse. * This fills the same lists as the database traverse.
*/ */
static void ctdb_vacuum_db_fast(struct ctdb_db_context *ctdb_db, static void ctdb_process_delete_queue(struct ctdb_db_context *ctdb_db,
struct vacuum_data *vdata) struct vacuum_data *vdata)
{ {
uint32_t sum; 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); ret = ctdb_process_vacuum_fetch_lists(ctdb_db, vdata);
if (ret != 0) { if (ret != 0) {