Linux Kernel
3.7.1
|
#include <linux/blkdev.h>
#include <linux/device-mapper.h>
#include <linux/delay.h>
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/kdev_t.h>
#include <linux/list.h>
#include <linux/mempool.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/log2.h>
#include <linux/dm-kcopyd.h>
#include "dm-exception-store.h"
Go to the source code of this file.
Data Structures | |
struct | dm_exception_table |
struct | dm_snapshot |
struct | dm_snap_pending_exception |
struct | dm_snap_tracked_chunk |
struct | origin |
Macros | |
#define | DM_MSG_PREFIX "snapshots" |
#define | dm_target_is_snapshot_merge(ti) ((ti)->type->name == dm_snapshot_merge_target_name) |
#define | MIN_IOS 256 |
#define | DM_TRACKED_CHUNK_HASH_SIZE 16 |
#define | DM_TRACKED_CHUNK_HASH(x) |
#define | RUNNING_MERGE 0 |
#define | SHUTDOWN_MERGE 1 |
#define | ORIGIN_HASH_SIZE 256 |
#define | ORIGIN_MASK 0xFF |
Functions | |
struct dm_dev * | dm_snap_origin (struct dm_snapshot *s) |
EXPORT_SYMBOL (dm_snap_origin) | |
struct dm_dev * | dm_snap_cow (struct dm_snapshot *s) |
EXPORT_SYMBOL (dm_snap_cow) | |
module_init (dm_snapshot_init) | |
module_exit (dm_snapshot_exit) | |
MODULE_DESCRIPTION (DM_NAME" snapshot target") | |
MODULE_AUTHOR ("Joe Thornber") | |
MODULE_LICENSE ("GPL") | |
#define DM_TRACKED_CHUNK_HASH | ( | x | ) |
|
read |
EXPORT_SYMBOL | ( | dm_snap_origin | ) |
EXPORT_SYMBOL | ( | dm_snap_cow | ) |
MODULE_AUTHOR | ( | "Joe Thornber" | ) |
module_exit | ( | dm_snapshot_exit | ) |
module_init | ( | dm_snapshot_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |