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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2A6C8C61DA4 for ; Tue, 14 Feb 2023 15:39:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231899AbjBNPjQ (ORCPT ); Tue, 14 Feb 2023 10:39:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229648AbjBNPjP (ORCPT ); Tue, 14 Feb 2023 10:39:15 -0500 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7917428847 for ; Tue, 14 Feb 2023 07:39:13 -0800 (PST) Received: by mail-ed1-x52d.google.com with SMTP id dz21so5952869edb.13 for ; Tue, 14 Feb 2023 07:39:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=xZmPo9Q6Z4RUvjG621OuZzJYIrsFcDWjerwh051FXoA=; b=FAZSGVM05LiY4aBSpZ5WadxilW/R17zFfxlNey9X70rWvVUa3MG9VyAKd8htvJEXnC wooRzSazMoXgO15zXzpSBVYlNPU8O7UVynukN5MqkrpiRmvAso7+Y+0dBcDZTsksGwzz 4mt/KJrc3UWd/KnLPbAbYCAVmbppctdW70IPQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xZmPo9Q6Z4RUvjG621OuZzJYIrsFcDWjerwh051FXoA=; b=XO9uzWquidse0Ihkn1uaNd75Ynyyy9lHgb5IKlNaO5kF60lLhnCSalvQfgEn+mxOr8 L05ZLKWCf+R+30Yk+kYqh2JvefS1O+dxR29MB15GGqgbp3CB+vsvL9XNGV26ioQImSLl mxHynWpWVNH4d43UOUYj2sfnUMJROnChuNBeA50h2GWpy3E6IUdyJ34lueKSOHUPXR49 lO+619mBJ/exdfQCZVCL7aiptuup2SssAHCosDx9xRDqM+M1DNTU66FO6mhwQvFufFcY RWJfRAGxIQUM+3mhyE5GcfW5r3bU+681xY3vBWvAAARr+rzlpVigLFuXmEIBVbn0zaww xXKA== X-Gm-Message-State: AO0yUKXFYysk1ZTTSbmCCpGA2jS1I7mF/sOwJH1iE8DEpvI/p/9jr20B NIi4aBPC/K0+ULbxgt8sNKpEVe3+1qkVfHVnNVjGQA== X-Google-Smtp-Source: AK7set+LFMwnBwC1msVbCl4zOk4kMAfWh+Y8EdW51624/1+QCBEmVGc3gYPzRWOo9U81Q8EYcBz3QTdfSUKg/pIn3fw= X-Received: by 2002:a50:d656:0:b0:4ab:4b7d:5f76 with SMTP id c22-20020a50d656000000b004ab4b7d5f76mr1404574edj.8.1676389152127; Tue, 14 Feb 2023 07:39:12 -0800 (PST) MIME-Version: 1.0 References: <20230210153212.733006-1-ming.lei@redhat.com> <20230210153212.733006-2-ming.lei@redhat.com> In-Reply-To: From: Miklos Szeredi Date: Tue, 14 Feb 2023 16:39:01 +0100 Message-ID: Subject: Re: [PATCH 1/4] fs/splice: enhance direct pipe & splice for moving pages in kernel To: Ming Lei Cc: Linus Torvalds , Jens Axboe , io-uring@vger.kernel.org, linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, Alexander Viro , Stefan Hajnoczi , Miklos Szeredi , Bernd Schubert , Nitesh Shetty , Christoph Hellwig , Ziyang Zhang Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On Tue, 14 Feb 2023 at 15:35, Ming Lei wrote: > I understand it isn't one issue from block device driver viewpoint at > least, since the WRITE to buffer in sink end can be thought as DMA > to buffer from device, and it is the upper layer(FS)'s responsibility > for updating page flag. And block driver needn't to handle page > status update. The block device still needs to know when the DMA is finished, right? Thanks, Miklos