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 37323C433F5 for ; Thu, 4 Nov 2021 17:34:49 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C6AEF61076 for ; Thu, 4 Nov 2021 17:34:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org C6AEF61076 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: mail.kernel.org; spf=tempfail smtp.mailfrom=redhat.com Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-17-VjdLA6ugMSemwZn5yppeLQ-1; Thu, 04 Nov 2021 13:34:44 -0400 X-MC-Unique: VjdLA6ugMSemwZn5yppeLQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 41B4287D551; Thu, 4 Nov 2021 17:34:40 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2707710023AB; Thu, 4 Nov 2021 17:34:40 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id E5CF74EA30; Thu, 4 Nov 2021 17:34:39 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 1A4HYclo005514 for ; Thu, 4 Nov 2021 13:34:38 -0400 Received: by smtp.corp.redhat.com (Postfix) id 2073840CFD10; Thu, 4 Nov 2021 17:34:38 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast04.extmail.prod.ext.rdu2.redhat.com [10.11.55.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1B5FB40CFD0A for ; Thu, 4 Nov 2021 17:34:37 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C31C91064FB7 for ; Thu, 4 Nov 2021 17:34:37 +0000 (UTC) Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-216-UhYsJHn6MF24tTUzjzbdVg-1; Thu, 04 Nov 2021 13:34:36 -0400 X-MC-Unique: UhYsJHn6MF24tTUzjzbdVg-1 Received: by verein.lst.de (Postfix, from userid 2407) id 64F956732D; Thu, 4 Nov 2021 18:34:31 +0100 (CET) Date: Thu, 4 Nov 2021 18:34:31 +0100 From: Christoph Hellwig To: "Darrick J. Wong" Message-ID: <20211104173431.GA31740@lst.de> References: <20211104064634.4481-1-chaitanyak@nvidia.com> <20211104071439.GA21927@lst.de> <661bcadd-a030-4a72-81ae-ef15080f0241@nvidia.com> <20211104173235.GI2237511@magnolia> MIME-Version: 1.0 In-Reply-To: <20211104173235.GI2237511@magnolia> User-Agent: Mutt/1.5.17 (2007-11-01) X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 X-loop: dm-devel@redhat.com Cc: "snitzer@redhat.com" , "ebiggers@google.com" , "linux-nvme@lists.infradead.org" , "song@kernel.org" , "dm-devel@redhat.com" , "target-devel@vger.kernel.org" , "adilger.kernel@dilger.ca" , Christoph Hellwig , "agk@redhat.com" , "javier@javigon.com" , "bvanassche@acm.org" , "linux-scsi@vger.kernel.org" , "dongli.zhang@oracle.com" , "willy@infradead.org" , "osandov@fb.com" , "danil.kipnis@cloud.ionos.com" , "idryomov@gmail.com" , "jinpu.wang@cloud.ionos.com" , Chaitanya Kulkarni , "jejb@linux.ibm.com" , "josef@toxicpanda.com" , "ming.lei@redhat.com" , "linux-raid@vger.kernel.org" , "dsterba@suse.com" , "viro@zeniv.linux.org.uk" , "kbusch@kernel.org" , "sagi@grimberg.me" , "axboe@kernel.dk" , "linux-block@vger.kernel.org" , "tytso@mit.edu" , "martin.petersen@oracle.com" , "clm@fb.com" , "johannes.thumshirn@wdc.com" , "jlayton@kernel.org" , "linux-xfs@vger.kernel.org" , "jefflexu@linux.alibaba.com" , "jack@suse.com" , "linux-fsdevel@vger.kernel.org" Subject: Re: [dm-devel] [RFC PATCH 0/8] block: add support for REQ_OP_VERIFY X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dm-devel-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Thu, Nov 04, 2021 at 10:32:35AM -0700, Darrick J. Wong wrote: > I also wonder if it would be useful (since we're already having a > discussion elsewhere about data integrity syscalls for pmem) to be able > to call this sort of thing against files? In which case we'd want > another preadv2 flag or something, and then plumb all that through the > vfs/iomap as needed? IFF we do this (can't answer if there is a need) we should not overload read with it. It is an operation that does not return data but just a status, so let's not get into that mess. -- dm-devel mailing list dm-devel@redhat.com https://listman.redhat.com/mailman/listinfo/dm-devel