#include <linux/ceph/libceph.h>
#include <linux/ceph/osd_client.h>
#include <linux/ceph/mon_client.h>
#include <linux/ceph/decode.h>
#include <linux/parser.h>
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/blkdev.h>
#include "rbd_types.h"
Go to the source code of this file.
Definition at line 79 of file rbd.c.
#define MAX_INT_FORMAT_WIDTH ((5 * sizeof (int)) / 2 + 1) |
Definition at line 80 of file rbd.c.
#define rbd_assert |
( |
|
expr | ) |
|
Value:
printk(
KERN_ERR "\nAssertion failure in %s() " \
"at line %d:\n\n" \
"\trbd_assert(%s);\n\n", \
__func__, __LINE__, #
expr); \
BUG(); \
}
Definition at line 249 of file rbd.c.
#define RBD_DEBUG /* Activate rbd_assert() calls */ |
Definition at line 44 of file rbd.c.
#define RBD_DRV_NAME "rbd" |
Definition at line 59 of file rbd.c.
Definition at line 60 of file rbd.c.
#define RBD_IMAGE_ID_LEN_MAX 64 |
Definition at line 70 of file rbd.c.
#define RBD_MAX_OPT_LEN 1024 |
Definition at line 66 of file rbd.c.
#define RBD_MAX_SNAP_COUNT 510 /* allows max snapc to fit in 4KB */ |
Definition at line 65 of file rbd.c.
#define RBD_MAX_SNAP_NAME_LEN 32 |
Definition at line 64 of file rbd.c.
#define RBD_MINORS_PER_MAJOR 256 /* max minors per blkdev */ |
Definition at line 62 of file rbd.c.
#define RBD_OBJ_PREFIX_LEN_MAX 64 |
Definition at line 71 of file rbd.c.
#define RBD_READ_ONLY_DEFAULT false |
Definition at line 82 of file rbd.c.
#define RBD_SNAP_HEAD_NAME "-" |
Definition at line 68 of file rbd.c.
Definition at line 52 of file rbd.c.
#define SECTOR_SIZE (1ULL << SECTOR_SHIFT) |
Definition at line 53 of file rbd.c.
#define U64_MAX ((u64) (~0ULL)) |
Definition at line 57 of file rbd.c.
- Enumerator:
Opt_last_int |
|
Opt_last_string |
|
Opt_read_only |
|
Opt_read_write |
|
Opt_last_bool |
|
Definition at line 377 of file rbd.c.