#include "jfs_compat.h"
Go to the source code of this file.
#define BJ_IO 3 /* Buffer is for temporary IO use */ |
#define BJ_Metadata 1 /* Normal journaled metadata */ |
#define BJ_None 0 /* Not journaled */ |
#define BJ_Shadow 4 /* Buffer contents being shadowed to the log */ |
#define JBD2_CHECKSUM_BYTES (32 / sizeof(u32)) |
#define JBD2_COMMIT_BLOCK 2 |
#define JBD2_CRC32_CHKSUM 1 |
#define JBD2_CRC32_CHKSUM_SIZE 4 |
#define JBD2_CRC32C_CHKSUM 4 |
#define JBD2_DEFAULT_MAX_COMMIT_AGE 5 |
#define JBD2_DESCRIPTOR_BLOCK 1 |
#define JBD2_FEATURE_COMPAT_CHECKSUM 0x00000001 |
#define JBD2_FEATURE_INCOMPAT_64BIT 0x00000002 |
#define JBD2_FEATURE_INCOMPAT_ASYNC_COMMIT 0x00000004 |
#define JBD2_FEATURE_INCOMPAT_CSUM_V2 0x00000008 |
#define JBD2_FEATURE_INCOMPAT_REVOKE 0x00000001 |
#define JBD2_FLAG_ESCAPE 1 /* on-disk block is escaped */ |
#define JBD2_FLAG_SAME_UUID 2 /* block has same uuid as previous */ |
#define JBD2_HAS_COMPAT_FEATURE |
( |
|
j, |
|
|
|
mask |
|
) |
| |
Value:((
j)->j_format_version >= 2 && \
Definition at line 277 of file jbd2.h.
#define JBD2_HAS_INCOMPAT_FEATURE |
( |
|
j, |
|
|
|
mask |
|
) |
| |
Value:((
j)->j_format_version >= 2 && \
Definition at line 283 of file jbd2.h.
#define JBD2_HAS_RO_COMPAT_FEATURE |
( |
|
j, |
|
|
|
mask |
|
) |
| |
Value:((
j)->j_format_version >= 2 && \
Definition at line 280 of file jbd2.h.
#define JBD2_KNOWN_INCOMPAT_FEATURES |
Value:
JBD2_FEATURE_INCOMPAT_64BIT | \
JBD2_FEATURE_INCOMPAT_ASYNC_COMMIT | \
JBD2_FEATURE_INCOMPAT_CSUM_V2)
Definition at line 297 of file jbd2.h.
#define JBD2_KNOWN_ROCOMPAT_FEATURES 0 |
#define JBD2_MAGIC_NUMBER 0xc03b3998U /* The first 4 bytes of /dev/random! */ |
#define JBD2_MD5_CHKSUM 2 |
#define JBD2_MIN_JOURNAL_BLOCKS 1024 |
#define JBD2_REVOKE_BLOCK 5 |
#define JBD2_SHA1_CHKSUM 3 |
#define JBD2_SUPERBLOCK_V1 3 |
#define JBD2_SUPERBLOCK_V2 4 |
#define jbd_debug |
( |
|
f, |
|
|
|
a... |
|
) |
| |
#define journal_oom_retry 1 |
size_t journal_tag_bytes |
( |
journal_t * |
journal | ) |
|