dm vdo: rename uds-threads.[ch] to thread-utils.[ch]

Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Matthew Sakai <msakai@redhat.com>
This commit is contained in:
Mike Snitzer
2024-02-09 10:10:03 -06:00
parent eef7cf5e22
commit c2f54aa2b2
14 changed files with 15 additions and 16 deletions

View File

@@ -51,8 +51,8 @@ dm-vdo-objs := \
thread-cond-var.o \
thread-device.o \
thread-registry.o \
thread-utils.o \
uds-sysfs.o \
uds-threads.o \
vdo.o \
vio.o \
volume-index.o \

View File

@@ -9,7 +9,7 @@
#include "memory-alloc.h"
#include "numeric.h"
#include "string-utils.h"
#include "uds-threads.h"
#include "thread-utils.h"
static const u8 INDEX_CONFIG_MAGIC[] = "ALBIC";
static const u8 INDEX_CONFIG_VERSION_6_02[] = "06.02";

View File

@@ -12,7 +12,7 @@
#include "funnel-queue.h"
#include "logger.h"
#include "memory-alloc.h"
#include "uds-threads.h"
#include "thread-utils.h"
/*
* This queue will attempt to handle requests in reasonably sized batches instead of reacting

View File

@@ -12,7 +12,7 @@
#include "numeric.h"
#include "permassert.h"
#include "string-utils.h"
#include "uds-threads.h"
#include "thread-utils.h"
#include "uds.h"
/*

View File

@@ -10,7 +10,7 @@
#include <linux/cache.h>
#include "config.h"
#include "uds-threads.h"
#include "thread-utils.h"
#include "uds.h"
/*

View File

@@ -12,7 +12,7 @@
#include <linux/sched.h>
#include "thread-device.h"
#include "uds-threads.h"
#include "thread-utils.h"
struct priority_name {
const char *name;

View File

@@ -8,7 +8,7 @@
#include "errors.h"
#include "logger.h"
#include "permassert.h"
#include "uds-threads.h"
#include "thread-utils.h"
const struct error_info vdo_status_list[] = {
{ "VDO_NOT_IMPLEMENTED", "Not implemented" },

View File

@@ -7,8 +7,8 @@
#include <linux/minmax.h>
#include "errors.h"
#include "thread-utils.h"
#include "time-utils.h"
#include "uds-threads.h"
int uds_init_cond(struct cond_var *cv)
{

View File

@@ -3,7 +3,7 @@
* Copyright 2023 Red Hat
*/
#include "uds-threads.h"
#include "thread-utils.h"
#include <linux/completion.h>
#include <linux/delay.h>

View File

@@ -3,8 +3,8 @@
* Copyright 2023 Red Hat
*/
#ifndef UDS_THREADS_H
#define UDS_THREADS_H
#ifndef THREAD_UTILS_H
#define THREAD_UTILS_H
#include <linux/atomic.h>
#include <linux/delay.h>
@@ -14,7 +14,6 @@
#include <linux/wait.h>
#include "errors.h"
#include "time-utils.h"
/* Thread and synchronization utilities for UDS */

View File

@@ -18,8 +18,8 @@
#include "memory-alloc.h"
#include "numeric.h"
#include "permassert.h"
#include "thread-utils.h"
#include "uds.h"
#include "uds-threads.h"
/*
* The volume index is a combination of two separate subindexes, one containing sparse hook entries

View File

@@ -10,8 +10,8 @@
#include "config.h"
#include "delta-index.h"
#include "thread-utils.h"
#include "uds.h"
#include "uds-threads.h"
/*
* The volume index is the primary top-level index for UDS. It contains records which map a record

View File

@@ -20,7 +20,7 @@
#include "permassert.h"
#include "sparse-cache.h"
#include "string-utils.h"
#include "uds-threads.h"
#include "thread-utils.h"
/*
* The first block of the volume layout is reserved for the volume header, which is no longer used.

View File

@@ -19,8 +19,8 @@
#include "permassert.h"
#include "radix-sort.h"
#include "sparse-cache.h"
#include "thread-utils.h"
#include "uds.h"
#include "uds-threads.h"
/*
* The volume manages deduplication records on permanent storage. The term "volume" can also refer