summaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems
diff options
context:
space:
mode:
authorMasanari Iida <standby24x7@gmail.com>2016-07-01 07:28:18 -0400
committerJonathan Corbet <corbet@lwn.net>2016-07-01 18:17:15 -0400
commita039ba34a349821fcbf949e7904117d0b14354f4 (patch)
tree6ab2323820f2f8daed98941bd46885a49fc6d9f3 /Documentation/filesystems
parent6387872c86ea6698ed8faa3ccad1d1bd60f762f7 (diff)
Doc: ocfs: Fix typo in filesystems/ocfs2-online-filecheck.txt
This patch fix some spelling typo found in ocfs2-online-filecheck.txt Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r--Documentation/filesystems/ocfs2-online-filecheck.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/filesystems/ocfs2-online-filecheck.txt b/Documentation/filesystems/ocfs2-online-filecheck.txt
index 1ab07860430d..139fab175c8a 100644
--- a/Documentation/filesystems/ocfs2-online-filecheck.txt
+++ b/Documentation/filesystems/ocfs2-online-filecheck.txt
@@ -5,12 +5,12 @@ This document will describe OCFS2 online file check feature.
5 5
6Introduction 6Introduction
7============ 7============
8OCFS2 is often used in high-availaibility systems. However, OCFS2 usually 8OCFS2 is often used in high-availability systems. However, OCFS2 usually
9converts the filesystem to read-only when encounters an error. This may not be 9converts the filesystem to read-only when encounters an error. This may not be
10necessary, since turning the filesystem read-only would affect other running 10necessary, since turning the filesystem read-only would affect other running
11processes as well, decreasing availability. 11processes as well, decreasing availability.
12Then, a mount option (errors=continue) is introduced, which would return the 12Then, a mount option (errors=continue) is introduced, which would return the
13-EIO errno to the calling process and terminate furhter processing so that the 13-EIO errno to the calling process and terminate further processing so that the
14filesystem is not corrupted further. The filesystem is not converted to 14filesystem is not corrupted further. The filesystem is not converted to
15read-only, and the problematic file's inode number is reported in the kernel 15read-only, and the problematic file's inode number is reported in the kernel
16log. The user can try to check/fix this file via online filecheck feature. 16log. The user can try to check/fix this file via online filecheck feature.
@@ -44,7 +44,7 @@ There is a sysfs directory for each OCFS2 file system mounting:
44 44
45 /sys/fs/ocfs2/<devname>/filecheck 45 /sys/fs/ocfs2/<devname>/filecheck
46 46
47Here, <devname> indicates the name of OCFS2 volumn device which has been already 47Here, <devname> indicates the name of OCFS2 volume device which has been already
48mounted. The file above would accept inode numbers. This could be used to 48mounted. The file above would accept inode numbers. This could be used to
49communicate with kernel space, tell which file(inode number) will be checked or 49communicate with kernel space, tell which file(inode number) will be checked or
50fixed. Currently, three operations are supported, which includes checking 50fixed. Currently, three operations are supported, which includes checking
@@ -76,14 +76,14 @@ The output is like this:
76This time, the <ERROR> column indicates whether this fix is successful or not. 76This time, the <ERROR> column indicates whether this fix is successful or not.
77 77
783. The record cache is used to store the history of check/fix results. It's 783. The record cache is used to store the history of check/fix results. It's
79defalut size is 10, and can be adjust between the range of 10 ~ 100. You can 79default size is 10, and can be adjust between the range of 10 ~ 100. You can
80adjust the size like this: 80adjust the size like this:
81 81
82 # echo "<size>" > /sys/fs/ocfs2/<devname>/filecheck/set 82 # echo "<size>" > /sys/fs/ocfs2/<devname>/filecheck/set
83 83
84Fixing stuff 84Fixing stuff
85============ 85============
86On receivng the inode, the filesystem would read the inode and the 86On receiving the inode, the filesystem would read the inode and the
87file metadata. In case of errors, the filesystem would fix the errors 87file metadata. In case of errors, the filesystem would fix the errors
88and report the problems it fixed in the kernel log. As a precautionary measure, 88and report the problems it fixed in the kernel log. As a precautionary measure,
89the inode must first be checked for errors before performing a final fix. 89the inode must first be checked for errors before performing a final fix.