From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 390E02C80 for ; Thu, 6 Jan 2022 14:42:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1641480159; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ziI0c5zpDrfARzHWSXczYyQXV4rhV2uF5H/yu3MCuIA=; b=hzjCB8vgmtRRoJgUfU+7Tqssh59RVeI0eWmS+3a235FiajsGSLfkkjpWwp66nYDVgZKDHu 0yztWn5AnhP0IX+hXURGGUimEoM8kpTf1fXD44UzYUNcbaFzDdLHqtYvs0e9pQmkpTQptt sHvQUJudodyszxvXBV1+OGJoz3TnMns= Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-632-iTa3SYG6PTWY15j9dIwOBA-1; Thu, 06 Jan 2022 09:42:38 -0500 X-MC-Unique: iTa3SYG6PTWY15j9dIwOBA-1 Received: by mail-qt1-f199.google.com with SMTP id s6-20020a05622a018600b002b2d93b9c73so2096906qtw.9 for ; Thu, 06 Jan 2022 06:42:38 -0800 (PST) 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:in-reply-to; bh=ziI0c5zpDrfARzHWSXczYyQXV4rhV2uF5H/yu3MCuIA=; b=MUNYjt3ze8CVDrhNE02E6Kmqw6XPiEg/Wczt2qZPmP/RIVFyga0047kIZoDtT6QqtR aqOSA9HLXUKIjOtbTEohIhKAK+x6Tx5xE6ltwPPObzcfO5kfoHmNFT1iTEH4OEV3eoEk FXnuIUJbDxxc+xQ6h1I+yI08v8o/bMNGQC1tEZc18Jke4jeoPaJJBzNiJTMScHW5+SOq O2XjYgKF87Clcdl/rV0t1ZRWkuBBTxufRYGpGyFOwQKvRdftMlS8VfszbJ+NkJRD0SOv Tb8P0n5xF1oTRO+ks1hnr2c7PTViL8ESXXoh4fKXzL0+UUtDco7mDEcwWtUaI+Cwbvwn WwHQ== X-Gm-Message-State: AOAM533nO7TvHTPxEVgadON4FGby8eXdVSRvxWQl5HiaJ+MXlnX+cIjD BZHqOEGUwq8nNQ9hZfGXrWmOxia1qny8afOJOZqFlC759x8YVfaKON/e4V6oOG106ACOuiH2f9Y eD7wryverk9tV/m0= X-Received: by 2002:a05:620a:bcc:: with SMTP id s12mr40958054qki.440.1641480157670; Thu, 06 Jan 2022 06:42:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJz3FRhHacqx3hvXCbD5dR5jpsBPvBE8m7URZnWLXDzc/nf2wfv2oNDbZeyhxFZfEJhygNyDig== X-Received: by 2002:a05:620a:bcc:: with SMTP id s12mr40958035qki.440.1641480157454; Thu, 06 Jan 2022 06:42:37 -0800 (PST) Received: from localhost (pool-68-160-176-52.bstnma.fios.verizon.net. [68.160.176.52]) by smtp.gmail.com with ESMTPSA id t3sm2038461qtc.7.2022.01.06.06.42.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jan 2022 06:42:37 -0800 (PST) Date: Thu, 6 Jan 2022 09:42:36 -0500 From: Mike Snitzer To: Christoph Hellwig Cc: Dan Williams , Vishal Verma , Dave Jiang , Alasdair Kergon , Ira Weiny , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Vivek Goyal , Stefan Hajnoczi , Miklos Szeredi , Matthew Wilcox , dm-devel@redhat.com, nvdimm@lists.linux.dev, linux-s390@vger.kernel.org, linux-fsdevel@vger.kernel.org, virtualization@lists.linux-foundation.org Subject: Re: [PATCH 4/4] dax: remove the copy_from_iter and copy_to_iter methods Message-ID: References: <20211215084508.435401-1-hch@lst.de> <20211215084508.435401-5-hch@lst.de> Precedence: bulk X-Mailing-List: nvdimm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: <20211215084508.435401-5-hch@lst.de> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=snitzer@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Dec 15 2021 at 3:45P -0500, Christoph Hellwig wrote: > These methods indirect the actual DAX read/write path. In the end pmem > uses magic flush and mc safe variants and fuse and dcssblk use plain ones > while device mapper picks redirects to the underlying device. > > Add set_dax_nocache() and set_dax_nomc() APIs to control which copy > routines are used to remove indirect call from the read/write fast path > as well as a lot of boilerplate code. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Vivek Goyal [virtiofs] Late to the game here, but quite a lot of dax DM code removed, thanks! Reviewed-by: Mike Snitzer 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 smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7A9FDC433F5 for ; Thu, 6 Jan 2022 14:42:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 0060681A6F; Thu, 6 Jan 2022 14:42:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6paK0YGctyRz; Thu, 6 Jan 2022 14:42:45 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [IPv6:2605:bc80:3010:104::8cd3:938]) by smtp1.osuosl.org (Postfix) with ESMTPS id 9B8B3823EB; Thu, 6 Jan 2022 14:42:44 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 587D3C0030; Thu, 6 Jan 2022 14:42:44 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 6D213C001E for ; Thu, 6 Jan 2022 14:42:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 4C7F1823EB for ; Thu, 6 Jan 2022 14:42:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rdKhBjoga8bm for ; Thu, 6 Jan 2022 14:42:42 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by smtp1.osuosl.org (Postfix) with ESMTPS id DB83781A6F for ; Thu, 6 Jan 2022 14:42:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1641480159; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ziI0c5zpDrfARzHWSXczYyQXV4rhV2uF5H/yu3MCuIA=; b=hzjCB8vgmtRRoJgUfU+7Tqssh59RVeI0eWmS+3a235FiajsGSLfkkjpWwp66nYDVgZKDHu 0yztWn5AnhP0IX+hXURGGUimEoM8kpTf1fXD44UzYUNcbaFzDdLHqtYvs0e9pQmkpTQptt sHvQUJudodyszxvXBV1+OGJoz3TnMns= Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-133-DU1GTpOINbCV45VzyXmTWw-1; Thu, 06 Jan 2022 09:42:38 -0500 X-MC-Unique: DU1GTpOINbCV45VzyXmTWw-1 Received: by mail-qv1-f71.google.com with SMTP id jt5-20020a05621427e500b0041425477b6dso1328860qvb.0 for ; Thu, 06 Jan 2022 06:42:38 -0800 (PST) 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:in-reply-to; bh=ziI0c5zpDrfARzHWSXczYyQXV4rhV2uF5H/yu3MCuIA=; b=B0oQgTMcH9t3909GPoFna43/trifKqRsnaAcbmfzQptqw5iEnuNnZvjaeE84Y7+e+I 5AA5A30IlHZ5oJLu/K0uGsAfaTEJ6Awjg5fl9ZhPOwRSvtjk4IChHQR32SpSJin1CsgO OjEjpJ4TRzsYXjGLfNnQ8pPPzYqNY9b3u4t0djvMaH5OzAzdKri4QWeWJgfD5J90eUO3 9Hiec3TqYWKJUKysGmMFIh/kB3iUXwhaYgnI4/I4dFjA6CkWqNHa2dzTGwXHdMUg7+KK MAnlfJECfN06l0PPM9jg8OHw1uuB+06k3zD4PMzxUMBZhhIOKke0WQ8vqtetjTG+R5lL mqyA== X-Gm-Message-State: AOAM5336kbihQFjNd/VV1oNJ4F6LebraUVawzJ8yqLyP4w8RR9f3sEJR tEDyLiK49ZUrZDbTTbirZvlkQ71G//9YpWwvpyI1JiMHNfsBaP3kPPWbIdjoF0dqp4e2nFAVN8I HWcdc7VNCfcaHynOJ8ab5WNXSskFQde/zNGZUFj9b X-Received: by 2002:a05:620a:bcc:: with SMTP id s12mr40958049qki.440.1641480157666; Thu, 06 Jan 2022 06:42:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJz3FRhHacqx3hvXCbD5dR5jpsBPvBE8m7URZnWLXDzc/nf2wfv2oNDbZeyhxFZfEJhygNyDig== X-Received: by 2002:a05:620a:bcc:: with SMTP id s12mr40958035qki.440.1641480157454; Thu, 06 Jan 2022 06:42:37 -0800 (PST) Received: from localhost (pool-68-160-176-52.bstnma.fios.verizon.net. [68.160.176.52]) by smtp.gmail.com with ESMTPSA id t3sm2038461qtc.7.2022.01.06.06.42.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jan 2022 06:42:37 -0800 (PST) Date: Thu, 6 Jan 2022 09:42:36 -0500 From: Mike Snitzer To: Christoph Hellwig Subject: Re: [PATCH 4/4] dax: remove the copy_from_iter and copy_to_iter methods Message-ID: References: <20211215084508.435401-1-hch@lst.de> <20211215084508.435401-5-hch@lst.de> MIME-Version: 1.0 In-Reply-To: <20211215084508.435401-5-hch@lst.de> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=snitzer@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline Cc: nvdimm@lists.linux.dev, linux-s390@vger.kernel.org, Dave Jiang , Vasily Gorbik , Miklos Szeredi , Vishal Verma , Heiko Carstens , Matthew Wilcox , virtualization@lists.linux-foundation.org, Christian Borntraeger , dm-devel@redhat.com, Vivek Goyal , Stefan Hajnoczi , linux-fsdevel@vger.kernel.org, Dan Williams , Ira Weiny , Alasdair Kergon X-BeenThere: virtualization@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Linux virtualization List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: virtualization-bounces@lists.linux-foundation.org Sender: "Virtualization" On Wed, Dec 15 2021 at 3:45P -0500, Christoph Hellwig wrote: > These methods indirect the actual DAX read/write path. In the end pmem > uses magic flush and mc safe variants and fuse and dcssblk use plain ones > while device mapper picks redirects to the underlying device. > > Add set_dax_nocache() and set_dax_nomc() APIs to control which copy > routines are used to remove indirect call from the read/write fast path > as well as a lot of boilerplate code. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Vivek Goyal [virtiofs] Late to the game here, but quite a lot of dax DM code removed, thanks! Reviewed-by: Mike Snitzer _______________________________________________ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id C7694C433EF for ; Thu, 6 Jan 2022 14:42:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1641480169; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=htAIp9sQX0S1la5lPN43rKoJXZjlwh0j+Trki+BIyEk=; b=Jmw9GdJiH/QPS9jDUeDD0C1DMXGgCaYSCARBkK5MHoZSuC/7q6WQZ4dRQtAtL0VyF0xF2H mQErDLxA8fZO4dByKUyMLQY75wwflGGxcTPxPQhekZqEH16p+iXa3Wt71bUYHpJEnf5NAs 0yk1higkijPWapuomay7LBvyQUUE1Vw= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-541-ITlRrp3hMryknpSr8MiW7Q-1; Thu, 06 Jan 2022 09:42:48 -0500 X-MC-Unique: ITlRrp3hMryknpSr8MiW7Q-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 244C9801AAB; Thu, 6 Jan 2022 14:42:43 +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 EF0552B45E; Thu, 6 Jan 2022 14:42:42 +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 A5BE74BB7C; Thu, 6 Jan 2022 14:42:42 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 206Egdmu027990 for ; Thu, 6 Jan 2022 09:42:39 -0500 Received: by smtp.corp.redhat.com (Postfix) id AEA80492D4A; Thu, 6 Jan 2022 14:42:39 +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 AA325492D1F for ; Thu, 6 Jan 2022 14:42:39 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (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 8582C1064FAE for ; Thu, 6 Jan 2022 14:42:39 +0000 (UTC) Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-133-R23M3D7vMHq3A_4ZoIxPag-1; Thu, 06 Jan 2022 09:42:38 -0500 X-MC-Unique: R23M3D7vMHq3A_4ZoIxPag-1 Received: by mail-qv1-f69.google.com with SMTP id 10-20020a05621420aa00b00413d3d66bbfso1924920qvd.17 for ; Thu, 06 Jan 2022 06:42:38 -0800 (PST) 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:in-reply-to; bh=ziI0c5zpDrfARzHWSXczYyQXV4rhV2uF5H/yu3MCuIA=; b=s4SXMzBK1TgMwpqh4HYkSq4cpxk5zfpgUBZ4TtS83J24Xb/zFL2R4aPKJsNfVlpROz 2xeJ44Xhh2ugJ6TGxGVCtVMCeqsZzfWGnerp7+Fs3Og1oYwfKdBMKBCRBpxtGRi/R0nG gygkume8mL1frhh7BSoEka2q34RK2Q5aKSvz8F5KZDETgn5cz73Z3Mn0Q9WudZ/9SgvN ZwnkrT0ItqPrTjF9Exd5jcZ53zl5pJlVWYbRZoG3Wj64tx/2keetKfPXMdNAhXxsPwXN dsPInKi9R5ianAfpWZ7O8SSm1Rug68uWYBgMncY4p5OVoMhas3/UXBcX1o+V4bQfAvis Pqqw== X-Gm-Message-State: AOAM5327RdeNJjzNu8g9YOsILse9hwmCqhL26XCUfwKL+Xn3ebJ4qkeG rt1nMksbOlWP3vXYHSku+a97/58I7WELfdKo3AYSCprVBoivsHHmm3Tyv8IdpYBu+YBwnaHoN17 zMraTK63GrwNyDw== X-Received: by 2002:a05:620a:bcc:: with SMTP id s12mr40958060qki.440.1641480157683; Thu, 06 Jan 2022 06:42:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJz3FRhHacqx3hvXCbD5dR5jpsBPvBE8m7URZnWLXDzc/nf2wfv2oNDbZeyhxFZfEJhygNyDig== X-Received: by 2002:a05:620a:bcc:: with SMTP id s12mr40958035qki.440.1641480157454; Thu, 06 Jan 2022 06:42:37 -0800 (PST) Received: from localhost (pool-68-160-176-52.bstnma.fios.verizon.net. [68.160.176.52]) by smtp.gmail.com with ESMTPSA id t3sm2038461qtc.7.2022.01.06.06.42.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jan 2022 06:42:37 -0800 (PST) Date: Thu, 6 Jan 2022 09:42:36 -0500 From: Mike Snitzer To: Christoph Hellwig Message-ID: References: <20211215084508.435401-1-hch@lst.de> <20211215084508.435401-5-hch@lst.de> MIME-Version: 1.0 In-Reply-To: <20211215084508.435401-5-hch@lst.de> X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 X-loop: dm-devel@redhat.com Cc: nvdimm@lists.linux.dev, linux-s390@vger.kernel.org, Dave Jiang , Vasily Gorbik , Miklos Szeredi , Vishal Verma , Heiko Carstens , Matthew Wilcox , virtualization@lists.linux-foundation.org, Christian Borntraeger , dm-devel@redhat.com, Vivek Goyal , Stefan Hajnoczi , linux-fsdevel@vger.kernel.org, Dan Williams , Ira Weiny , Alasdair Kergon Subject: Re: [dm-devel] [PATCH 4/4] dax: remove the copy_from_iter and copy_to_iter methods 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.23 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 Wed, Dec 15 2021 at 3:45P -0500, Christoph Hellwig wrote: > These methods indirect the actual DAX read/write path. In the end pmem > uses magic flush and mc safe variants and fuse and dcssblk use plain ones > while device mapper picks redirects to the underlying device. > > Add set_dax_nocache() and set_dax_nomc() APIs to control which copy > routines are used to remove indirect call from the read/write fast path > as well as a lot of boilerplate code. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Vivek Goyal [virtiofs] Late to the game here, but quite a lot of dax DM code removed, thanks! Reviewed-by: Mike Snitzer -- dm-devel mailing list dm-devel@redhat.com https://listman.redhat.com/mailman/listinfo/dm-devel