Thread (18 messages) 18 messages, 4 authors, 2023-10-24

Re: [PATCH 4/4] io_submit.2: Document RWF_ATOMIC

From: "Darrick J. Wong" <djwong@kernel.org>
Date: 2023-10-09 17:45:58
Also in: lkml

On Fri, Sep 29, 2023 at 09:37:17AM +0000, John Garry wrote:
quoted hunk ↗ jump to hunk
Document RWF_ATOMIC for asynchronous I/O.

Signed-off-by: John Garry <john.g.garry@oracle.com>
---
 man2/io_submit.2 | 5 +++++
 1 file changed, 5 insertions(+)
diff --git a/man2/io_submit.2 b/man2/io_submit.2
index 1030bb6cd965..beba8865ac2a 100644
--- a/man2/io_submit.2
+++ b/man2/io_submit.2
@@ -140,6 +140,11 @@ as well the description of
 .B O_SYNC
 in
 .BR open (2).
+.TP
+.BR RWF_ATOMIC " (since Linux 6.7)"
+Write a block of data such that a write will never be
+torn from power fail or similar. See See the description
Nit: Double 'See' here.

--D
+of the flag of the same name in pwritev2(2).
 .RE
 .TP
 .I aio_lio_opcode
-- 
2.31.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help