diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-26 14:34:40 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-26 14:34:40 -0400 |
commit | 2ac232f37fa0e8551856a575fe299c47b65b4d66 (patch) | |
tree | 58ff15ecdbc383415a82ea678e5191db16a479f3 /Documentation/filesystems | |
parent | fa8f53ace4af9470d8414427cb3dc3c0ffc4f182 (diff) | |
parent | 5cf49d763eb141d236e92be6d4a0dc94e31fa886 (diff) |
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6
* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6:
jbd: change the field "b_cow_tid" of struct journal_head from type unsigned to tid_t
ext3.txt: update the links in the section "useful links" to the latest ones
ext3: Fix data corruption in inodes with journalled data
ext2: check xattr name_len before acquiring xattr_sem in ext2_xattr_get
ext3: Fix compilation with -DDX_DEBUG
quota: Remove unused declaration
jbd: Use WRITE_SYNC in journal checkpoint.
jbd: Fix oops in journal_remove_journal_head()
ext3: Return -EINVAL when start is beyond the end of fs in ext3_trim_fs()
ext3/ioctl.c: silence sparse warnings about different address spaces
ext3/ext4 Documentation: remove bh/nobh since it has been deprecated
ext3: Improve truncate error handling
ext3: use proper little-endian bitops
ext2: include fs.h into ext2_fs.h
ext3: Fix oops in ext3_try_to_allocate_with_rsv()
jbd: fix a bug of leaking jh->b_jcount
jbd: remove dependency on __GFP_NOFAIL
ext3: Convert ext3 to new truncate calling convention
jbd: Add fixed tracepoints
ext3: Add fixed tracepoints
Resolve conflicts in fs/ext3/fsync.c due to fsync locking push-down and
new fixed tracepoints.
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r-- | Documentation/filesystems/ext3.txt | 13 | ||||
-rw-r--r-- | Documentation/filesystems/ext4.txt | 23 |
2 files changed, 9 insertions, 27 deletions
diff --git a/Documentation/filesystems/ext3.txt b/Documentation/filesystems/ext3.txt index 272f80d5f966..22f3a0eda1d2 100644 --- a/Documentation/filesystems/ext3.txt +++ b/Documentation/filesystems/ext3.txt | |||
@@ -147,15 +147,6 @@ grpjquota=<file> during journal replay. They replace the above | |||
147 | package for more details | 147 | package for more details |
148 | (http://sourceforge.net/projects/linuxquota). | 148 | (http://sourceforge.net/projects/linuxquota). |
149 | 149 | ||
150 | bh (*) ext3 associates buffer heads to data pages to | ||
151 | nobh (a) cache disk block mapping information | ||
152 | (b) link pages into transaction to provide | ||
153 | ordering guarantees. | ||
154 | "bh" option forces use of buffer heads. | ||
155 | "nobh" option tries to avoid associating buffer | ||
156 | heads (supported only for "writeback" mode). | ||
157 | |||
158 | |||
159 | Specification | 150 | Specification |
160 | ============= | 151 | ============= |
161 | Ext3 shares all disk implementation with the ext2 filesystem, and adds | 152 | Ext3 shares all disk implementation with the ext2 filesystem, and adds |
@@ -227,5 +218,5 @@ kernel source: <file:fs/ext3/> | |||
227 | programs: http://e2fsprogs.sourceforge.net/ | 218 | programs: http://e2fsprogs.sourceforge.net/ |
228 | http://ext2resize.sourceforge.net | 219 | http://ext2resize.sourceforge.net |
229 | 220 | ||
230 | useful links: http://www.ibm.com/developerworks/library/l-fs7.html | 221 | useful links: http://www.ibm.com/developerworks/library/l-fs7/index.html |
231 | http://www.ibm.com/developerworks/library/l-fs8.html | 222 | http://www.ibm.com/developerworks/library/l-fs8/index.html |
diff --git a/Documentation/filesystems/ext4.txt b/Documentation/filesystems/ext4.txt index 3ae9bc94352a..232a575a0c48 100644 --- a/Documentation/filesystems/ext4.txt +++ b/Documentation/filesystems/ext4.txt | |||
@@ -68,12 +68,12 @@ Note: More extensive information for getting started with ext4 can be | |||
68 | '-o barriers=[0|1]' mount option for both ext3 and ext4 filesystems | 68 | '-o barriers=[0|1]' mount option for both ext3 and ext4 filesystems |
69 | for a fair comparison. When tuning ext3 for best benchmark numbers, | 69 | for a fair comparison. When tuning ext3 for best benchmark numbers, |
70 | it is often worthwhile to try changing the data journaling mode; '-o | 70 | it is often worthwhile to try changing the data journaling mode; '-o |
71 | data=writeback,nobh' can be faster for some workloads. (Note | 71 | data=writeback' can be faster for some workloads. (Note however that |
72 | however that running mounted with data=writeback can potentially | 72 | running mounted with data=writeback can potentially leave stale data |
73 | leave stale data exposed in recently written files in case of an | 73 | exposed in recently written files in case of an unclean shutdown, |
74 | unclean shutdown, which could be a security exposure in some | 74 | which could be a security exposure in some situations.) Configuring |
75 | situations.) Configuring the filesystem with a large journal can | 75 | the filesystem with a large journal can also be helpful for |
76 | also be helpful for metadata-intensive workloads. | 76 | metadata-intensive workloads. |
77 | 77 | ||
78 | 2. Features | 78 | 2. Features |
79 | =========== | 79 | =========== |
@@ -272,14 +272,6 @@ grpjquota=<file> during journal replay. They replace the above | |||
272 | package for more details | 272 | package for more details |
273 | (http://sourceforge.net/projects/linuxquota). | 273 | (http://sourceforge.net/projects/linuxquota). |
274 | 274 | ||
275 | bh (*) ext4 associates buffer heads to data pages to | ||
276 | nobh (a) cache disk block mapping information | ||
277 | (b) link pages into transaction to provide | ||
278 | ordering guarantees. | ||
279 | "bh" option forces use of buffer heads. | ||
280 | "nobh" option tries to avoid associating buffer | ||
281 | heads (supported only for "writeback" mode). | ||
282 | |||
283 | stripe=n Number of filesystem blocks that mballoc will try | 275 | stripe=n Number of filesystem blocks that mballoc will try |
284 | to use for allocation size and alignment. For RAID5/6 | 276 | to use for allocation size and alignment. For RAID5/6 |
285 | systems this should be the number of data | 277 | systems this should be the number of data |
@@ -393,8 +385,7 @@ dioread_nolock locking. If the dioread_nolock option is specified | |||
393 | write and convert the extent to initialized after IO | 385 | write and convert the extent to initialized after IO |
394 | completes. This approach allows ext4 code to avoid | 386 | completes. This approach allows ext4 code to avoid |
395 | using inode mutex, which improves scalability on high | 387 | using inode mutex, which improves scalability on high |
396 | speed storages. However this does not work with nobh | 388 | speed storages. However this does not work with |
397 | option and the mount will fail. Nor does it work with | ||
398 | data journaling and dioread_nolock option will be | 389 | data journaling and dioread_nolock option will be |
399 | ignored with kernel warning. Note that dioread_nolock | 390 | ignored with kernel warning. Note that dioread_nolock |
400 | code path is only used for extent-based files. | 391 | code path is only used for extent-based files. |