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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 55D25C433F5 for ; Mon, 11 Oct 2021 17:58:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2814C60F14 for ; Mon, 11 Oct 2021 17:58:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231784AbhJKSAo (ORCPT ); Mon, 11 Oct 2021 14:00:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:41286 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231771AbhJKSAn (ORCPT ); Mon, 11 Oct 2021 14:00:43 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CF7F760C49; Mon, 11 Oct 2021 17:58:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1633975123; bh=rs3EhQu/IN/0OssK+/JCwtTgQL5fH+Kl8haINYwQDm0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=j5TndyVcgOQ3ztEg3QFjvkUdC78SxenUDcwWYQu995ccPf0Y1IES0pSMXmbAv++Sd a+EZ2ZvyJ5/mijMxHsI2vYL5cKMZ2C1sUIm76VYMoufWrPRX8ewcjYzcA854zrxNnk +0Th0v195jkgt3H4eBkAv/5T0QO8IOwjmHYncfoQ= Date: Mon, 11 Oct 2021 19:58:38 +0200 From: Greg Kroah-Hartman To: Long Li Cc: vkuznets , Bart Van Assche , "longli@linuxonhyperv.com" , "linux-block@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-hyperv@vger.kernel.org" , Jonathan Corbet , KY Srinivasan , Haiyang Zhang , Stephen Hemminger , Wei Liu , Dexuan Cui , Bjorn Andersson , Hans de Goede , "Williams, Dan J" , Maximilian Luz , Mike Rapoport , Ben Widawsky , Jiri Slaby , Andra Paraschiv , Siddharth Gupta , Hannes Reinecke Subject: Re: [Patch v5 0/3] Introduce a driver to support host accelerated access to Microsoft Azure Blob for Azure VM Message-ID: References: <87fstb3h6h.fsf@vitty.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-hyperv@vger.kernel.org On Mon, Oct 11, 2021 at 05:46:48PM +0000, Long Li wrote: > > Subject: Re: [Patch v5 0/3] Introduce a driver to support host accelerated access > > to Microsoft Azure Blob for Azure VM > > > > Greg Kroah-Hartman writes: > > > > ... > > > > > > Not to mention the whole crazy idea of "let's implement our REST api > > > that used to go over a network connection over an ioctl instead!" > > > That's the main problem that you need to push back on here. > > > > > > What is forcing you to put all of this into the kernel in the first > > > place? What's wrong with the userspace network connection/protocol > > > that you have today? > > > > > > Does this mean that we now have to implement all REST apis that people > > > dream up as ioctl interfaces over a hyperv transport? That would be > > > insane. > > > > As far as I understand, the purpose of the driver is to replace a "slow" > > network connection to API endpoint with a "fast" transport over Vmbus. So > > what if instead of implementing this new driver we just use Hyper-V Vsock and > > move API endpoint to the host? > > Hi Vitaly, > > We looked at Hyper-V Vsock when designing this driver. The problem is that the Hyper-V device model of Vsock can't support the data throughput and scale needed for Blobs. Vsock is mostly used for management tasks. > > The usage of Blob in Azure justifies an dedicated VMBUS channel (and sub-channels) for a new VSP/VSC driver. Why not just fix the vsock code to handle data better? That way all users of it would benefit. thanks, greg k-h