linux/include/linux/raid_class.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * raid_class.h - a generic raid visualisation class
 *
 * Copyright (c) 2005 - James Bottomley <[email protected]>
 */
#include <linux/transport_class.h>

struct raid_template {};

struct raid_function_template {};

enum raid_state {};

enum raid_level {};

struct raid_data {};

/* resync complete goes from 0 to this */
#define RAID_MAX_RESYNC

#define DEFINE_RAID_ATTRIBUTE(type, attr)

DEFINE_RAID_ATTRIBUTE()
DEFINE_RAID_ATTRIBUTE()
DEFINE_RAID_ATTRIBUTE()
	
struct raid_template *raid_class_attach(struct raid_function_template *);
void raid_class_release(struct raid_template *);