Skip to content

Commit fc1c1a2

Browse files
ArturKlauserkdave
authored andcommitted
btrfs-progs: docs: fix typos in documentation
Pull-request: #968 Signed-off-by: David Sterba <[email protected]>
1 parent 49136e4 commit fc1c1a2

8 files changed

+10
-10
lines changed

Documentation/Auto-repair.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Auto-repair on read
22
===================
33

4-
If data or metadata that are found to be damaged at the time they’re read from a device,
4+
If data or metadata are found to be damaged at the time they’re read from a device,
55
for example because the checksum does not match, they can be salvaged if the filesystem
66
has another valid copy. This can be achieved by using a block group profile with redundancy
77
like DUP, RAID1-like, or RAID5/6.

Documentation/Glossary.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ DUP
118118

119119
ENOSPC
120120
Error code returned by the OS to a user program when the filesystem
121-
cannot allocate enough data to fulfill the user requested. In most
121+
cannot allocate enough data to fulfill the user request. In most
122122
filesystems, it indicates there is no free space available in the
123123
filesystem. Due to the additional space requirements from btrfs's
124124
*COW* behaviour, btrfs can sometimes return ENOSPC when there is

Documentation/Interoperability.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ automatically in any way, must be resolved either in btrfs or on the DM/MD
5353
layer.
5454

5555
The functionality of DM/MD may duplicate the one provided by btrfs (like
56-
mirroring), it's possible to use it that way but is probably wasteful and may
56+
mirroring), it's possible to use it that way but it's probably wasteful and may
5757
degrade performance. Creating a filesystem on top of the multiplexed device is
5858
likely the desired way.
5959

Documentation/Status.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ For a list of features by the kernel version of their introduction, please see
99

1010
The table below is an overview of the stability status of
1111
the features that BTRFS supports. While a feature may be functionally safe
12-
and reliable, it does not necessarily mean that it is meeting
12+
and reliable, it does not necessarily mean that it is
1313
suitable for all use cases or workloads, for example performance.
1414
Combination of features can vary in performance, the table does not
1515
cover all possibilities.
@@ -480,7 +480,7 @@ Experimental features
480480
Until kernel 6.12 the *CONFIG_OPTION_DEBUG* was used to hide features that
481481
still need some work and should not be exposed to users in general. With
482482
the increasing number of such features or functionality this started to conflict
483-
with regular debugging features. Currently there the following is behind
483+
with regular debugging features. Currently the following is behind
484484
the experimental option. Use with caution and if you find problems or have
485485
feedback please report that to the mailing list.
486486

Documentation/Tree-checker.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ by other parts of the system or hardware errors (namely faulty RAM).
2222

2323
Once a block does not pass the checks, the filesystem refuses to write more data
2424
and turns itself to read-only mode to prevent further damage. At this point some
25-
the recent metadata updates are held *only* in memory so it's best to not panic
25+
of the recent metadata updates are held *only* in memory so it's best to not panic
2626
and try to remember what files could be affected and copy them elsewhere. Once
2727
the filesystem gets unmounted, the most recent changes are unfortunately lost.
2828
The filesystem that is stored on the device is still consistent and should mount

Documentation/Trim.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ of other block device types. On real hardware, there's a different lifetime
77
span of the memory cells and the driver firmware usually tries to optimize for
88
that. The trim operation issued by user provides hints about what data are
99
unused and allow to reclaim the memory cells. On thin-provisioned or emulated
10-
this is could simply free the space.
10+
this could simply free the space.
1111

1212
There are three main uses of trim that BTRFS supports:
1313

Documentation/ch-volume-management-intro.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ In order to remove a device, you need to convert the profile in this case:
121121
Do not run balance to convert from a profile with more redundancy to one with
122122
less redundancy in order to remove a failing device from a filesystem.
123123

124-
Balance is done by reading out the good metadata/data and write them into into a
124+
Balance is done by reading out the good metadata/data and write them into a
125125
new chunk.
126126
Thus it's possible the new chunk is written into the failing device.
127127

Documentation/mkfs.btrfs.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ OPTIONS
2929

3030
-b|--byte-count <size>
3131
Specify the size of each device as seen by the filesystem. If not set,
32-
the entire device size is used. The total filesystem size will be sum
32+
the entire device size is used. The total filesystem size will be the sum
3333
of all device sizes, for a single device filesystem the option
3434
effectively specifies the size of the filesystem.
3535

@@ -165,7 +165,7 @@ OPTIONS
165165

166166
It is recommended to use the highest level to achieve maximum space savings.
167167
Compression at mkfs time is not as constrained as in kernel where it's
168-
desirable to use the less CPU load. Otherwise the default level is 3.
168+
desirable to use less CPU load. Otherwise the default level is 3.
169169

170170
As with the kernel, :command:`mkfs.btrfs` won't write compressed extents when
171171
they would be larger than the uncompressed versions, and will set file attribute

0 commit comments

Comments
 (0)