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 A7173C433F5 for ; Thu, 9 Dec 2021 06:38:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232038AbhLIGmT (ORCPT ); Thu, 9 Dec 2021 01:42:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232047AbhLIGmT (ORCPT ); Thu, 9 Dec 2021 01:42:19 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91AC7C0617A1; Wed, 8 Dec 2021 22:38:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=FsKxqxdl8RTXcrCs1taUxZX0xPB0YfyR2WAofanQv4c=; b=tzpxlQNVdQARHgzFox9EjzDlBK 9P+xRXtYPujeFPWYpeurA29pUG8mUzk/k+CsiWYISNnVPI59NE+rItNPJgjpZg0Xx3JLa0GYYmREE U83TqGcX5d0wkYMpkNMh6n2Yi19PKjrCihpuwh+hSzjDj48DKutqXSiJegcVKMgKIW4oON55iiGuG DucCpb6/XVUxO2AdqunqblMHeGV0z8ZwK355niJbK9AmVZwYlgw+6pevLVykXYDS9I/L6fuXzp97h Gpe9msGNLo8vCUCSYqouP8FiqLWO23mfMta22uYbqShgkg4TL1+KUI4oAPkooooZrdJYp/3kINKRi PSDwAhBg==; Received: from [2001:4bb8:180:a1c8:2d0e:135:af53:41f8] (helo=localhost) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mvD4W-0096hM-8N; Thu, 09 Dec 2021 06:38:29 +0000 From: Christoph Hellwig To: Dan Williams , Vishal Verma , Dave Jiang Cc: Alasdair Kergon , Mike Snitzer , 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: devirtualize kernel access to DAX Date: Thu, 9 Dec 2021 07:38:23 +0100 Message-Id: <20211209063828.18944-1-hch@lst.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-s390@vger.kernel.org Hi Dan, this series cleans up a few loose end ends and then removes the copy_from_iter and copy_to_iter dax_operations methods in favor of straight calls. Diffstat: drivers/dax/bus.c | 3 + drivers/dax/super.c | 40 ++++++++++++++------- drivers/md/dm-linear.c | 20 ---------- drivers/md/dm-log-writes.c | 80 ------------------------------------------ drivers/md/dm-stripe.c | 20 ---------- drivers/md/dm.c | 52 --------------------------- drivers/nvdimm/pmem.c | 27 +------------- drivers/s390/block/dcssblk.c | 18 +-------- fs/dax.c | 5 -- fs/fuse/virtio_fs.c | 20 +--------- include/linux/dax.h | 28 +++----------- include/linux/device-mapper.h | 4 -- include/linux/uio.h | 20 ---------- 13 files changed, 44 insertions(+), 293 deletions(-)