From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from mail-il1-f176.google.com (mail-il1-f176.google.com [209.85.166.176]) by gnuweeb.org (Postfix) with ESMTPS id 5A4BC7E726 for ; Thu, 12 Jan 2023 17:49:41 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=kernel-dk.20210112.gappssmtp.com header.i=@kernel-dk.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=qdfxnHI3; dkim-atps=neutral Received: by mail-il1-f176.google.com with SMTP id f8so3619725ilj.5 for ; Thu, 12 Jan 2023 09:49:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=5GFvqx4FzbWQGbBOREW005WmRRHc7diKsmagdyp2KsU=; b=qdfxnHI3Gx6paqlLM60TGzt7aWbZ+OmuGJyGGHlA7dmBwgt7VgdD8T09MfAficr8k9 jGmX8zdCyAn6/zVv/zwJG5jYGIEeuKbfbPY4v6cI6K5D6/Dc+Mm4Z4m442i4/lnAfwao 4F/rB22tbAFnbWt6yC6PAu80PVKXLDZdOdsS2xq0pJS8AWfsZ3n0qilwPqwfea78R8oa OqtB98qqiUWZEZnqK/sD5GHInpDe8krKzu4Nju/3K2nKRX+cDFJ2Gs/ZTRTshff4hRVK EptFAYltRsr8HFltfJLa7jeJSx/KjEtkM9m5mDSzzeEIXQPFgPPWjMLEVgKmVo+b4A81 vIhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5GFvqx4FzbWQGbBOREW005WmRRHc7diKsmagdyp2KsU=; b=yGAKKVuLhRnq66H+Ycaj67t3Hr92a9dz0+prgIagpgjmz+rrNWKthH1MTVE63f1lJm AfZF/RCUfXqtJ4mUMhhz91ty0Wv9LQrZzR9wc1DFIZaJb8Zt0dF2TxL+KBvkTgnw6i8o jhW8LTiiuQybSqvvjMWd/eShcop9XrUM8QRw3EDMigx9FMZuSZO0NMdu/1dsQhSkrtks Cn2XQk/A2GMnu054XFo8C+W/Qo5R4Y5inPhHffGZvgDSoFQlFXQK7xVBevgkoq/cGmAf fIA2eXDSf/91dor7Os3IzW235vnSmpNPLSKmaVYDaEw5/sTclOWyuapJ1wRx3FnYJSXt S+AA== X-Gm-Message-State: AFqh2kqDh4irNm0GMbQWerizwHzqwjmQ9f7n0zAggq6IlXtprshjlV/F so4aPNXCw3l0I7ULodoJqiMqsQ== X-Google-Smtp-Source: AMrXdXsU2SdqbLtzlRfgTdwYRCGp8ssnB1/ewp5tlLKSJ4HjfVWFZHDIZfR/z2cp6TokqRte7RjztA== X-Received: by 2002:a92:c9cb:0:b0:304:c683:3c8a with SMTP id k11-20020a92c9cb000000b00304c6833c8amr10786050ilq.3.1673545780258; Thu, 12 Jan 2023 09:49:40 -0800 (PST) Received: from [192.168.1.94] ([207.135.234.126]) by smtp.gmail.com with ESMTPSA id r6-20020a924406000000b0030d86710f31sm5353398ila.1.2023.01.12.09.49.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 Jan 2023 09:49:39 -0800 (PST) Message-ID: Date: Thu, 12 Jan 2023 10:49:36 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH liburing v1 4/4] man/io_uring_prep_splice.3: Explain more about io_uring_prep_splice() Content-Language: en-US To: Gabriel Krisman Bertazi , Ammar Faizi Cc: Pavel Begunkov , Breno Leitao , Christian Mazakas , Gilang Fachrezy , VNLX Kernel Department , io-uring Mailing List , Linux Kernel Mailing List , GNU/Weeb Mailing List References: <20230112155709.303615-1-ammar.faizi@intel.com> <20230112155709.303615-5-ammar.faizi@intel.com> <87bkn3ekbb.fsf@suse.de> From: Jens Axboe In-Reply-To: <87bkn3ekbb.fsf@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: On 1/12/23 10:26 AM, Gabriel Krisman Bertazi wrote: > Ammar Faizi writes: > >> From: Ammar Faizi >> >> 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! > > Hi Ammar, > > A few suggestions below: [snip] Shoot, missed this. Ammar, can you send a fixup patch with the below suggestions? -- Jens Axboe