Thread (28 messages) 28 messages, 5 authors, 2024-10-25

Re: [PATCHv8 5/6] io_uring: enable per-io hinting capability

From: Christoph Hellwig <hch@lst.de>
Date: 2024-10-18 05:53:50
Also in: io-uring, linux-fsdevel, linux-nvme

Same hint vs write stream thing here as well.
+	if (ddir == ITER_SOURCE &&
+	    req->file->f_op->fop_flags & FOP_PER_IO_HINTS)
+		rw->kiocb.ki_write_hint = READ_ONCE(sqe->write_hint);
+	else
+		rw->kiocb.ki_write_hint = WRITE_LIFE_NOT_SET;
WRITE_LIFE_NOT_SET is in the wrong namespae vs the separate streams.

Either use 0 directly or add a separate constant for it.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help