Ext4: Update ext4 documentation
PATCH 1/1 Ext4: Update ext4 documentation
Since Documentation/filesystem/ext4.txt has not been updated for a while, there were some missing information. This commit add not yet documented mount options and ioctls. Also it adds sysfs documentation from Documentation/ABI/testing/sysfs-fs-ext4 which was really well hidden, as you can see.
Some typo fixes in sysfs-fs-ext4 as well.
--- Documentation/ABI/testing/sysfs-fs-ext4 | 13 ++- Documentation/filesystems/ext4.txt | 209 ++++++++++++++++++++++++++++++- 2 files changed, 218 insertions(+), 4 deletions(-)
Documentation/ABI/testing/sysfs-fs-ext4 +10 -3
@@ -48,7 +48,7 @@ Description: will have its blocks allocated out of its own unique preallocation pool. -What: /sys/fs/ext4/<disk>/inode_readahead +What: /sys/fs/ext4/<disk>/inode_readahead_blks Date: March 2008 Contact: "Theodore Ts'o" <[email protected]> Description:
@@ -85,7 +85,14 @@ Date: June 2008 Contact: "Theodore Ts'o" <[email protected]> Description: Tuning parameter which (if non-zero) controls the goal - inode used by the inode allocator in p0reference to - all other allocation hueristics. This is intended for + inode used by the inode allocator in preference to + all other allocation heuristics. This is intended for debugging use only, and should be 0 on production systems. + +What: /sys/fs/ext4/<disk>/max_writeback_mb_bump +Date: September 2009 +Contact: "Theodore Ts'o" <[email protected]> +Description: + The maximum number of megabytes the writeback code will + try to write out before move on to another inode.
Documentation/filesystems/ext4.txt +208 -1
226 lines not on this page · raw message
Signature · 1 line
1.7.2.3
Documentation/filesystems/ext4.txt needs to be read from and written to disk at the same time where it · line 535
Quoted 7 lines · Lukas Czerner
Documentation/filesystems/ext4.txt +7
-0+Table of Ext4 specific ioctls +.............................................................................. + Ioctl Description + EXT4_IOC_GETFLAGS Get additional attributes associated with files + in Ext4. The argument point to the integer. + Meaning of the particular bits are defined in + fs/ext4/ext4.
This is actually the same value as the FS_IOC_GETFLAGS ioctl.
Documentation/filesystems/ext4.txt needs to be read from and written to disk at the same time where it · line 541
Quoted 5 lines
+
EXT4_IOC_SETFLAGSSet additional attributes associated with filesDocumentation/filesystems/ext4.txt +4
-0+ in Ext4. The argument point to the integer. + Meaning of the particular bits are defined in + fs/ext4/ext4. If the file is a subject to quota, + setting inode flags is prohibited.
Likewise, this is the same value as FS_IOC_SETFLAGS.
Documentation/filesystems/ext4.txt needs to be read from and written to disk at the same time where it · line 552
Quoted 10 lines
+
EXT4_IOC_GETVERSION
+EXT4_IOC_GETVERSION_OLDDocumentation/filesystems/ext4.txt +8
-0+ Get the inode i_generation number stored for + each inode. This is particularly useful for + NFS in cases when one inode is unlinked and + then a new inode is created with the same inode + number. NFS daemon should know that it is not + the same inode, thus i_generation is needed. + All that said, it is normally changed only when + new inode is created.
Similarly, the FS_IOC_GETVERSION matches EXT4_IOC_GETVERSION_OLD. Sadly, the move of this ioctl number to FS_IOC_GETVERSION used the old 'v' ioctl number that conflicts with a number of ioctls instead of the new 'f' ioctl number...
Cheers, Andreas
PATCH 1/1 Ext4: Update ext4 documentation
bz 9432
https://bugzilla.kernel.org/show_bug.cgi?id=9423
Since Documentation/filesystem/ext4.txt has not been updated for a while, there were some missing information. This commit add not yet documented mount options and ioctls. Also it adds sysfs documentation from Documentation/ABI/testing/sysfs-fs-ext4 which was really well hidden, as you can see.
Some typo fixes in sysfs-fs-ext4 as well.
--- Documentation/ABI/testing/sysfs-fs-ext4 | 13 ++- Documentation/filesystems/ext4.txt | 207 ++++++++++++++++++++++++++++++- 2 files changed, 216 insertions(+), 4 deletions(-)
Documentation/ABI/testing/sysfs-fs-ext4 +10 -3
@@ -48,7 +48,7 @@ Description: will have its blocks allocated out of its own unique preallocation pool. -What: /sys/fs/ext4/<disk>/inode_readahead +What: /sys/fs/ext4/<disk>/inode_readahead_blks Date: March 2008 Contact: "Theodore Ts'o" <[email protected]> Description:
@@ -85,7 +85,14 @@ Date: June 2008 Contact: "Theodore Ts'o" <[email protected]> Description: Tuning parameter which (if non-zero) controls the goal - inode used by the inode allocator in p0reference to - all other allocation hueristics. This is intended for + inode used by the inode allocator in preference to + all other allocation heuristics. This is intended for debugging use only, and should be 0 on production systems. + +What: /sys/fs/ext4/<disk>/max_writeback_mb_bump +Date: September 2009 +Contact: "Theodore Ts'o" <[email protected]> +Description: + The maximum number of megabytes the writeback code will + try to write out before move on to another inode.
Documentation/filesystems/ext4.txt +206 -1
224 lines not on this page · raw message
Signature · 1 line
1.7.2.3
Quoted 9 lines · Lukas Czerner
bz 9432
https://bugzilla.kernel.org/show_bug.cgi?id=9423Since
Documentation/filesystem/ext4.txthas not been updated for a while, there were some missing information. This commit add not yet documented mount options and ioctls. Also it adds sysfs documentation fromDocumentation/ABI/testing/sysfs-fs-ext4which was really well hidden, as you can see.
Quoted 3 lines
Some typo fixes in sysfs-fs-ext4 as well.
Signed-off-by Lukas Czerner <[email protected]>
Thanks, added to the ext4 patch queue.
- Ted