Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
dm-snap-persistent.c File Reference
#include "dm-exception-store.h"
#include <linux/mm.h>
#include <linux/pagemap.h>
#include <linux/vmalloc.h>
#include <linux/export.h>
#include <linux/slab.h>
#include <linux/dm-io.h>

Go to the source code of this file.

Data Structures

struct  disk_header
 
struct  disk_exception
 
struct  core_exception
 
struct  commit_callback
 
struct  pstore
 
struct  mdata_req
 

Macros

#define DM_MSG_PREFIX   "persistent snapshot"
 
#define DM_CHUNK_SIZE_DEFAULT_SECTORS   32 /* 16KB */
 
#define SNAP_MAGIC   0x70416e53
 
#define SNAPSHOT_DISK_VERSION   1
 
#define NUM_SNAPSHOT_HDR_CHUNKS   1
 

Functions

int dm_persistent_snapshot_init (void)
 
void dm_persistent_snapshot_exit (void)
 

Variables

struct disk_header __packed
 

Macro Definition Documentation

#define DM_CHUNK_SIZE_DEFAULT_SECTORS   32 /* 16KB */

Definition at line 18 of file dm-snap-persistent.c.

#define DM_MSG_PREFIX   "persistent snapshot"

Definition at line 17 of file dm-snap-persistent.c.

#define NUM_SNAPSHOT_HDR_CHUNKS   1

Definition at line 59 of file dm-snap-persistent.c.

#define SNAP_MAGIC   0x70416e53

Definition at line 52 of file dm-snap-persistent.c.

#define SNAPSHOT_DISK_VERSION   1

Definition at line 57 of file dm-snap-persistent.c.

Function Documentation

void dm_persistent_snapshot_exit ( void  )

Definition at line 894 of file dm-snap-persistent.c.

int dm_persistent_snapshot_init ( void  )

Definition at line 873 of file dm-snap-persistent.c.

Variable Documentation