Motr  M0
lustre.h File Reference

Go to the source code of this file.

Data Structures

struct  m0_md_lustre_fid
 
struct  m0_md_lustre_logrec
 

Macros

#define __MOTR_MDSERVICE_UT_LUSTRE_H__
 

Enumerations

enum  m0_md_lustre_logrec_type {
  RT_MARK = 0, RT_CREATE = 1, RT_MKDIR = 2, RT_HARDLINK = 3,
  RT_SOFTLINK = 4, RT_MKNOD = 5, RT_UNLINK = 6, RT_RMDIR = 7,
  RT_RENAME = 8, RT_EXT = 9, RT_OPEN = 10, RT_CLOSE = 11,
  RT_IOCTL = 12, RT_TRUNC = 13, RT_SETATTR = 14, RT_XATTR = 15,
  RT_HSM = 16, RT_MTIME = 17, RT_CTIME = 18, RT_ATIME = 19,
  RT_LAST
}
 

Functions

struct m0_md_lustre_logrec __attribute__ ((packed))
 

Variables

uint16_t cr_namelen
 
uint16_t cr_flags
 
uint16_t cr_valid
 
uint32_t cr_mode
 
uint8_t cr_type
 
uint64_t cr_index
 
uint64_t cr_time
 
uint64_t cr_atime
 
uint64_t cr_ctime
 
uint64_t cr_mtime
 
uint32_t cr_nlink
 
uint32_t cr_rdev
 
uint64_t cr_version
 
uint64_t cr_size
 
uint64_t cr_blocks
 
uint64_t cr_blksize
 
uint32_t cr_uid
 
uint32_t cr_gid
 
uint32_t cr_sid
 
uint64_t cr_clnid
 
struct m0_md_lustre_fid cr_tfid
 
struct m0_md_lustre_fid cr_pfid
 
char cr_name [0]
 
enum m0_md_lustre_logrec_type __attribute__
 

Macro Definition Documentation

◆ __MOTR_MDSERVICE_UT_LUSTRE_H__

#define __MOTR_MDSERVICE_UT_LUSTRE_H__

Definition at line 26 of file lustre.h.

Enumeration Type Documentation

◆ m0_md_lustre_logrec_type

Enumerator
RT_MARK 
RT_CREATE 
RT_MKDIR 
RT_HARDLINK 
RT_SOFTLINK 
RT_MKNOD 
RT_UNLINK 
RT_RMDIR 
RT_RENAME 
RT_EXT 
RT_OPEN 
RT_CLOSE 
RT_IOCTL 
RT_TRUNC 
RT_SETATTR 
RT_XATTR 
RT_HSM 
RT_MTIME 
RT_CTIME 
RT_ATIME 
RT_LAST 

Definition at line 65 of file lustre.h.

Function Documentation

◆ __attribute__()

struct m0_md_lustre_logrec __attribute__ ( (packed)  )

Variable Documentation

◆ cr_atime

uint64_t cr_atime

Definition at line 213 of file lustre.h.

◆ cr_blksize

uint64_t cr_blksize

Definition at line 221 of file lustre.h.

◆ cr_blocks

uint64_t cr_blocks

Definition at line 220 of file lustre.h.

◆ cr_clnid

uint64_t cr_clnid

Definition at line 225 of file lustre.h.

◆ cr_ctime

uint64_t cr_ctime

Definition at line 214 of file lustre.h.

◆ cr_flags

uint16_t cr_flags

Definition at line 207 of file lustre.h.

◆ cr_gid

uint32_t cr_gid

Definition at line 223 of file lustre.h.

◆ cr_index

uint64_t cr_index

Definition at line 211 of file lustre.h.

◆ cr_mode

uint32_t cr_mode

Definition at line 209 of file lustre.h.

◆ cr_mtime

uint64_t cr_mtime

Definition at line 215 of file lustre.h.

◆ cr_name

char cr_name[0]

Definition at line 228 of file lustre.h.

◆ cr_namelen

uint16_t cr_namelen

Definition at line 206 of file lustre.h.

◆ cr_nlink

uint32_t cr_nlink

Definition at line 216 of file lustre.h.

◆ cr_pfid

struct m0_md_lustre_fid cr_pfid

Definition at line 227 of file lustre.h.

◆ cr_rdev

uint32_t cr_rdev

Definition at line 217 of file lustre.h.

◆ cr_sid

uint32_t cr_sid

Definition at line 224 of file lustre.h.

◆ cr_size

uint64_t cr_size

Definition at line 219 of file lustre.h.

◆ cr_tfid

struct m0_md_lustre_fid cr_tfid

Definition at line 226 of file lustre.h.

◆ cr_time

uint64_t cr_time

Definition at line 212 of file lustre.h.

◆ cr_type

uint8_t cr_type

Definition at line 210 of file lustre.h.

◆ cr_uid

uint32_t cr_uid

Definition at line 222 of file lustre.h.

◆ cr_valid

uint16_t cr_valid

Definition at line 208 of file lustre.h.

◆ cr_version

uint64_t cr_version

Definition at line 218 of file lustre.h.