#include <linux/fs.h>
#include <linux/kobject.h>
#include <linux/workqueue.h>
#include <linux/dlm.h>
#include <linux/buffer_head.h>
#include <linux/rcupdate.h>
#include <linux/rculist_bl.h>
#include <linux/completion.h>
#include <linux/rbtree.h>
#include <linux/ktime.h>
#include <linux/percpu.h>
Go to the source code of this file.
|
| enum | gfs2_state_bits { BH_Pinned = BH_PrivateStart,
BH_Escaped = BH_PrivateStart + 1,
BH_Zeronew = BH_PrivateStart + 2
} |
| |
| enum | {
DFL_BLOCK_LOCKS = 0,
DFL_NO_DLM_OPS = 1,
DFL_FIRST_MOUNT = 2,
DFL_FIRST_MOUNT_DONE = 3,
DFL_MOUNT_DONE = 4,
DFL_UNMOUNT = 5,
DFL_DLM_RECOVERY = 6
} |
| |
| enum | {
GFS2_LKS_SRTT = 0,
GFS2_LKS_SRTTVAR = 1,
GFS2_LKS_SRTTB = 2,
GFS2_LKS_SRTTVARB = 3,
GFS2_LKS_SIRT = 4,
GFS2_LKS_SIRTVAR = 5,
GFS2_LKS_DCOUNT = 6,
GFS2_LKS_QCOUNT = 7,
GFS2_NR_LKSTATS
} |
| |
| enum | { HIF_HOLDER = 6,
HIF_FIRST = 7,
HIF_WAIT = 10
} |
| |
| enum | {
GLF_LOCK = 1,
GLF_DEMOTE = 3,
GLF_PENDING_DEMOTE = 4,
GLF_DEMOTE_IN_PROGRESS = 5,
GLF_DIRTY = 6,
GLF_LFLUSH = 7,
GLF_INVALIDATE_IN_PROGRESS = 8,
GLF_REPLY_PENDING = 9,
GLF_INITIAL = 10,
GLF_FROZEN = 11,
GLF_QUEUED = 12,
GLF_LRU = 13,
GLF_OBJECT = 14,
GLF_BLOCKING = 15
} |
| |
| enum | { GIF_INVALID = 0,
GIF_QD_LOCKED = 1,
GIF_ALLOC_FAILED = 2,
GIF_SW_PAGED = 3
} |
| |
| enum | { QDF_USER = 0,
QDF_CHANGE = 1,
QDF_LOCKED = 2,
QDF_REFRESH = 3
} |
| |
| enum | {
SDF_JOURNAL_CHECKED = 0,
SDF_JOURNAL_LIVE = 1,
SDF_SHUTDOWN = 2,
SDF_NOBARRIERS = 3,
SDF_NORECOVERY = 4,
SDF_DEMOTE = 5,
SDF_NOJOURNALID = 6,
SDF_RORECOVERY = 7
} |
| |
| #define DIO_METADATA 0x00000020 |
| #define DIO_WAIT 0x00000010 |
| #define GDLM_STRNAME_BYTES 25 |
| #define GFS2_DATA_ORDERED 2 |
| #define GFS2_DATA_WRITEBACK 1 |
| #define GFS2_ERRORS_PANIC 3 |
| #define GFS2_ERRORS_WITHDRAW 0 |
| #define GFS2_FSNAME_LEN 256 |
| #define GFS2_MIN_LVB_SIZE 32 /* Min size of LVB that gfs2 supports */ |
| #define GFS2_QUOTA_ACCOUNT 1 |
| #define GFS2_RDF_CHECK 0x10000000 /* check for unlinked inodes */ |
| #define GFS2_RDF_ERROR 0x40000000 /* error in rg */ |
| #define GFS2_RDF_MASK 0xf0000000 /* mask for internal flags */ |
| #define GFS2_RDF_UPTODATE 0x20000000 /* rg is up to date */ |
| #define lm_name_equal |
( |
|
name1, |
|
|
|
name2 |
|
) |
| |
Value:(((name1)->ln_number == (name2)->ln_number) && \
((name1)->ln_type == (name2)->ln_type))
Definition at line 202 of file incore.h.
- Enumerator:
| DFL_BLOCK_LOCKS |
|
| DFL_NO_DLM_OPS |
|
| DFL_FIRST_MOUNT |
|
| DFL_FIRST_MOUNT_DONE |
|
| DFL_MOUNT_DONE |
|
| DFL_UNMOUNT |
|
| DFL_DLM_RECOVERY |
|
Definition at line 187 of file incore.h.
- Enumerator:
| GFS2_LKS_SRTT |
|
| GFS2_LKS_SRTTVAR |
|
| GFS2_LKS_SRTTB |
|
| GFS2_LKS_SRTTVARB |
|
| GFS2_LKS_SIRT |
|
| GFS2_LKS_SIRTVAR |
|
| GFS2_LKS_DCOUNT |
|
| GFS2_LKS_QCOUNT |
|
| GFS2_NR_LKSTATS |
|
Definition at line 221 of file incore.h.
- Enumerator:
| HIF_HOLDER |
|
| HIF_FIRST |
|
| HIF_WAIT |
|
Definition at line 237 of file incore.h.
- Enumerator:
| GLF_LOCK |
|
| GLF_DEMOTE |
|
| GLF_PENDING_DEMOTE |
|
| GLF_DEMOTE_IN_PROGRESS |
|
| GLF_DIRTY |
|
| GLF_LFLUSH |
|
| GLF_INVALIDATE_IN_PROGRESS |
|
| GLF_REPLY_PENDING |
|
| GLF_INITIAL |
|
| GLF_FROZEN |
|
| GLF_QUEUED |
|
| GLF_LRU |
|
| GLF_OBJECT |
|
| GLF_BLOCKING |
|
Definition at line 282 of file incore.h.
- Enumerator:
| GIF_INVALID |
|
| GIF_QD_LOCKED |
|
| GIF_ALLOC_FAILED |
|
| GIF_SW_PAGED |
|
Definition at line 339 of file incore.h.
- Enumerator:
| QDF_USER |
|
| QDF_CHANGE |
|
| QDF_LOCKED |
|
| QDF_REFRESH |
|
Definition at line 393 of file incore.h.
- Enumerator:
| SDF_JOURNAL_CHECKED |
|
| SDF_JOURNAL_LIVE |
|
| SDF_SHUTDOWN |
|
| SDF_NOBARRIERS |
|
| SDF_NORECOVERY |
|
| SDF_DEMOTE |
|
| SDF_NOJOURNALID |
|
| SDF_RORECOVERY |
|
Definition at line 533 of file incore.h.
- Enumerator:
| BH_Pinned |
|
| BH_Escaped |
|
| BH_Zeronew |
|
Definition at line 122 of file incore.h.