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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5E493C433FE for ; Wed, 17 Nov 2021 12:53:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4003261458 for ; Wed, 17 Nov 2021 12:53:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234764AbhKQM4v (ORCPT ); Wed, 17 Nov 2021 07:56:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235135AbhKQM4v (ORCPT ); Wed, 17 Nov 2021 07:56:51 -0500 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABF90C061764 for ; Wed, 17 Nov 2021 04:53:52 -0800 (PST) Received: by mail-wm1-x335.google.com with SMTP id p3-20020a05600c1d8300b003334fab53afso4710511wms.3 for ; Wed, 17 Nov 2021 04:53:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=javigon-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=hss0my1U543SYA62Ffactpc9+//eg0/Fsm4KpfOP4TA=; b=cNSGVCgXy2Jr0DDROORE8h8J8ohDTgYgTeZwzXZy1XX72D7vMjy8+FDF8OElAFsPlt YU9hPx/B9RhVz9/JaIqmgAPMZsUtogLmKaV2ijNZ05+Z/4iFpO3J8Umt6jEbcvAWAcZK mcrAEBQkoqFKbQKvlwGe8/9d/35yaUQoHDbiLSEQR+TrKeunKkyCyKnQZJWWVlKj1RBP AZ1vSLkAoORo7sWj9raNWButcAjsPxq5x4irMkgt8Vh/lC9uY2RebAWWlyQfk7rpPU8I H96skOZMMuajYOxCQGi9C76/4onuRGkYVs1n7zwvLjpY4xg/f+XVlxq+ev/f9uqThiNu wsqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=hss0my1U543SYA62Ffactpc9+//eg0/Fsm4KpfOP4TA=; b=krg0RbW596nNFrz51OzGiyXECLO0n+rQcrkqjXE/ha+Hw9U6DSlv6v71Tw0VjYbam+ IayvHeD6PpPZrGpemyW7HuGNgB1h6u34lLC1GjBRC8B8yKfgB9Z8zB54+/VyRGtcDia1 4bB3iwqWb4SHFWifFwLGPTxp0l6GbdZnW2Mq6dKGdX9Y5yolIJV37DQaRM8U2+GoEhgh ECygWWHHM4ux2w0krDcPx0ScHL0WMTLQWhGhx4t7TTd3eYkU2gqzm+9lHqDveb23KcrT VNhVEK2Jin1sP1hDWEEQXSyB3tbwNddb/8iREpXjQ4fYXVoiTxt2tlYdXbgglHff6E3M uYWg== X-Gm-Message-State: AOAM531n0rDRWtMT6fk6KGBNrfJbGjnEYHQ5Z+2XimKy/CQOVo+B2SQY NkLpYyQRIzgzRjtCf9mzCt06vg== X-Google-Smtp-Source: ABdhPJxOXnHxfcN/nA4AKyAuhHjB0XGlYF1ByvmNcUHfw88xbXLPy+hq3hyfltHTbv+vqGO7YiaBXA== X-Received: by 2002:a1c:43c2:: with SMTP id q185mr77977369wma.30.1637153631243; Wed, 17 Nov 2021 04:53:51 -0800 (PST) Received: from localhost ([194.62.217.57]) by smtp.gmail.com with ESMTPSA id w4sm8368899wrs.88.2021.11.17.04.53.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Nov 2021 04:53:50 -0800 (PST) Date: Wed, 17 Nov 2021 13:53:49 +0100 From: Javier =?utf-8?B?R29uesOhbGV6?= To: Bart Van Assche Cc: Chaitanya Kulkarni , Johannes Thumshirn , Chaitanya Kulkarni , "linux-block@vger.kernel.org" , "linux-scsi@vger.kernel.org" , "linux-nvme@lists.infradead.org" , "dm-devel@redhat.com" , "lsf-pc@lists.linux-foundation.org" , "axboe@kernel.dk" , "msnitzer@redhat.com" , "martin.petersen@oracle.com" , "roland@purestorage.com" , "mpatocka@redhat.com" , "hare@suse.de" , "kbusch@kernel.org" , "rwheeler@redhat.com" , "hch@lst.de" , "Frederick.Knight@netapp.com" , "zach.brown@ni.com" , "osandov@fb.com" , Adam Manzanares , SelvaKumar S , Nitesh Shetty , Kanchan Joshi , Vincent Fu Subject: Re: [LSF/MM/BFP ATTEND] [LSF/MM/BFP TOPIC] Storage: Copy Offload Message-ID: <20211117125224.z36hp2crpj4fwngc@ArmHalley.local> References: <20210928191340.dcoj7qrclpudtjbo@mpHalley.domain_not_set.invalid> <20211006100523.7xrr3qpwtby3bw3a@mpHalley.domain_not_set.invalid> <20211008064925.oyjxbmngghr2yovr@mpHalley.local> <2a65e231-11dd-d5cc-c330-90314f6a8eae@nvidia.com> <20211029081447.ativv64dofpqq22m@ArmHalley.local> <20211103192700.clqzvvillfnml2nu@mpHalley-2> <20211116134324.hbs3tp5proxootd7@ArmHalley.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On 16.11.2021 09:59, Bart Van Assche wrote: >On 11/16/21 05:43, Javier González wrote: >>             - Here, we need copy emulation to support encryption >>without dealing with HW issues and garbage > >Hi Javier, > >Thanks very much for having taken notes and also for having shared >these. My pleasure. Thanks for attending. Happy to see this moving. >Regarding the above comment, after the meeting I learned that >the above is not correct. Encryption in Android is LBA independent and >hence it should be possible to offload F2FS garbage collection in >Android once the (UFS) storage controller supports this. > >For the general case, I propose to let the dm-crypt driver decide >whether or not to offload data copying since that driver knows whether >or not data copying can be offloaded. Thanks for sharing this. We will make sure that DM / MD are supported and then we can cover examples. Hopefully, you guys can help with the bits for dm-crypt to make the decision to offload when it make sense. I will update the notes to keep them alive. Maybe we can have them open in your github page? > >Thanks, > >Bart.