Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp465272rwb; Thu, 12 Jan 2023 08:15:58 -0800 (PST) X-Google-Smtp-Source: AMrXdXvWMvRxKLE+1sAFAXZsOLbARuGgAOMYwp49TmCujvKVEyn0mGb/Mp256227NGK+czk7GbXh X-Received: by 2002:a17:907:ca1d:b0:84d:4e77:6453 with SMTP id uk29-20020a170907ca1d00b0084d4e776453mr12635919ejc.38.1673540158221; Thu, 12 Jan 2023 08:15:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673540158; cv=none; d=google.com; s=arc-20160816; b=svqjAFijNfkNkBQ6Kg1IcBxhxQ2I78YJsMPthtESngXm7O7rcjy37s0lcgQ8o5nDcr cszLPtVg+N/I4FwVsju25wSFqKPVHLgOOhcALVaCUmrX07k/Ne4DC208x8+EhjwKPiXm G2dyOYghJgbp6v4KyVMQ4Dy5SZlwFtfBsRxYWFrDauKvAZ4MlAzPE0+h7XHvkKAUjdt7 i+mDgmXkkbZVVl0S2oDY5xPWdwsyJ2i6prBLKH6vO0EGaPnaKkwJZbulMpyUA2h6V9r9 MHcSWydszVC36qBCKD05Yn7I5XQdhjDSoB57yJ7LMNH8ONX0PtRscYFz40jYZcs0+CDP RC4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=XK1pnp7VfrWSv1bVgvM74tQ0xbiYyCL1rtVynpOJg98=; b=mPmeYdjr5MzYcpYN2nBZzYbmzptE8SfJ0wtmGATOM+SULr6AMYAt6pgHXb5D0t5V4R tfcl65/lNXLQ5AyH4ye66tKbSKB+YseglVKdsEtrP48d1On79Fc7UgCsJNWRAv0q3d+F /pFGJKl/OzVS5b1ocPrw+hPvdhLJHlB4o07njm+QM+yU5yKULg9y5Gy50yrK33TV0JoZ n57elt+zUUGY7P6Psa3QifQByPLaQtc2WP3eqg0ZQ4QnIAau6k8GoaJWMNLp+orJwqpv 4DPTsEPh14DKCgKhPBf+X/YZLGkXUDu3pXs58c1j5GqpbFmdXMQMLh/egTlUO8LhbxYq 8gzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gnuweeb.org header.s=default header.b=ZPXdzdWG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnuweeb.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bb9-20020a1709070a0900b00866e9214abfsi2008133ejc.586.2023.01.12.08.15.44; Thu, 12 Jan 2023 08:15:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gnuweeb.org header.s=default header.b=ZPXdzdWG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnuweeb.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231896AbjALQGW (ORCPT + 52 others); Thu, 12 Jan 2023 11:06:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233471AbjALQFz (ORCPT ); Thu, 12 Jan 2023 11:05:55 -0500 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F8E45AC4E; Thu, 12 Jan 2023 07:57:19 -0800 (PST) Received: from localhost.localdomain (unknown [182.253.183.184]) by gnuweeb.org (Postfix) with ESMTPSA id DDA3D7E73F; Thu, 12 Jan 2023 15:57:14 +0000 (UTC) X-GW-Data: lPqxHiMPbJw1wb7CM9QUryAGzr0yq5atzVDdxTR0iA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1673539038; bh=L3owUwAQTcGDFP+VbIiTwKgrDGKNNsJz9xcK8cYS6xk=; h=From:To:Cc:Subject:Date:From; b=ZPXdzdWGIbG5sr3cMAID6mHcsXJpyKv8ebgll7uwY+fuN330P2TVrO6jFHwOtSoe+ dOlqRYX0gKPG0vi4py7QCS5Ry1K7z2Tg2HB2BxO1slb/FN62Xz9JGusTL31j0pU1pG WN6MRbvrqFLHSUiJBpmi8JgtJN25mCzAlTv7uQtIysql8TSlMlXA3EPXbs2VntBLb1 pHSwDAwvw7V6oFg4lmuVkDZmQW09SSdEnrePIVOnAwd/vkxl00yOJ3kLmypkA4+S+v 6veUTG7RqiSUCtOp3pLFLN5OSXcWR+f7hz3/ayl2i+AhpbH3X6NPCCKKeqeReoS1Ek I8Rzu/KqsuypQ== From: Ammar Faizi To: Jens Axboe Cc: Ammar Faizi , Pavel Begunkov , Breno Leitao , Christian Mazakas , Gilang Fachrezy , VNLX Kernel Department , io-uring Mailing List , Linux Kernel Mailing List , GNU/Weeb Mailing List Subject: [PATCH liburing v1 0/4] liburing updates for 2.4 Date: Thu, 12 Jan 2023 22:57:05 +0700 Message-Id: <20230112155709.303615-1-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ammar Faizi Hi Jens, I have found two people confused about the io_uring_prep_splice() function, especially on the offset part. The current manpage for io_uring_prep_splice() doesn't tell about the rules of the offset arguments. Despite these rules are already noted in "man 2 io_uring_enter", people who want to know about this prep function will prefer to read "man 3 io_uring_prep_splice". Let's explain it there. Additionally, this series also contains: - Fix a typo: 's/is adjust/is adjusted/' and indentation in liburing.h. - Add io_uring_prep_msg_ring_cqe_flags() to liburing-ffi.map. Commit 27180d7be059 ("Add io_uring_prep_msg_ring_cqe_flags function") adds a new inline function in liburing.h, but it doesn't update the liburing-ffi.map file. Update it. - Note about --nolibc configure option deprecation in the CHANGELOG. Since commit bfb432f4cce5 ("configure: Always enable `CONFIG_NOLIBC` if the arch is supported"), the --nolibc configure option is deprecated and has no effect. Plus, building liburing on x86-64, x86, and aarch64 always enables CONFIG_NOLIBC. Note these changes in the CHANGELOG file. Signed-off-by: Ammar Faizi --- Ammar Faizi (4): liburing-ffi.map: Add io_uring_prep_msg_ring_cqe_flags() function CHANGELOG: Note about --nolibc configure option deprecation liburing.h: 's/is adjust/is adjusted/' and fix indentation man/io_uring_prep_splice.3: Explain more about io_uring_prep_splice() CHANGELOG | 2 ++ man/io_uring_prep_splice.3 | 38 ++++++++++++++++++++++++++++++++++++++ src/include/liburing.h | 4 ++-- src/liburing-ffi.map | 1 + 4 files changed, 43 insertions(+), 2 deletions(-) base-commit: 47679a9019e48bf4293a4f55adade9eae715f9e4 -- Ammar Faizi