Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2060955pxb; Sat, 23 Jan 2021 15:36:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJwkPWMRv458fhK8GlVO2bkFPaGHh2ZwnO5hGXXkG4br5CEGEwvhsj087iJ5W2eZpx6rUfXH X-Received: by 2002:a17:906:1958:: with SMTP id b24mr803927eje.263.1611444980565; Sat, 23 Jan 2021 15:36:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611444980; cv=none; d=google.com; s=arc-20160816; b=BccLAAxKhULl1xA424I5EA69j4LuZSilZTwHN6mfI9zNs5eSVADbOG2XlstVv4GNT8 xhLOYGUgHvMt+MYM6WTjiRiUJbDZlT8C8i3PE0ZPsp8hm1OGdvb+pLH9gVwqEjQP5Jrm WXiJkWXt+7B6Z/5YFd1JU/in7bRCA3AlFeDmMxiCXITtrr9AHKeCoVt0PkODFR0IN8Eu 30ZMm8yP77v7y0xC+aG1zdSngXfZ2dzlxKm5q41wawzajJzkAVAodANtoNGity3/yPtN Uw6tsAIvadzaoYg0SMCbbOy+sjfh4bHHTs5UOmHQH5fDz7lSmrOeHmozEA+NjrZ8pFL2 8o0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=cZSjZ1gWlL041uFW/1i9ltjoZrL1VhC51p2h42FCoWs=; b=Rba9TZWx/jUKtSIrZJmKadMbdnv0AqEBQjWQvq6TRVtSRTwh9GrMgF7iEydN2T4S2b YOerEJ0/+wOd4EsTGE3TQsmmXTz5IpuMS4RLeQwrP485Pn+Iq+ju6oRT3YDlYwgFiNOW pUhx2yPdCpKMlW7J7ZwcuB6FX0ngUt7CU9jDMnthou9L+Q0EcsFIWywqe3ujDt79Jjev pV04lHvH6S7GW9xfxzhfUIKeBKeJpE1dz27f/7iWEYzBovsThdNc5/lF6R+PKzbXsBuG Gch5w4qmQj64GQjLnbpcoB2CjV5tAA19tX3KuRVz1IHuNz6Kl8lVcdKHdMD74RuAeVkZ W6Mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=wqjRxvWD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b15si5465650edz.486.2021.01.23.15.35.55; Sat, 23 Jan 2021 15:36:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=wqjRxvWD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726402AbhAWXe0 (ORCPT + 99 others); Sat, 23 Jan 2021 18:34:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726278AbhAWXeS (ORCPT ); Sat, 23 Jan 2021 18:34:18 -0500 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E1A3C061786 for ; Sat, 23 Jan 2021 15:33:38 -0800 (PST) Received: by mail-pl1-x633.google.com with SMTP id b8so5368006plh.12 for ; Sat, 23 Jan 2021 15:33:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=cZSjZ1gWlL041uFW/1i9ltjoZrL1VhC51p2h42FCoWs=; b=wqjRxvWDXSOXa4u0cPIKuxpGfZnfoQofsTeIqY3GBU3H20Ouu06BeGsM/cUKieNeg+ LmxH2PDFQ0RMulHva9w0puXRGhqdfiQbPMxDcAJcwT8xI4hn/LuKbj3nGY1OyBrT/och H5vyKm1MOOKlNMexECHrbIyP8UwWKyR3Qd8gc9+4SRx3pWsajahJfFtCudvpdGbuOgAn 5VM7Amj/PB0dYZdOeq3YMz4sXMC4EGAVl5j3sU0NNHYS8VTW7nDBn1POObze1A2CYn5b sHvOuOsslvu7UM4VQUJIIJIza2CHijCDSYZcpLwNtiQNapmf9898J/hcIGJ/iVvkNLAl rtdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=cZSjZ1gWlL041uFW/1i9ltjoZrL1VhC51p2h42FCoWs=; b=TPMitNURCPRwCLlAWBeNKgsEhKCCjaWt1JuMzORVlNR/bXhiOeqisojr8oAms24QD9 HEljUja7VrIwF3sbI3o9waOJj3XFVm0YB5Ddva6WMNw6s4y7Qx17/0eKsDNNCrjYva9C m2DYUnZpb8OheLZ5XORuHR6p5n80987n3U6tlbK5QswshQdU8SGlCdYV4SYyH72yanZP bzxngmERMomwaf1BrStiXaphh36vv3D+wlN7qw1wxQlLB+09SJjWf2NgPej6qH1l0mBI Ru5j+V1z6HItk2QEIzfhCsT5Qclx1ZBeukgKSz/h5ppAkUVbPcEyu0GjWnhHOTy8F+SP GFRA== X-Gm-Message-State: AOAM531br56UNrw3cTpnP1qeej2LKqgj32e1PEsbQiCR4jhjQ5YCyrSf Q/PwbpxIN20SoUrRDGss7OABHg== X-Received: by 2002:a17:90a:5911:: with SMTP id k17mr13620918pji.152.1611444817711; Sat, 23 Jan 2021 15:33:37 -0800 (PST) Received: from [192.168.4.41] (cpe-72-132-29-68.dc.res.rr.com. [72.132.29.68]) by smtp.gmail.com with ESMTPSA id g22sm9010746pfu.200.2021.01.23.15.33.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 Jan 2021 15:33:37 -0800 (PST) Subject: Re: [RFC PATCH] io_uring: add support for IORING_OP_GETDENTS64 To: Matthew Wilcox , Lennert Buytenhek Cc: linux-kernel@vger.kernel.org, io-uring@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-btrfs@vger.kernel.org References: <20210123114152.GA120281@wantstofly.org> <20210123232754.GA308988@casper.infradead.org> From: Jens Axboe Message-ID: <39a9b1da-bbcc-daa0-12e9-3eb776658564@kernel.dk> Date: Sat, 23 Jan 2021 16:33:34 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210123232754.GA308988@casper.infradead.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/23/21 4:27 PM, Matthew Wilcox wrote: > On Sat, Jan 23, 2021 at 01:41:52PM +0200, Lennert Buytenhek wrote: >> IORING_OP_GETDENTS64 behaves like getdents64(2) and takes the same > > Could we drop the '64'? We don't, for example, have IOURING_OP_FADVISE64 > even though that's the name of the syscall. Agreed, only case we do mimic the names are for things like IORING_OP_OPENAT2 where it does carry meaning. For this one, it should just be IORING_OP_GETDENTS. -- Jens Axboe