Commit c2f54aa2 authored by Mike Snitzer's avatar Mike Snitzer

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

Signed-off-by: default avatarMike Snitzer <snitzer@kernel.org>
Signed-off-by: default avatarMatthew Sakai <msakai@redhat.com>
parent eef7cf5e
......@@ -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 \
......
......@@ -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";
......
......@@ -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
......
......@@ -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"
/*
......
......@@ -10,7 +10,7 @@
#include <linux/cache.h>
#include "config.h"
#include "uds-threads.h"
#include "thread-utils.h"
#include "uds.h"
/*
......
......@@ -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;
......
......@@ -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" },
......
......@@ -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)
{
......
......@@ -3,7 +3,7 @@
* Copyright 2023 Red Hat
*/
#include "uds-threads.h"
#include "thread-utils.h"
#include <linux/completion.h>
#include <linux/delay.h>
......
......@@ -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 */
......
......@@ -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
......
......@@ -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
......
......@@ -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.
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment