summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2022-10-11 22:04:00 +0200
committerJohn Titor <50095635+JohnRTitor@users.noreply.github.com>2024-05-29 09:22:09 +0530
commit18f9526c45e560df26dfadd5bdef7467aab6c0f7 (patch)
treebc75908d46ed16940f3e9bc8ffac5e5f1f188a30 /doc
parentc36b96d4dc1167bb9d38ba5bd594854e99f1ba9b (diff)
treewide, docs: fix typos
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net> [remove changes to libbcachefs/, linux/, include/, and raid/] Co-authored-by: Masum Reza <masumrezarock100@gmail.com> Signed-off-by: Masum Reza <masumrezarock100@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/bcachefs-principles-of-operation.tex12
-rw-r--r--doc/bcachefs.5.rst.tmpl4
2 files changed, 8 insertions, 8 deletions
diff --git a/doc/bcachefs-principles-of-operation.tex b/doc/bcachefs-principles-of-operation.tex
index bcb3fc9a..7dd7e7f3 100644
--- a/doc/bcachefs-principles-of-operation.tex
+++ b/doc/bcachefs-principles-of-operation.tex
@@ -464,7 +464,7 @@ The \texttt{-o verbose} enables additional log output during the mount process.
It is possible to run fsck either in userspace with the \texttt{bcachefs fsck}
subcommand (also available as \texttt{fsck.bcachefs}, or in the kernel while
-mounting by specifying the \texttt{-o fsck} mount option. In either case the
+mounting by specifying the \texttt{-o fsck} mount option). In either case the
exact same fsck implementation is being run, only the environment is different.
Running fsck in the kernel at mount time has the advantage of somewhat better
performance, while running in userspace has the ability to be stopped with
@@ -528,7 +528,7 @@ filesystem:
\begin{itemize}
\item \texttt{bcachefs device add}: Formats and adds a new device to an
existing filesystem.
- \item \texttt{bcachefs device remove}: Permenantly removes a device from
+ \item \texttt{bcachefs device remove}: Permanently removes a device from
an existing filesystem.
\item \texttt{bcachefs device online}: Connects a device to a running
filesystem that was mounted without it (i.e. in degraded mode)
@@ -912,7 +912,7 @@ quantiles for latency/duration in the
\end{itemize}
\item \texttt{btree\_key\_cache} \\
- Prints infromation on the btree key cache: number of freed keys
+ Prints information on the btree key cache: number of freed keys
(which must wait for a sRCU barrier to complete before being
freed), number of cached keys, and number of dirty keys.
@@ -1036,7 +1036,7 @@ listing btree nodes and contents, but for offline filesystems.
\subsubsection{bcachefs list\_journal}
This subcommand lists the contents of the journal, which primarily records btree
-updates ordered by when they occured.
+updates ordered by when they occurred.
\subsubsection{bcachefs dump}
@@ -1052,7 +1052,7 @@ This section documents bcachefs-specific ioctls:
\begin{description}
\item \texttt{BCH\_IOCTL\_QUERY\_UUID} \\
- Returs the UUID of the filesystem: used to find the sysfs
+ Returns the UUID of the filesystem: used to find the sysfs
directory given a path to a mounted filesystem.
\item \texttt{BCH\_IOCTL\_FS\_USAGE} \\
@@ -1102,7 +1102,7 @@ This section documents bcachefs-specific ioctls:
\item \texttt{BCH\_IOCTL\_DISK\_RESIZE\_JOURNAL} \\
\item \texttt{BCH\_IOCTL\_DATA} \\
Starts a data job, which walks all data and/or metadata in a
- filesystem performing, performaing some operation on each btree
+ filesystem performing, performing some operations on each btree
node and extent. Returns a file descriptor which can be read
from to get the current status of the job, and closing the file
descriptor (i.e. on process exit stops the data job.
diff --git a/doc/bcachefs.5.rst.tmpl b/doc/bcachefs.5.rst.tmpl
index 7b5e1ce7..8805af02 100644
--- a/doc/bcachefs.5.rst.tmpl
+++ b/doc/bcachefs.5.rst.tmpl
@@ -55,7 +55,7 @@ Device labels, targets
Configuration options that point to targets (i.e. a disk or group of disks) may
be passed either a device (i.e. /dev/sda), or a label. Labels are assigned to
-disks (and need not be unique), and these labels form a nested heirarchy: this
+disks (and need not be unique), and these labels form a nested hierarchy: this
allows disks to be grouped together and referred to either individually or as a
group.
@@ -86,7 +86,7 @@ The foreground_target option is used to direct writes from applications. The
background_target option, if set, will cause data to be moved to that target in
the background by the rebalance thread some time after it has been initially
written - leaving behind the original copy, but marking it cached so that it can
-be discarded by the allocator. The promote_target will will cause reads to write
+be discarded by the allocator. The promote_target will cause reads to write
a cached copy of the data being read to that target, if it doesn't exist.
Together, these options can be used for writeback caching, like so: