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 X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ABFB8C43216 for ; Mon, 16 Aug 2021 16:51:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9540760EFE for ; Mon, 16 Aug 2021 16:51:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230236AbhHPQvw (ORCPT ); Mon, 16 Aug 2021 12:51:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229914AbhHPQvt (ORCPT ); Mon, 16 Aug 2021 12:51:49 -0400 Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FCCEC0612E7 for ; Mon, 16 Aug 2021 09:51:16 -0700 (PDT) Received: by mail-oi1-x229.google.com with SMTP id bf25so18809024oib.10 for ; Mon, 16 Aug 2021 09:51:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=lkHKKxx6E91blWpox1bXj/LIePIAFS6deUe/aal8ts0=; b=2M7PsQmoW0m68H0tIVJvrAROv1UoWp/uy48nnzobRrc03mo4J/lqcPLEQEF1kpJUHw HQBa4gX5fuTsQap76AZD/5O7VV8iT7vusfHhUAUKN78fP0BZSnTbz5bFFrpuEHica0IG vNOnPFWucI7QTNpQA0kxldWWTEaok+vCXtpMF9OBhganoAYTPaU0jWc3pk2ipYfiP3qw KJv7dYM9ZKsD48MEvHmMnjHIhntqyqYB/aLy5wa1Nk3VqVwfnK6sD7DQ+glML2iy7RW5 8bKOFtNVZE+7XBNUsAmXKRXSN7yXiZDUd4eqzd5A6g+KiYc52tKP/BJj3qVXfxUmmZ/Y b/Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=lkHKKxx6E91blWpox1bXj/LIePIAFS6deUe/aal8ts0=; b=gAihrvdruE3/nEQlp4SMom+iFhp0HdxgXfmIqz9g5O4OWLs1CQUXaCG6vde9iEYGoP YJqSUV0zlPgP6Di/MyEvwcZ8RZ6jBNxOYXOLn3v2km7+jOiDHFJcHTx7e3I/GVrdtbcN PJYBgKTuG+w5lAPPKgZ5UR9HNQHI+IAJyJNxL2w1+mqqMffSZYIYJZC0nTBBdRO9D1Ks 2B/zjeVhgiuUqPFP8saYj/RErEbNZo0K4g4DTDHCcizB++TcXjA58pN4Awzhrrnk6BVA DCRpmgDRYQsj7psUOslq8mhdKGC0U/3+EowX0U327bfx5UZeN3rkFg2+xTXGdhxuj2Lx Gd3Q== X-Gm-Message-State: AOAM530ZZQ6J+iv/gsiFA1TPS0S+nV39DqzNCo3+VA0PM+7FRKQkHUlN dqcGfQePoJiACU7QLvDs2yJpVQ== X-Google-Smtp-Source: ABdhPJwPiJZucbHV+gTb5R7I/kfPLblHKKXb+EIub7hcvBOP41sFKxi/Q6epHu0YRXyVvO62JSl/PA== X-Received: by 2002:a54:4619:: with SMTP id p25mr42850oip.5.1629132675579; Mon, 16 Aug 2021 09:51:15 -0700 (PDT) Received: from [192.168.1.30] ([207.135.234.126]) by smtp.gmail.com with ESMTPSA id u18sm2018498ooi.40.2021.08.16.09.51.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Aug 2021 09:51:15 -0700 (PDT) Subject: Re: add a bvec_virt helper To: Christoph Hellwig Cc: Richard Weinberger , Anton Ivanov , Geoff Levand , Ilya Dryomov , Paolo Bonzini , Stefan Hajnoczi , Song Liu , Mike Snitzer , Coly Li , Stefan Haberland , Jan Hoeppner , "Martin K. Petersen" , Phillip Lougher , linux-block@vger.kernel.org, dm-devel@redhat.com, linux-um@lists.infradead.org, ceph-devel@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-raid@vger.kernel.org, linux-bcache@vger.kernel.org, linux-nvme@lists.infradead.org, linux-s390@vger.kernel.org, linux-scsi@vger.kernel.org References: <20210804095634.460779-1-hch@lst.de> From: Jens Axboe Message-ID: <4e321dab-188d-ca0a-a98c-4a587e7b5f27@kernel.dk> Date: Mon, 16 Aug 2021 10:51:13 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210804095634.460779-1-hch@lst.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-raid@vger.kernel.org On 8/4/21 3:56 AM, Christoph Hellwig wrote: > Hi Jens, > > this series adds a bvec_virt helper to return the virtual address of the > data in bvec to replace the open coded calculation, and as a reminder > that generall bio/bvec data can be in high memory unless it is caller > controller or in an architecture specific driver where highmem is > impossible. Applied, thanks. -- Jens Axboe 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 X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 52502C4338F for ; Mon, 16 Aug 2021 16:51:25 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (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 D693B60EFE for ; Mon, 16 Aug 2021 16:51:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D693B60EFE Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 9E7314028A; Mon, 16 Aug 2021 16:51:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oqxogZ1wWGi0; Mon, 16 Aug 2021 16:51:19 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp2.osuosl.org (Postfix) with ESMTPS id 0D3344023B; Mon, 16 Aug 2021 16:51:19 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id D6C24C0010; Mon, 16 Aug 2021 16:51:18 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id 44229C000E for ; Mon, 16 Aug 2021 16:51:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 258B4402C9 for ; Mon, 16 Aug 2021 16:51:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp4.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=kernel-dk.20150623.gappssmtp.com Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QHgUHKDIvEj0 for ; Mon, 16 Aug 2021 16:51:16 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) by smtp4.osuosl.org (Postfix) with ESMTPS id C7DA9402A1 for ; Mon, 16 Aug 2021 16:51:16 +0000 (UTC) Received: by mail-oi1-x230.google.com with SMTP id w6so27508921oiv.11 for ; Mon, 16 Aug 2021 09:51:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=lkHKKxx6E91blWpox1bXj/LIePIAFS6deUe/aal8ts0=; b=2M7PsQmoW0m68H0tIVJvrAROv1UoWp/uy48nnzobRrc03mo4J/lqcPLEQEF1kpJUHw HQBa4gX5fuTsQap76AZD/5O7VV8iT7vusfHhUAUKN78fP0BZSnTbz5bFFrpuEHica0IG vNOnPFWucI7QTNpQA0kxldWWTEaok+vCXtpMF9OBhganoAYTPaU0jWc3pk2ipYfiP3qw KJv7dYM9ZKsD48MEvHmMnjHIhntqyqYB/aLy5wa1Nk3VqVwfnK6sD7DQ+glML2iy7RW5 8bKOFtNVZE+7XBNUsAmXKRXSN7yXiZDUd4eqzd5A6g+KiYc52tKP/BJj3qVXfxUmmZ/Y b/Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=lkHKKxx6E91blWpox1bXj/LIePIAFS6deUe/aal8ts0=; b=EvqDKec//9CUAK0866ebmz/jjGTF7PNYTgPngS49du/BO6ZikASg3VCsHe1Dc5t5VN Y5srA6c03m179sz15k3W2Xq05Ipjzt8pEmCrB721k3feQV8N3QnToIx4fXAXBMx1b7oI olkSa8W1RDwVYVlY97LUKV6VLc0y80Jz5nhdAZT+7FYx7kDASC1kpAwgThclyeri0bAn phNnZFnvA6SzmV2rXko1G+gzAC6Cvfdj9mDz3BX+LOYRFvNWy46dwYKJV/QWIG+4LJTI Y2Utg/IKzF1dxKZzHwsloLr2sB1+ItfF8cMwKIVkzFjARvsHdyHEecUkCvnSThKcKlfZ Tusw== X-Gm-Message-State: AOAM533iG+/H+cDrumnZfNfgd1hG1PU5VnW3Wp4heW5rW4/8nPg+EHzw L36XVffqYMB6+Kz713VI9d6gNw== X-Google-Smtp-Source: ABdhPJwPiJZucbHV+gTb5R7I/kfPLblHKKXb+EIub7hcvBOP41sFKxi/Q6epHu0YRXyVvO62JSl/PA== X-Received: by 2002:a54:4619:: with SMTP id p25mr42850oip.5.1629132675579; Mon, 16 Aug 2021 09:51:15 -0700 (PDT) Received: from [192.168.1.30] ([207.135.234.126]) by smtp.gmail.com with ESMTPSA id u18sm2018498ooi.40.2021.08.16.09.51.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Aug 2021 09:51:15 -0700 (PDT) Subject: Re: add a bvec_virt helper To: Christoph Hellwig References: <20210804095634.460779-1-hch@lst.de> From: Jens Axboe Message-ID: <4e321dab-188d-ca0a-a98c-4a587e7b5f27@kernel.dk> Date: Mon, 16 Aug 2021 10:51:13 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210804095634.460779-1-hch@lst.de> Content-Language: en-US Cc: Jan Hoeppner , Mike Snitzer , linux-nvme@lists.infradead.org, virtualization@lists.linux-foundation.org, Song Liu , dm-devel@redhat.com, Anton Ivanov , linux-s390@vger.kernel.org, linux-scsi@vger.kernel.org, Richard Weinberger , Ilya Dryomov , linux-um@lists.infradead.org, Coly Li , linux-raid@vger.kernel.org, linux-bcache@vger.kernel.org, Stefan Haberland , Stefan Hajnoczi , Paolo Bonzini , ceph-devel@vger.kernel.org, linux-block@vger.kernel.org, "Martin K. Petersen" , Geoff Levand , Phillip Lougher 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 8/4/21 3:56 AM, Christoph Hellwig wrote: > Hi Jens, > > this series adds a bvec_virt helper to return the virtual address of the > data in bvec to replace the open coded calculation, and as a reminder > that generall bio/bvec data can be in high memory unless it is caller > controller or in an architecture specific driver where highmem is > impossible. Applied, thanks. -- Jens Axboe _______________________________________________ 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 X-Spam-Level: X-Spam-Status: No, score=-9.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D3386C43216 for ; Mon, 16 Aug 2021 16:51:39 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 711D960EFF for ; Mon, 16 Aug 2021 16:51:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 711D960EFF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:From:References:Cc:To:Subject:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=zEhdYvtX2MUawRix0DywEIsVPUSSvnM9dFnS8CP+uuo=; b=VUf9/eDQfmXkxJ0AABrx4fQa9z TG9q3LYEanXWwSmElSOB0elmNlh2j7OPa/O6EvV0PjmRUuMnvevBmINrjtHtojUaibgpeqgnVsxKP EoqrbHACCxQPO76XyaQujnkGaxqF5xcu6eS60tK1ZRjSLiqItkfZpWSnI+OodfIw7tbvIWmK4SUW2 EvMZg/YkspAPBnriwi6BOwdiHgxgcZlK+gmM7cTixxpZAvg/E2aZksj+6GXvzWTcmkURm6YxlcEwC 06pzfie2YoEW2kniviFxtnd8B0hqTxyjpp1YcLmsrYm8A5xn65wMUOQrk6aG2jiMaAn2y+a0c8AkP ZgQndSkg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mFfpZ-00HU1F-KY; Mon, 16 Aug 2021 16:51:21 +0000 Received: from mail-oi1-x22d.google.com ([2607:f8b0:4864:20::22d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mFfpV-00HTze-De for linux-nvme@lists.infradead.org; Mon, 16 Aug 2021 16:51:18 +0000 Received: by mail-oi1-x22d.google.com with SMTP id o20so27585366oiw.12 for ; Mon, 16 Aug 2021 09:51:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=lkHKKxx6E91blWpox1bXj/LIePIAFS6deUe/aal8ts0=; b=2M7PsQmoW0m68H0tIVJvrAROv1UoWp/uy48nnzobRrc03mo4J/lqcPLEQEF1kpJUHw HQBa4gX5fuTsQap76AZD/5O7VV8iT7vusfHhUAUKN78fP0BZSnTbz5bFFrpuEHica0IG vNOnPFWucI7QTNpQA0kxldWWTEaok+vCXtpMF9OBhganoAYTPaU0jWc3pk2ipYfiP3qw KJv7dYM9ZKsD48MEvHmMnjHIhntqyqYB/aLy5wa1Nk3VqVwfnK6sD7DQ+glML2iy7RW5 8bKOFtNVZE+7XBNUsAmXKRXSN7yXiZDUd4eqzd5A6g+KiYc52tKP/BJj3qVXfxUmmZ/Y b/Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=lkHKKxx6E91blWpox1bXj/LIePIAFS6deUe/aal8ts0=; b=EHSdXTYbPIYXQz+XHvYa+dCQoNiDrje9JPd4giStUs1ozb6PI65rZ0xABrpCuP0Qg3 8xLghS6qoptRbKgofIYYgM/MAh+u17DRue6ir1Jmu24Oq2NXEsugXRGEhWe6K4D70IJn ca1579ZKdwzvhVE70tLg+V3sSge4lr17ojqOfYDvF8mZmDeihv0xA0BppdG2QxQ28sXt ep8RlsEhkSN1XS0lsijfIWv1FAMVfVILV34+KtlY+9uXz1/d+rnNQb9C1Hlc9Gg5t8aM +h25OOmOmFIvyK8nOLH0+fYKronem6K/1KprmrShjJs+ECgsCg7nP+0dste1HJCWbbBA 7+ZA== X-Gm-Message-State: AOAM533IGpJ6AOeeQFVmZvJaLArYeoEwlq0nm9HTftxqB/JpCVC+iveY ke15EyqtKG95B4CSjsHaXkClrA== X-Google-Smtp-Source: ABdhPJwPiJZucbHV+gTb5R7I/kfPLblHKKXb+EIub7hcvBOP41sFKxi/Q6epHu0YRXyVvO62JSl/PA== X-Received: by 2002:a54:4619:: with SMTP id p25mr42850oip.5.1629132675579; Mon, 16 Aug 2021 09:51:15 -0700 (PDT) Received: from [192.168.1.30] ([207.135.234.126]) by smtp.gmail.com with ESMTPSA id u18sm2018498ooi.40.2021.08.16.09.51.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Aug 2021 09:51:15 -0700 (PDT) Subject: Re: add a bvec_virt helper To: Christoph Hellwig Cc: Richard Weinberger , Anton Ivanov , Geoff Levand , Ilya Dryomov , Paolo Bonzini , Stefan Hajnoczi , Song Liu , Mike Snitzer , Coly Li , Stefan Haberland , Jan Hoeppner , "Martin K. Petersen" , Phillip Lougher , linux-block@vger.kernel.org, dm-devel@redhat.com, linux-um@lists.infradead.org, ceph-devel@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-raid@vger.kernel.org, linux-bcache@vger.kernel.org, linux-nvme@lists.infradead.org, linux-s390@vger.kernel.org, linux-scsi@vger.kernel.org References: <20210804095634.460779-1-hch@lst.de> From: Jens Axboe Message-ID: <4e321dab-188d-ca0a-a98c-4a587e7b5f27@kernel.dk> Date: Mon, 16 Aug 2021 10:51:13 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210804095634.460779-1-hch@lst.de> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210816_095117_540780_44F1B511 X-CRM114-Status: GOOD ( 15.18 ) X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org On 8/4/21 3:56 AM, Christoph Hellwig wrote: > Hi Jens, > > this series adds a bvec_virt helper to return the virtual address of the > data in bvec to replace the open coded calculation, and as a reminder > that generall bio/bvec data can be in high memory unless it is caller > controller or in an architecture specific driver where highmem is > impossible. Applied, thanks. -- Jens Axboe _______________________________________________ Linux-nvme mailing list Linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme 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 X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5BB3EC432BE for ; Mon, 16 Aug 2021 16:52:59 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id A943260F58 for ; Mon, 16 Aug 2021 16:52:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A943260F58 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk 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-586-KB9CbwzvMHKP-WH9BvJc7A-1; Mon, 16 Aug 2021 12:52:56 -0400 X-MC-Unique: KB9CbwzvMHKP-WH9BvJc7A-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BE60A100806D; Mon, 16 Aug 2021 16:52:51 +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 0D04D5C1D5; Mon, 16 Aug 2021 16:52:51 +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 0419A4BB7C; Mon, 16 Aug 2021 16:52:49 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 17GGpLA0031171 for ; Mon, 16 Aug 2021 12:51:22 -0400 Received: by smtp.corp.redhat.com (Postfix) id C37D1202DD7E; Mon, 16 Aug 2021 16:51:21 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast02.extmail.prod.ext.rdu2.redhat.com [10.11.55.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BF1C8200C0ED for ; Mon, 16 Aug 2021 16:51:19 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) (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 1AA3F800159 for ; Mon, 16 Aug 2021 16:51:19 +0000 (UTC) Received: from mail-oi1-f175.google.com (mail-oi1-f175.google.com [209.85.167.175]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-425-_9RCTLxVOfuklt3jiFZP3A-1; Mon, 16 Aug 2021 12:51:16 -0400 X-MC-Unique: _9RCTLxVOfuklt3jiFZP3A-1 Received: by mail-oi1-f175.google.com with SMTP id u25so27596619oiv.5 for ; Mon, 16 Aug 2021 09:51:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=lkHKKxx6E91blWpox1bXj/LIePIAFS6deUe/aal8ts0=; b=juqoCqu+s9MPCKYv4afQ4nm07AVbYnzAJC7IfduR+7RQO0jfZzqzmOorz18cfuiSe1 bsuLOLkTMd7OuJ/Mf5/2TYmxGV3Z0/gCXny2W5B4/7pWg2pWVXtx6b8AbBpW87LcsLAd BjJzs4yol1E4r9xvHfy9f78+zbku8DyMBCn2kCCYSTtVoYF68NB0tdntmdB7CR8xiKe2 d5NEO+jvHSFOLTf7dzCTiYY0PbCTS9BGvv+TWd3Ko/kor+Fb5Eg8SmBnCrFKMQVRjh/j yZy1FVPP9TaThETitNqoYN8F1iLTwnIjhdOve9X7RvfQgmuQVH7UHuaoD7zTH/D/pNYg /4Pw== X-Gm-Message-State: AOAM530Knq+4YuR5WAnuV46Ujr1mwgWkYu8LciubpXnoenWCmwnK7kNp 3UI9DG4x0HiucyM5jc97o6xOgA== X-Google-Smtp-Source: ABdhPJwPiJZucbHV+gTb5R7I/kfPLblHKKXb+EIub7hcvBOP41sFKxi/Q6epHu0YRXyVvO62JSl/PA== X-Received: by 2002:a54:4619:: with SMTP id p25mr42850oip.5.1629132675579; Mon, 16 Aug 2021 09:51:15 -0700 (PDT) Received: from [192.168.1.30] ([207.135.234.126]) by smtp.gmail.com with ESMTPSA id u18sm2018498ooi.40.2021.08.16.09.51.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Aug 2021 09:51:15 -0700 (PDT) To: Christoph Hellwig References: <20210804095634.460779-1-hch@lst.de> From: Jens Axboe Message-ID: <4e321dab-188d-ca0a-a98c-4a587e7b5f27@kernel.dk> Date: Mon, 16 Aug 2021 10:51:13 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210804095634.460779-1-hch@lst.de> 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.78 on 10.11.54.4 X-loop: dm-devel@redhat.com Cc: Jan Hoeppner , Mike Snitzer , linux-nvme@lists.infradead.org, virtualization@lists.linux-foundation.org, Song Liu , dm-devel@redhat.com, Anton Ivanov , linux-s390@vger.kernel.org, linux-scsi@vger.kernel.org, Richard Weinberger , Ilya Dryomov , linux-um@lists.infradead.org, Coly Li , linux-raid@vger.kernel.org, linux-bcache@vger.kernel.org, Stefan Haberland , Stefan Hajnoczi , Paolo Bonzini , ceph-devel@vger.kernel.org, linux-block@vger.kernel.org, "Martin K. Petersen" , Geoff Levand , Phillip Lougher Subject: Re: [dm-devel] add a bvec_virt helper 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.79 on 10.5.11.16 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-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On 8/4/21 3:56 AM, Christoph Hellwig wrote: > Hi Jens, > > this series adds a bvec_virt helper to return the virtual address of the > data in bvec to replace the open coded calculation, and as a reminder > that generall bio/bvec data can be in high memory unless it is caller > controller or in an architecture specific driver where highmem is > impossible. Applied, thanks. -- Jens Axboe -- dm-devel mailing list dm-devel@redhat.com https://listman.redhat.com/mailman/listinfo/dm-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x236.google.com ([2607:f8b0:4864:20::236]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mFfpV-00HTzf-EO for linux-um@lists.infradead.org; Mon, 16 Aug 2021 16:51:19 +0000 Received: by mail-oi1-x236.google.com with SMTP id bd1so20137498oib.3 for ; Mon, 16 Aug 2021 09:51:16 -0700 (PDT) Subject: Re: add a bvec_virt helper References: <20210804095634.460779-1-hch@lst.de> From: Jens Axboe Message-ID: <4e321dab-188d-ca0a-a98c-4a587e7b5f27@kernel.dk> Date: Mon, 16 Aug 2021 10:51:13 -0600 MIME-Version: 1.0 In-Reply-To: <20210804095634.460779-1-hch@lst.de> Content-Language: en-US List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-um" Errors-To: linux-um-bounces+geert=linux-m68k.org@lists.infradead.org To: Christoph Hellwig Cc: Richard Weinberger , Anton Ivanov , Geoff Levand , Ilya Dryomov , Paolo Bonzini , Stefan Hajnoczi , Song Liu , Mike Snitzer , Coly Li , Stefan Haberland , Jan Hoeppner , "Martin K. Petersen" , Phillip Lougher , linux-block@vger.kernel.org, dm-devel@redhat.com, linux-um@lists.infradead.org, ceph-devel@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-raid@vger.kernel.org, linux-bcache@vger.kernel.org, linux-nvme@lists.infradead.org, linux-s390@vger.kernel.org, linux-scsi@vger.kernel.org On 8/4/21 3:56 AM, Christoph Hellwig wrote: > Hi Jens, > > this series adds a bvec_virt helper to return the virtual address of the > data in bvec to replace the open coded calculation, and as a reminder > that generall bio/bvec data can be in high memory unless it is caller > controller or in an architecture specific driver where highmem is > impossible. Applied, thanks. -- Jens Axboe _______________________________________________ linux-um mailing list linux-um@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-um