Skip to content

Commit f5cb282

Browse files
djwongtytso
authored andcommitted
docs: add new ext4 superblock time extension fields
The superblock timestamp fields were enlarged by u8 to be 40 bits wide. Update the documentation to reflect this. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
1 parent 6684874 commit f5cb282

1 file changed

Lines changed: 30 additions & 2 deletions

File tree

  • Documentation/filesystems/ext4/ondisk

‎Documentation/filesystems/ext4/ondisk/super.rst‎

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,8 +442,36 @@ The ext4 superblock is laid out as follows in
442442
- Checksum seed used for metadata\_csum calculations. This value is
443443
crc32c(~0, $orig\_fs\_uuid).
444444
* - 0x274
445-
- \_\_le32
446-
- s\_reserved[98]
445+
- \_\_u8
446+
- s\_wtime_hi
447+
- Upper 8 bits of the s_wtime field.
448+
* - 0x275
449+
- \_\_u8
450+
- s\_wtime_hi
451+
- Upper 8 bits of the s_mtime field.
452+
* - 0x276
453+
- \_\_u8
454+
- s\_mkfs_time_hi
455+
- Upper 8 bits of the s_mkfs_time field.
456+
* - 0x277
457+
- \_\_u8
458+
- s\_lastcheck_hi
459+
- Upper 8 bits of the s_lastcheck_hi field.
460+
* - 0x278
461+
- \_\_u8
462+
- s\_first_error_time_hi
463+
- Upper 8 bits of the s_first_error_time_hi field.
464+
* - 0x279
465+
- \_\_u8
466+
- s\_last_error_time_hi
467+
- Upper 8 bits of the s_last_error_time_hi field.
468+
* - 0x27A
469+
- \_\_u8[2]
470+
- s\_pad
471+
- Zero padding.
472+
* - 0x27C
473+
- \_\_le32
474+
- s\_reserved[96]
447475
- Padding to the end of the block.
448476
* - 0x3FC
449477
- \_\_le32

0 commit comments

Comments
 (0)