Thread (3 messages) 3 messages, 3 authors, 2025-06-13

Re: [RFC PATCH] NFSD: Use vfs_iocb_iter_read()

From: Christoph Hellwig <hch@infradead.org>
Date: 2025-06-13 05:35:26

On Thu, Jun 12, 2025 at 08:36:53PM -0400, Chuck Lever wrote:
From: Chuck Lever <chuck.lever@oracle.com>

Refactor: Enable the use of RWF_ flags to control individual I/O
operations.
The IOCB_ ones, really.
+	host_err = kiocb_set_rw_flags(&kiocb, 0, READ);
+	if (host_err) {
+		*count = 0;
+		goto out;
+	}
And if you don't want to explicitly convert from RWF_* flags, this
is pointless.  Just drop it for now and explicitly set the IOCB_
flags we want once we add some.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help