Linux Kernel
3.7.1
|
#include "dm-thin-metadata.h"
#include "dm-bio-prison.h"
#include "dm.h"
#include <linux/device-mapper.h>
#include <linux/dm-io.h>
#include <linux/dm-kcopyd.h>
#include <linux/list.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/slab.h>
Go to the source code of this file.
Data Structures | |
struct | pool_features |
struct | pool |
struct | pool_c |
struct | thin_c |
struct | dm_thin_pool_table |
struct | dm_thin_endio_hook |
struct | dm_thin_new_mapping |
Macros | |
#define | DM_MSG_PREFIX "thin" |
#define | ENDIO_HOOK_POOL_SIZE 1024 |
#define | MAPPING_POOL_SIZE 1024 |
#define | PRISON_CELLS 1024 |
#define | COMMIT_PERIOD HZ |
#define | DATA_DEV_BLOCK_SIZE_MIN_SECTORS (64 * 1024 >> SECTOR_SHIFT) |
#define | DATA_DEV_BLOCK_SIZE_MAX_SECTORS (1024 * 1024 * 1024 >> SECTOR_SHIFT) |
#define | MAX_DEV_ID ((1 << 24) - 1) |
Typedefs | |
typedef void(* | process_bio_fn )(struct thin_c *tc, struct bio *bio) |
typedef void(* | process_mapping_fn )(struct dm_thin_new_mapping *m) |
Enumerations | |
enum | pool_mode { PM_WRITE, PM_READ_ONLY, PM_FAIL } |
Functions | |
module_init (dm_thin_init) | |
module_exit (dm_thin_exit) | |
MODULE_DESCRIPTION (DM_NAME" thin provisioning target") | |
MODULE_AUTHOR ("Joe Thornber <[email protected]>") | |
MODULE_LICENSE ("GPL") | |
#define DATA_DEV_BLOCK_SIZE_MAX_SECTORS (1024 * 1024 * 1024 >> SECTOR_SHIFT) |
#define DATA_DEV_BLOCK_SIZE_MIN_SECTORS (64 * 1024 >> SECTOR_SHIFT) |
typedef void(* process_mapping_fn)(struct dm_thin_new_mapping *m) |
MODULE_AUTHOR | ( | "Joe Thornber <[email protected]>" | ) |
module_exit | ( | dm_thin_exit | ) |
module_init | ( | dm_thin_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |