Skip to content

Commit 0a115e5

Browse files
committed
Merge tag 'zonefs-5.6-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/zonefs
Pull zonefs fix from Damien Le Moal: "A single patch fixing typos in the documentation file" * tag 'zonefs-5.6-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/zonefs: zonefs: fix documentation typos etc.
2 parents b88025e + 4c5fd3b commit 0a115e5

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Documentation/filesystems/zonefs.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -134,15 +134,15 @@ Sequential zone files can only be written sequentially, starting from the file
134134
end, that is, write operations can only be append writes. Zonefs makes no
135135
attempt at accepting random writes and will fail any write request that has a
136136
start offset not corresponding to the end of the file, or to the end of the last
137-
write issued and still in-flight (for asynchrnous I/O operations).
137+
write issued and still in-flight (for asynchronous I/O operations).
138138

139139
Since dirty page writeback by the page cache does not guarantee a sequential
140140
write pattern, zonefs prevents buffered writes and writeable shared mappings
141141
on sequential files. Only direct I/O writes are accepted for these files.
142142
zonefs relies on the sequential delivery of write I/O requests to the device
143143
implemented by the block layer elevator. An elevator implementing the sequential
144144
write feature for zoned block device (ELEVATOR_F_ZBD_SEQ_WRITE elevator feature)
145-
must be used. This type of elevator (e.g. mq-deadline) is the set by default
145+
must be used. This type of elevator (e.g. mq-deadline) is set by default
146146
for zoned block devices on device initialization.
147147

148148
There are no restrictions on the type of I/O used for read operations in
@@ -196,7 +196,7 @@ additional conditions that result in I/O errors.
196196
may still happen in the case of a partial failure of a very large direct I/O
197197
operation split into multiple BIOs/requests or asynchronous I/O operations.
198198
If one of the write request within the set of sequential write requests
199-
issued to the device fails, all write requests after queued after it will
199+
issued to the device fails, all write requests queued after it will
200200
become unaligned and fail.
201201

202202
* Delayed write errors: similarly to regular block devices, if the device side
@@ -207,7 +207,7 @@ additional conditions that result in I/O errors.
207207
causing all data to be dropped after the sector that caused the error.
208208

209209
All I/O errors detected by zonefs are notified to the user with an error code
210-
return for the system call that trigered or detected the error. The recovery
210+
return for the system call that triggered or detected the error. The recovery
211211
actions taken by zonefs in response to I/O errors depend on the I/O type (read
212212
vs write) and on the reason for the error (bad sector, unaligned writes or zone
213213
condition change).
@@ -222,7 +222,7 @@ condition change).
222222
* A zone condition change to read-only or offline also always triggers zonefs
223223
I/O error recovery.
224224

225-
Zonefs minimal I/O error recovery may change a file size and a file access
225+
Zonefs minimal I/O error recovery may change a file size and file access
226226
permissions.
227227

228228
* File size changes:
@@ -237,7 +237,7 @@ permissions.
237237
A file size may also be reduced to reflect a delayed write error detected on
238238
fsync(): in this case, the amount of data effectively written in the zone may
239239
be less than originally indicated by the file inode size. After such I/O
240-
error, zonefs always fixes a file inode size to reflect the amount of data
240+
error, zonefs always fixes the file inode size to reflect the amount of data
241241
persistently stored in the file zone.
242242

243243
* Access permission changes:
@@ -281,11 +281,11 @@ Further notes:
281281
permissions to read-only applies to all files. The file system is remounted
282282
read-only.
283283
* Access permission and file size changes due to the device transitioning zones
284-
to the offline condition are permanent. Remounting or reformating the device
284+
to the offline condition are permanent. Remounting or reformatting the device
285285
with mkfs.zonefs (mkzonefs) will not change back offline zone files to a good
286286
state.
287287
* File access permission changes to read-only due to the device transitioning
288-
zones to the read-only condition are permanent. Remounting or reformating
288+
zones to the read-only condition are permanent. Remounting or reformatting
289289
the device will not re-enable file write access.
290290
* File access permission changes implied by the remount-ro, zone-ro and
291291
zone-offline mount options are temporary for zones in a good condition.
@@ -301,13 +301,13 @@ Mount options
301301

302302
zonefs define the "errors=<behavior>" mount option to allow the user to specify
303303
zonefs behavior in response to I/O errors, inode size inconsistencies or zone
304-
condition chages. The defined behaviors are as follow:
304+
condition changes. The defined behaviors are as follow:
305305
* remount-ro (default)
306306
* zone-ro
307307
* zone-offline
308308
* repair
309309

310-
The I/O error actions defined for each behavior is detailed in the previous
310+
The I/O error actions defined for each behavior are detailed in the previous
311311
section.
312312

313313
Zonefs User Space Tools

0 commit comments

Comments
 (0)