From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24DDCC433C1 for ; Tue, 30 Mar 2021 11:23:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F0BAC6195C for ; Tue, 30 Mar 2021 11:23:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231792AbhC3LXJ (ORCPT ); Tue, 30 Mar 2021 07:23:09 -0400 Received: from hmm.wantstofly.org ([213.239.204.108]:40452 "EHLO mail.wantstofly.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229801AbhC3LWz (ORCPT ); Tue, 30 Mar 2021 07:22:55 -0400 Received: by mail.wantstofly.org (Postfix, from userid 1000) id AED707F4C0; Tue, 30 Mar 2021 14:22:54 +0300 (EEST) Date: Tue, 30 Mar 2021 14:22:54 +0300 From: Lennert Buytenhek To: Jens Axboe , io-uring@vger.kernel.org Subject: Re: [PATCH liburing] IORING_OP_GETDENTS: add opcode, prep function, test, man page section Message-ID: References: <20210218122842.GD334506@wantstofly.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210218122842.GD334506@wantstofly.org> Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On Thu, Feb 18, 2021 at 02:28:42PM +0200, Lennert Buytenhek wrote: > Signed-off-by: Lennert Buytenhek > --- I'll shortly send a v2 of this that will: - update the man page to specify that the file offset is updated unconditionally by IORING_OP_GETDENTS; - update the man pages to indicate that IORING_FEAT_RW_CUR_POS also applies to IORING_OP_GETDENTS; - update the getdents test to verify that offset == -1 reads from the current directory offset.