From: Christoph Hellwig <hch@lst•de>
To: linux-aio@kvack•org
Cc: Avi Kivity <avi@scylladb•com>,
linux-fsdevel@vger•kernel.org, netdev@vger•kernel.org,
linux-kernel@vger•kernel.org
Subject: [PATCH 1/6] resurrect aio poll support
Date: Thu, 4 Jan 2018 09:03:20 +0100 [thread overview]
Message-ID: <20180104080325.14716-2-hch@lst.de> (raw)
In-Reply-To: <20180104080325.14716-1-hch@lst.de>
Now that we have poll support in mainline, remove comments about the
do not use status.
Signed-off-by: Christoph Hellwig <hch@lst•de>
---
src/libaio.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/libaio.h b/src/libaio.h
index a5cd2e1..a1a8fc4 100644
--- a/src/libaio.h
+++ b/src/libaio.h
@@ -43,7 +43,7 @@ typedef enum io_iocb_cmd {
IO_CMD_FSYNC = 2,
IO_CMD_FDSYNC = 3,
- IO_CMD_POLL = 5, /* Never implemented in mainline, see io_prep_poll */
+ IO_CMD_POLL = 5,
IO_CMD_NOOP = 6,
IO_CMD_PREADV = 7,
IO_CMD_PWRITEV = 8,
@@ -236,8 +236,6 @@ static inline void io_prep_pwritev2(struct iocb *iocb, int fd, const struct iove
iocb->u.c.offset = offset;
}
-/* Jeff Moyer says this was implemented in Red Hat AS2.1 and RHEL3.
- * AFAICT, it was never in mainline, and should not be used. --RR */
static inline void io_prep_poll(struct iocb *iocb, int fd, int events)
{
memset(iocb, 0, sizeof(*iocb));
--
2.14.2
--
To unsubscribe, send a message with 'unsubscribe linux-aio' in
the body to majordomo@kvack•org. For more info on Linux AIO,
see: http://www.kvack.org/aio/
Don't email: <a href=mailto:"aart@kvack.org">aart@kvack•org</a>
next prev parent reply other threads:[~2018-01-04 8:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-04 8:03 libaio: resurrect aio poll and add io_pgetevents support Christoph Hellwig
2018-01-04 8:03 ` Christoph Hellwig [this message]
2018-01-04 8:03 ` [PATCH 2/6] move _body_io_syscall to the generic syscall.h Christoph Hellwig
2018-01-05 16:25 ` Jeff Moyer
2018-01-05 16:40 ` Benjamin LaHaise
2018-01-05 22:49 ` Jeff Moyer
2018-01-04 8:03 ` [PATCH 3/6] provide a generic io_syscall6 Christoph Hellwig
2018-01-04 8:03 ` [PATCH 4/6] move the aio_ring defintion and empty check into a header Christoph Hellwig
2018-01-04 8:03 ` [PATCH 5/6] add support for io_pgetevents Christoph Hellwig
2018-01-04 8:03 ` [PATCH 6/6] add test for aio poll and io_pgetevents Christoph Hellwig
2018-01-04 10:24 ` Philippe Ombredanne
2018-01-04 10:29 ` Christoph Hellwig
2018-01-05 22:55 ` Jeff Moyer
2018-01-05 22:57 ` libaio: resurrect aio poll and add io_pgetevents support Jeff Moyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180104080325.14716-2-hch@lst.de \
--to=hch@lst$(echo .)de \
--cc=avi@scylladb$(echo .)com \
--cc=linux-aio@kvack$(echo .)org \
--cc=linux-fsdevel@vger$(echo .)kernel.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=netdev@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox