[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 18/19] block: pass a block_device and opf to bio_init
- To: Christoph Hellwig <hch@xxxxxx>, Jens Axboe <axboe@xxxxxxxxx>
- From: Chaitanya Kulkarni <chaitanyak@xxxxxxxxxx>
- Date: Tue, 18 Jan 2022 22:15:35 +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=7+NRM5dbEf/ywcja/WF6bJ0xMCvzgQeV/oka59TCa2E=; b=DLZBaT/clReMU9AuSXZvUpqJj/O4YFr74DSo6G3OBGS9LvS5cSZQYQGlqyhyDFg5tuIaS5lMn6rjyD8lTTmDwMCkVLBUu4DdlMdHvOjXVXt5ZmS8hqqxt/eWKmKkx0QT7XttZUfZ3BdKTi/P7Yn9+GcvDxgaGk7Ru8hl5fEr4DXhcqZVVH5CJj+ZOla1uXgw6G0GjdUgb+pZmFFC8uQ2l9GVMM8M732BEuQRaplgkT+DgfvNrPNfXvuezSW0ML7OZdm1BTj7CEWaV5T3yXz3ba/AB0WoR5BTyxeKIzyGcLZzAko4u6G5TZYYK+fy/JJ2GckJ/HtS4WuEviQMZDvmKg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Mt2QnJgZ2pgX4Ce6c8snCh/DgpmHXZNqY4RM5OySSUDxkGt+UzESOZFx5Y8RnXnoVwXC+jM9VxNTr8v7eWTN9eu0a1sKybNu1CRhfcrgmsjr9aOxbvvcgGA0mNSvJTn0GtYEeWXdkn24dbtxALTzboUYcXyZVRU2o/+n3xEs9ll6bvl890eJj5uLG6I5xgTDb/hDHV9wvQk3d7APLwKjc+ppbdaLOLxxvUh8V7nMum2uHfvcBrixPRl509Od7qaNoxGYxgxKlcLuXhW6ur7I0q8/KRFPogW+QjPeSbpHqnPPuijJrWEEYtQkhPrjFVguBT4t5baM/8fyNLFmsNhcLw==
- 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:15:45 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHYDDwP0FUTxCXhd0WAkIDGBDECvqxpWVyA
- Thread-topic: [PATCH 18/19] block: pass a block_device and opf to bio_init
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_init to optimize the assigment. A NULL block_device
's/assigment/assignment' ?
> 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>
|