Linux Kernel
3.7.1
|
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/blkdev.h>
#include <linux/module.h>
#include <linux/seq_file.h>
#include <linux/ratelimit.h>
#include <linux/kthread.h>
#include "md.h"
#include "raid10.h"
#include "raid0.h"
#include "bitmap.h"
Go to the source code of this file.
Data Structures | |
struct | raid10_plug_cb |
Macros | |
#define | NR_RAID10_BIOS 256 |
#define | IO_BLOCKED ((struct bio *)1) |
#define | IO_MADE_GOOD ((struct bio *)2) |
#define | BIO_SPECIAL(bio) ((unsigned long)bio <= 2) |
#define | RESYNC_BLOCK_SIZE (64*1024) |
#define | RESYNC_PAGES ((RESYNC_BLOCK_SIZE + PAGE_SIZE-1) / PAGE_SIZE) |
#define | RESYNC_WINDOW (1024*1024) |
#define | RESYNC_DEPTH (32*1024*1024/RESYNC_BLOCK_SIZE) |
Enumerations | |
enum | geo_type { geo_new, geo_old, geo_start } |
Functions | |
int | md_raid10_congested (struct mddev *mddev, int bits) |
EXPORT_SYMBOL_GPL (md_raid10_congested) | |
module_init (raid_init) | |
module_exit (raid_exit) | |
MODULE_LICENSE ("GPL") | |
MODULE_DESCRIPTION ("RAID10 (striped mirror) personality for MD") | |
MODULE_ALIAS ("md-personality-9") | |
MODULE_ALIAS ("md-raid10") | |
MODULE_ALIAS ("md-level-10") | |
module_param (max_queued_requests, int, S_IRUGO|S_IWUSR) | |
#define RESYNC_DEPTH (32*1024*1024/RESYNC_BLOCK_SIZE) |
#define RESYNC_PAGES ((RESYNC_BLOCK_SIZE + PAGE_SIZE-1) / PAGE_SIZE) |
EXPORT_SYMBOL_GPL | ( | md_raid10_congested | ) |
MODULE_ALIAS | ( | "md-personality-9" | ) |
MODULE_ALIAS | ( | "md-raid10" | ) |
MODULE_ALIAS | ( | "md-level-10" | ) |
MODULE_DESCRIPTION | ( | "RAID10 (striped mirror) personality for MD" | ) |
module_exit | ( | raid_exit | ) |
module_init | ( | raid_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |