[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 19/19] block: pass a block_device and opf to bio_reset
- To: Christoph Hellwig <hch@xxxxxx>, Jens Axboe <axboe@xxxxxxxxx>
- From: Chaitanya Kulkarni <chaitanyak@xxxxxxxxxx>
- Date: Tue, 18 Jan 2022 22:16:06 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7ZSiXN0jlndrXjj1b4wa9kUUdCNmCG91kc9Ols66x+s=; b=isNm0tpIGm0DnVYJLOOROeiZiXWkVVQkEUhRNTjNf6luScX17k9D3d+nneN28a8yWi5pmXBLjwPpU2547P/5Ks+rGLxMQaDUXdj2VcsQ8uAzULUwYnrLnCnPBYyRdW0BoKhij08AbpL7nXap4bMcOpsDjP+w4oEUMRKJ/Aad0TDl5vF7PwLMxKlTGGbAdNcacyNq/D05re2tvDrYRzEs6cR9qFroeFPZSAbc+a6wn8aHRdNH7eOT+tsk+C3y0gZ7Oh4VWg6/1deiA5iQ8EO0O0RbmQiIWi/YIVnxZN/dlDoXy2M0giMV7SEObaWtshdJB0LrWCZzABey0RMLMjIOsg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GPKz00TVbG5PH+sEPTUHdJrm/dJVoyoLjvMlQKQwgdzMvoYaMR6c+xk/+8vX3kk7VEREmAn7gtIsov67EkgEuUGgUs5QOJelavDqMkbUeWFADEhIWUrdVsqh8gPj3xLRdx6fWeFRa9JcGwUSMC/CXi8afw+a6A0lrpKa0tDdfOhSMPzthMwzjpRy6f5deAYrcL7GDPVW+RX/Tl1rLvgSRQIx7pLEVD/sTOZ2dLwvVKYa1dyvUOPz0FGxssjm8/qlZZqgPfmNYxmSE0dd3ZjX26m0X9TjNzUsgAgJYMqWVJIjz/BsxaY3rBCwmTTAstdL5oRbO/gKVV7MgYaPmAIUKw==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com;
- Cc: Pavel Begunkov <asml.silence@xxxxxxxxx>, Mike Snitzer <snitzer@xxxxxxxxxx>, Ryusuke Konishi <konishi.ryusuke@xxxxxxxxx>, Konstantin Komarov <almaz.alexandrovich@xxxxxxxxxxxxxxxxxxxx>, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, "Md . Haris Iqbal" <haris.iqbal@xxxxxxxxx>, Jack Wang <jinpu.wang@xxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxx>, Philipp Reisner <philipp.reisner@xxxxxxxxxx>, Lars Ellenberg <lars.ellenberg@xxxxxxxxxx>, "linux-block@xxxxxxxxxxxxxxx" <linux-block@xxxxxxxxxxxxxxx>, "dm-devel@xxxxxxxxxx" <dm-devel@xxxxxxxxxx>, "linux-fsdevel@xxxxxxxxxxxxxxx" <linux-fsdevel@xxxxxxxxxxxxxxx>, "linux-nfs@xxxxxxxxxxxxxxx" <linux-nfs@xxxxxxxxxxxxxxx>, "linux-nilfs@xxxxxxxxxxxxxxx" <linux-nilfs@xxxxxxxxxxxxxxx>, "ntfs3@xxxxxxxxxxxxxxx" <ntfs3@xxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "drbd-dev@xxxxxxxxxxxxxxxx" <drbd-dev@xxxxxxxxxxxxxxxx>
- Delivery-date: Tue, 18 Jan 2022 22:16:12 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHYDDwO0g1B+gUH7U+xTMvaoQ/ZbqxpWYCA
- Thread-topic: [PATCH 19/19] block: pass a block_device and opf to bio_reset
On 1/17/22 11:19 PM, Christoph Hellwig wrote:
> Pass the block_device that we plan to use this bio for and the
> operation to bio_reset to optimize the assigment. A NULL block_device
> can be passed, both for the passthrough case on a raw request_queue and
> to temporarily avoid refactoring some nasty code.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---
Looks good.
Reviewed-by: Chaitanya Kulkarni <kch@xxxxxxxxxx>
|