#include "dm-path-selector.h"
#include <linux/device-mapper.h>
#include <linux/module.h>
#define DM_MSG_PREFIX …
struct path_info { … };
struct selector { … };
static void ioa_free_path(struct selector *s, unsigned int cpu)
{ … }
static int ioa_add_path(struct path_selector *ps, struct dm_path *path,
int argc, char **argv, char **error)
{ … }
static int ioa_create(struct path_selector *ps, unsigned int argc, char **argv)
{ … }
static void ioa_destroy(struct path_selector *ps)
{ … }
static int ioa_status(struct path_selector *ps, struct dm_path *path,
status_type_t type, char *result, unsigned int maxlen)
{ … }
static void ioa_fail_path(struct path_selector *ps, struct dm_path *p)
{ … }
static int ioa_reinstate_path(struct path_selector *ps, struct dm_path *p)
{ … }
static struct dm_path *ioa_select_path(struct path_selector *ps,
size_t nr_bytes)
{ … }
static struct path_selector_type ioa_ps = …;
static int __init dm_ioa_init(void)
{ … }
static void __exit dm_ioa_exit(void)
{ … }
module_init(…) …;
module_exit(dm_ioa_exit);
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;