Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3888531pxb; Tue, 26 Jan 2021 07:16:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJye9fXWfVT+iFb38NhX1pSd+53Ve+fbFfSjGx5j6SuN8lTf4IT2GiB5iFshvxZ43O0x8yAV X-Received: by 2002:a17:906:58c8:: with SMTP id e8mr3752572ejs.475.1611674166684; Tue, 26 Jan 2021 07:16:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611674166; cv=none; d=google.com; s=arc-20160816; b=EbyKhd5X0iNx4zznt1NsQHHmoNoBqRvmz7Kv1qRd3ofVsZDR5GzlXAPzCU7lSZ+sGv 78ZYpD82zGbf7VlE9dkRjUC/P745GMIntd8d6ph70P+Z+nn/HnkqniIRBn3xjjbTJINC nxEycBUbW00YnXTpXxShjQkR8zGpYAmm6vu8BdMO6jEVXuMVWXbO1g/tPPVxBPXdGaOU u7bU8TaLypbBQiyVinn9uLCmeLeC2IsIbXqwFEjLC1P9jTeeoJNrBJ+QPNV8I90NICVK oEWEAJhT29GJ/g+7mAZNiFSlrl5Rv55ifWLUxraEIYxEp6A4Vd8bKt1DnGtXEJ0Zwg2l wt3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=dHYhIJF3/5XU6YJf87js06xMy71uM3p96Vow3DtEX9o=; b=SuAp2M7gP77BR/L0ATZrxyx+jSKnJW66CkhLNfHdINS7oiilj9voaF0OKvPEw9ekQr fgrpAFoU8IrmH861UgycVRVmJIJRObko/LbeYbYIyYPa5xEgvb6r0mvAe/0DKSK2M85e N9OfoTfrv7gak0OlgINny+Z8qy/6MijZJMCcV4uBlCTWeEAuAva8q2tkjPZDngo3SEDG uBDuan8fV6phV/VSYBGGW+xnar8RxtjxOTu2dl6GJPX214DgGEY1ZRGSQjJ6bTRoC3/2 WVdwGboJSfOGWliG8HgIL1jUC0LDaNiJzSsHYvrXVxyqckq+6p2YuP+8JEApsnQr7Uy0 PfLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@toxicpanda-com.20150623.gappssmtp.com header.s=20150623 header.b=WdWUmiJC; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l5si7198114ejd.408.2021.01.26.07.15.41; Tue, 26 Jan 2021 07:16:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@toxicpanda-com.20150623.gappssmtp.com header.s=20150623 header.b=WdWUmiJC; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391686AbhAZPE7 (ORCPT + 99 others); Tue, 26 Jan 2021 10:04:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406061AbhAZPCT (ORCPT ); Tue, 26 Jan 2021 10:02:19 -0500 Received: from mail-qv1-xf2b.google.com (mail-qv1-xf2b.google.com [IPv6:2607:f8b0:4864:20::f2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E391FC0698C0 for ; Tue, 26 Jan 2021 07:01:38 -0800 (PST) Received: by mail-qv1-xf2b.google.com with SMTP id dj6so7955987qvb.1 for ; Tue, 26 Jan 2021 07:01:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toxicpanda-com.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=dHYhIJF3/5XU6YJf87js06xMy71uM3p96Vow3DtEX9o=; b=WdWUmiJC+8UYJRTvh/5UIitEcjh/T2145UmBmoaEWnGQ/iLavq64t6tRlvb//BGAQq 3VCUG37Nar51k+dPiNF3CzPvHK3JYiJMW85otOgYWbeCX8vxizRUbZSXeXuWWIFycBGr fjqPj8+dHcL6KrbrlAi0FZAluWAKHuAaVSWDnScYSZ0p7yKyiHcHTUW3cqp+KZfgaCw9 l/BFmjP/bpcNjnwBO+KhBHjChy/Tbk4sRM98bPFs+rrmeqOQ8iSzM6+HYZ1M0z/ww7C4 WfRtB8FMyXiifrNQasVAdg6AbxCHsU54Unw0rZbDzO556nGQA5ZP7DBCURAC4mHWVVQI +Uxw== 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=dHYhIJF3/5XU6YJf87js06xMy71uM3p96Vow3DtEX9o=; b=FV5NMBXzbCDcQEM1cg/oOLyAUGFD6YG8tZDAMFivt0wKTjRfsy1ExZsnSinZo/Eg0l Ar3Na9106veQV3+gK6DGAFIlOYe9+rIQBwfhgUvGlHVAKTg0H8Ws5wKWOBcwSjSNpkIR rhFwx6BZjwhV0+ftq+4XQ03ESNBXj88VTnI1wNN4P+/VzzBKY/FYTqp91/+nePd20ql2 ZSexKF9JY7FuDxjzLpahTcqu7A9BSrG4VupsYjOYnBJ0MQOpLfJbLr0U1HYF6dSobbaD 8KsQe6Qmj4E6QfNmbak4/rfb61ie//Eer9t3vOdwG8wyzH2Q2KpSOs0ffauE30fqI7tD G8RA== X-Gm-Message-State: AOAM531mTEZEGeWaJLN0EtJ4tODuG4h55ccLvcwQ14EriVmswqDC2LWV j9N6x+MNOn7k0t/FojwnJ3cSyQ== X-Received: by 2002:a0c:fdc4:: with SMTP id g4mr5783824qvs.18.1611673298035; Tue, 26 Jan 2021 07:01:38 -0800 (PST) Received: from [192.168.1.45] (cpe-174-109-172-136.nc.res.rr.com. [174.109.172.136]) by smtp.gmail.com with ESMTPSA id m190sm14220105qkb.42.2021.01.26.07.01.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Jan 2021 07:01:36 -0800 (PST) Subject: Re: [PATCH 02/17] btrfs: use bio_kmalloc in __alloc_device To: Christoph Hellwig , Jens Axboe , Song Liu Cc: Jaegeuk Kim , Chao Yu , Philipp Reisner , Lars Ellenberg , Coly Li , Mike Snitzer , David Sterba , Damien Le Moal , Naohiro Aota , Andrew Morton , Ryusuke Konishi , linux-nilfs@vger.kernel.org, dm-devel@redhat.com, linux-f2fs-devel@lists.sourceforge.net, linux-block@vger.kernel.org, drbd-dev@lists.linbit.com, linux-bcache@vger.kernel.org, linux-raid@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-nfs@vger.kernel.org, linux-mm@kvack.org References: <20210126145247.1964410-1-hch@lst.de> <20210126145247.1964410-3-hch@lst.de> From: Josef Bacik Message-ID: Date: Tue, 26 Jan 2021 10:01:34 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: <20210126145247.1964410-3-hch@lst.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On 1/26/21 9:52 AM, Christoph Hellwig wrote: > Use bio_kmalloc instead of open coding it. > > Signed-off-by: Christoph Hellwig Reviewed-by: Josef Bacik yay I contributed, Josef