Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp15561imu; Mon, 19 Nov 2018 16:52:48 -0800 (PST) X-Google-Smtp-Source: AFSGD/U8m02bRfuM4YG0svNLJYLyZ1V04bpm6tKLK7VqXpzLafZa1LGdNqklc1xNCE5yf5a9J7lH X-Received: by 2002:a17:902:5a0b:: with SMTP id q11mr7382433pli.186.1542675168463; Mon, 19 Nov 2018 16:52:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542675168; cv=none; d=google.com; s=arc-20160816; b=uj24cllT8otaUsGlWYQjeGf1EIKGuqjx4h1RWshlpPkSwXhEyBEnAQo8GPCIJMdMf2 c2VWB9rAHNlHredpgoYlb73ZoLIYhaknSrTDr0UHAqTu+r0VLEbF7P1MnqXUBDKIEqUz Ty1xadFu7R79Qn5CFpOLEClGbL6ZRiNfHhTO3R6vLqQ+OW3ub4mCIJGTlRJqFtB6Vukb ln6YAvqrIHbqBwWLtdSyomVwh40LfrGoMgNfAHsRUL9ZmcZjeGnwod1/WGzRbKLBRry0 WSUTTdmpZbAt2etIaalETVsBfeKk0ctJA/a5dGEaMAG+opsv0JBr0PnzSEKRUqB3LVFW 0BJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=7CBbdv0ulPnXsLCam4JfS2nGT12Bm868cidHI1ernlM=; b=HQeAl17BV+f+jtuBbIDBNTK1dIm8kWRmYemNw4ztacZ9JxuEtlzHVdAj6NnD90puy5 r60p4hmIfyrtdwREWPD4sW1nemox5fuaEaMeFKXCjOJoRZMzm/PRL8AyHTnJdHN/44Yd +1doFqTJVqvSgZVqaVTwOysTmjmKdT8ZKkS1/PZl/qQh8NgOwwsidRuxfMCZcO5smXm1 5ojxc5fqW8mZB2OzefThbaz3i074xXxE7zhX1axqHsUqocyDxAcqhpRQ3NHFKuw3SqNA 3tA8pexDhZlc2vsuV3BewfqX8H800egZl0xYzCrFq7Hj88ofGr34MIHc4MniCKxWCqr0 qL8A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e37si535454plb.172.2018.11.19.16.52.33; Mon, 19 Nov 2018 16:52:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732426AbeKTLP5 (ORCPT + 99 others); Tue, 20 Nov 2018 06:15:57 -0500 Received: from mail-oi1-f193.google.com ([209.85.167.193]:33705 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726431AbeKTLP4 (ORCPT ); Tue, 20 Nov 2018 06:15:56 -0500 Received: by mail-oi1-f193.google.com with SMTP id c206so182104oib.0; Mon, 19 Nov 2018 16:49:32 -0800 (PST) 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=7CBbdv0ulPnXsLCam4JfS2nGT12Bm868cidHI1ernlM=; b=kZtkbGtXmCjkkF1yrdTZ5qCK1p6//S+oZxJngjlwOlnI/WUZ9giIyD/sphGlAdNeVY XRrtHEUIMfGNEY8KqwecM+m1TrGN0k1JQEnnAydTxIwAvoN/99rJKK1t5UxyTUaOmMJP d5+Ldh1mwj5/0xyp723vK69zQ4ltJc1H4g47qGAiKTZB1nrgR47Eva1eEO4fFHk+cVii 1Ec9uB/sP/Z02n9i/suW5Jrbq/MuOT389/CFzqFX+rAD9Ny+B0naMXc78zSOf+ROjqyX GEjyEO/qQHv+jEXGu2MhBUK+5usIESi/X62/UlT8J7WL047MICym61C70iJuH3YKEs1O OqZA== X-Gm-Message-State: AGRZ1gJRy276X0hyngt29ccJZ59j2lJ3jNV+ECNHEN89ZNjE5nFM4Gzs 66ZQIwYPdBYSYnK7nR+j7kU= X-Received: by 2002:a54:4d8d:: with SMTP id y13-v6mr6226830oix.18.1542674972198; Mon, 19 Nov 2018 16:49:32 -0800 (PST) Received: from ?IPv6:2600:1700:65a0:78e0:514:7862:1503:8e4d? ([2600:1700:65a0:78e0:514:7862:1503:8e4d]) by smtp.gmail.com with ESMTPSA id c78sm3016694oig.30.2018.11.19.16.49.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Nov 2018 16:49:31 -0800 (PST) Subject: Re: [PATCH V10 09/19] block: introduce bio_bvecs() To: Christoph Hellwig , Ming Lei Cc: Jens Axboe , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Dave Chinner , Kent Overstreet , Mike Snitzer , dm-devel@redhat.com, Alexander Viro , linux-fsdevel@vger.kernel.org, Shaohua Li , linux-raid@vger.kernel.org, linux-erofs@lists.ozlabs.org, David Sterba , linux-btrfs@vger.kernel.org, "Darrick J . Wong" , linux-xfs@vger.kernel.org, Gao Xiang , Theodore Ts'o , linux-ext4@vger.kernel.org, Coly Li , linux-bcache@vger.kernel.org, Boaz Harrosh , Bob Peterson , cluster-devel@redhat.com References: <20181115085306.9910-1-ming.lei@redhat.com> <20181115085306.9910-10-ming.lei@redhat.com> <20181116134541.GH3165@lst.de> From: Sagi Grimberg Message-ID: <002fe56b-25e4-573e-c09b-bb12c3e8d25a@grimberg.me> Date: Mon, 19 Nov 2018 16:49:27 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20181116134541.GH3165@lst.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > The only user in your final tree seems to be the loop driver, and > even that one only uses the helper for read/write bios. > > I think something like this would be much simpler in the end: The recently submitted nvme-tcp host driver should also be a user of this. Does it make sense to keep it as a helper then?