#include "lib/errno.h"
#include "lib/memory.h"
#include "lib/misc.h"
#include "lib/bitstring.h"
#include "fop/fop.h"
#include "cob/cob.h"
#include "mdstore/mdstore.h"
#include "mdservice/md_fops.h"
#include "mdservice/md_fops_xc.h"
#include "mdservice/ut/lustre.h"
Go to the source code of this file.
|
enum | lustre_la_valid {
M0_LA_ATIME = 1 << 0,
M0_LA_MTIME = 1 << 1,
M0_LA_CTIME = 1 << 2,
M0_LA_SIZE = 1 << 3,
M0_LA_MODE = 1 << 4,
M0_LA_UID = 1 << 5,
M0_LA_GID = 1 << 6,
M0_LA_BLOCKS = 1 << 7,
M0_LA_TYPE = 1 << 8,
M0_LA_FLAGS = 1 << 9,
M0_LA_NLINK = 1 << 10,
M0_LA_RDEV = 1 << 11,
M0_LA_BLKSIZE = 1 << 12
} |
|
|
static void | lustre_copy_fid (struct m0_fid *bf, const struct m0_md_lustre_fid *cf) |
|
static int | lustre_copy_name (struct m0_fop_str *n, const struct m0_md_lustre_logrec *rec) |
|
static uint16_t | lustre_get_valid (uint16_t valid) |
|
static void | lustre_copy_body (struct m0_fop_cob *body, const struct m0_md_lustre_logrec *rec) |
|
static int | lustre_create_fop (struct m0_fop *fop, void *data) |
|
static int | lustre_link_fop (struct m0_fop *fop, void *data) |
|
static int | lustre_unlink_fop (struct m0_fop *fop, void *data) |
|
static int | lustre_open_fop (struct m0_fop *fop, void *data) |
|
static int | lustre_close_fop (struct m0_fop *fop, void *data) |
|
static int | lustre_setattr_fop (struct m0_fop *fop, void *data) |
|
static int | lustre_rename_fop (struct m0_fop *fop, void *data) |
|
int | m0_md_lustre_fop_alloc (struct m0_fop **fop, void *data, struct m0_rpc_machine *mach) |
|
◆ fop_translate_t
◆ lustre_la_valid
Enumerator |
---|
M0_LA_ATIME | |
M0_LA_MTIME | |
M0_LA_CTIME | |
M0_LA_SIZE | |
M0_LA_MODE | |
M0_LA_UID | |
M0_LA_GID | |
M0_LA_BLOCKS | |
M0_LA_TYPE | |
M0_LA_FLAGS | |
M0_LA_NLINK | |
M0_LA_RDEV | |
M0_LA_BLKSIZE | |
Definition at line 54 of file lustre.c.
◆ lustre_close_fop()
static int lustre_close_fop |
( |
struct m0_fop * |
fop, |
|
|
void * |
data |
|
) |
| |
|
static |
◆ lustre_copy_body()
◆ lustre_copy_fid()
◆ lustre_copy_name()
◆ lustre_create_fop()
static int lustre_create_fop |
( |
struct m0_fop * |
fop, |
|
|
void * |
data |
|
) |
| |
|
static |
◆ lustre_get_valid()
static uint16_t lustre_get_valid |
( |
uint16_t |
valid | ) |
|
|
static |
◆ lustre_link_fop()
static int lustre_link_fop |
( |
struct m0_fop * |
fop, |
|
|
void * |
data |
|
) |
| |
|
static |
◆ lustre_open_fop()
static int lustre_open_fop |
( |
struct m0_fop * |
fop, |
|
|
void * |
data |
|
) |
| |
|
static |
◆ lustre_rename_fop()
static int lustre_rename_fop |
( |
struct m0_fop * |
fop, |
|
|
void * |
data |
|
) |
| |
|
static |
◆ lustre_setattr_fop()
static int lustre_setattr_fop |
( |
struct m0_fop * |
fop, |
|
|
void * |
data |
|
) |
| |
|
static |
◆ lustre_unlink_fop()
static int lustre_unlink_fop |
( |
struct m0_fop * |
fop, |
|
|
void * |
data |
|
) |
| |
|
static |
◆ m0_md_lustre_fop_alloc()