From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753134AbeADIDi (ORCPT + 1 other); Thu, 4 Jan 2018 03:03:38 -0500 Received: from bombadil.infradead.org ([65.50.211.133]:52947 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753110AbeADIDe (ORCPT ); Thu, 4 Jan 2018 03:03:34 -0500 From: Christoph Hellwig To: linux-aio@kvack.org Cc: Avi Kivity , 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 Message-Id: <20180104080325.14716-2-hch@lst.de> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180104080325.14716-1-hch@lst.de> References: <20180104080325.14716-1-hch@lst.de> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Now that we have poll support in mainline, remove comments about the do not use status. Signed-off-by: Christoph Hellwig --- 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