Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4673592pxv; Tue, 20 Jul 2021 09:03:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRw4rZ4XkiGMVxplu5zwXbHz/I3GQm79rKnxPOmK4cmMGdOYRSyALsuRGpPOTa6M/0LO8q X-Received: by 2002:a05:6638:2493:: with SMTP id x19mr14307728jat.102.1626797033919; Tue, 20 Jul 2021 09:03:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626797033; cv=none; d=google.com; s=arc-20160816; b=uLiXQ3TAPt6UWLj3X3aPxK1OC7WLhbFQWEtNm3wdOy5TTmpN/2OgdL/J9uPzkWz2uf fvnSYFKf+DX959KEVWQDBxUWr+GjOP8ajhht8i6dnKQCnfeP5CJ+L3Ksyuw+442i0t1q VNtlNHvQ1kCfd1lHVSO8MZK7ysNACupEkwO0L/VOW05Jt06ntcbsgil1rxHl/vlilaGD WxpU80ARxHMSX5kpDfyxGvxrmwy+k0GRL/zK7iIShC0YECr678ss+E56JIJj9GoKksR8 eTgXX+c883gTPbxx6ijRZXKqbprTatx+WhblvcNUjQC+gLEcpya3ytRHkuCXcx1BIF3m Rncw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=Qfk4XxlZp3BZHIg5ekCwZvswEk9TOwHQbLRiTDcGFk8=; b=KiPnHsyEGpohQPZlkPlxK9b+zwy1R6BzFP3bpYlnyjIdJ7wL3IZMiwM7VFCTIlUiKl BNKY2UvxtFGDgezmW0N2AjFZfCwai6j0jJnMVstojrgAVXwdlK1Dvio0U0y4uZrXCsfu EqiT6TSi3gQiwQ3KsOs51B6WZiJzDVVl+aMN52PqnUFY5igsVfSYwf17+bgsggIkKEZ8 olNWAMln2bnPogZdVZqFeoGWAL0vOplN221JVq2cqi95xfEr/aIRIqLxJ4+Cd7oGj6WX YPf7G6anbWqnxBlFGywGyw7G6MJdS3EDdfJiAo+pnjHijHbvH3iiD5pOz38hXGqpeInm 4cKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kroah.com header.s=fm1 header.b=gi7Uarf6; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=tQ4pKYsM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 d1si15032068jak.77.2021.07.20.09.03.40; Tue, 20 Jul 2021 09:03:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@kroah.com header.s=fm1 header.b=gi7Uarf6; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=tQ4pKYsM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239965AbhGTPSd (ORCPT + 99 others); Tue, 20 Jul 2021 11:18:33 -0400 Received: from new3-smtp.messagingengine.com ([66.111.4.229]:50871 "EHLO new3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235764AbhGTPNz (ORCPT ); Tue, 20 Jul 2021 11:13:55 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id D673458170D; Tue, 20 Jul 2021 11:54:26 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 20 Jul 2021 11:54:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=Qfk4XxlZp3BZHIg5ekCwZvswEk9 TOwHQbLRiTDcGFk8=; b=gi7Uarf6v97Nsw4SjCc8UtxORYn2ooJf7OH1qK47+Po M9u/fwNKgQzDJnNw7KBT0BAATuDws4o1CxKd4Upj43AX8+vAF3wTKBW8933IuHuT jmqqZvdZBDt6czVNfJwhfBPGo99US0F/pumT7x3oxRuJDIEae9ZrbGVNUZNUKizt XU2lQ+Y8JpkOCxivwJZ3bgV83sl7qjrAroXX76eqNqW+Tfu1srr1xBQLw1CMYuqd mvhi0O9CZ8GrTmLWPdFH55Big/IZY1m8sle0L7C3HkakLZCGDTp6vs8dPvobkk6t 1cnO9z/rZr66Miy07rBl+3BiNK+QBU2ctn2F6rOSm+g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=Qfk4Xx lZp3BZHIg5ekCwZvswEk9TOwHQbLRiTDcGFk8=; b=tQ4pKYsMDxjgJgz1/c/e/e iXIEaG4tktGsB6/9R+/xJGPlaJse6HenITryRsn3AQSsmCLmBm0MkZ5Gcna8uPDn NajujkXmGCGh8D0ruXNh6mNPchRoRcCrvYqqCTSbI89qX1y1FsVVi0h9YJ+/KbwB 2fHEC+YGczKW6jU2/chVTD3TpCUNw/O+ZWNXupY6wZyJreMZu9xg3v8fgKR+2dmi KPiO2swyi03NqJ/dOzIc/WqxWyrGWz1u3KSAJm7pWOD28coR67PPMOY/3KVW8t+1 NAIfXlMeabRYUCAXmGyAEvacFavnzZxbebhgLMNZFNmH5hba1HVh0bYUAEpy1BZg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrfedvgdelvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepifhrvghgucfm jfcuoehgrhgvgheskhhrohgrhhdrtghomheqnecuggftrfgrthhtvghrnhepgfevteeite etkeeiueejgedtieffueetgffgfeeigeetgeektdekgeekteduiedunecuffhomhgrihhn pehmihgtrhhoshhofhhtrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomhepghhrvghgsehkrhhorghhrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 20 Jul 2021 11:54:26 -0400 (EDT) Date: Tue, 20 Jul 2021 17:54:23 +0200 From: Greg KH To: longli@linuxonhyperv.com Cc: linux-fs@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org, Long Li Subject: Re: [Patch v4 0/3] Introduce a driver to support host accelerated access to Microsoft Azure Blob Message-ID: References: <1626751866-15765-1-git-send-email-longli@linuxonhyperv.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1626751866-15765-1-git-send-email-longli@linuxonhyperv.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 19, 2021 at 08:31:03PM -0700, longli@linuxonhyperv.com wrote: > From: Long Li > > Microsoft Azure Blob storage service exposes a REST API to applications > for data access. > (https://docs.microsoft.com/en-us/rest/api/storageservices/blob-service-rest-api) > > This patchset implements a VSC (Virtualization Service Consumer) that > communicates with a VSP (Virtualization Service Provider) on the Hyper-V > host to execute Blob storage access via native network stack on the host. > This VSC doesn't implement the semantics of REST API. Those are implemented > in user-space. The VSC provides a fast data path to VSP. > > Answers to some previous questions discussing the driver: > > Q: Why this driver doesn't use the block layer > > A: The Azure Blob is based on a model of object oriented storage. The > storage object is not modeled in block sectors. While it's possible to > present the storage object as a block device (assuming it makes sense to > fake all the block device attributes), we lose the ability to express > functionality that are defined in the REST API. What "REST API"? Why doesn't object oriented storage map to a file handle to read from? No need to mess with "blocks", why would you care about them? And again, you loose all caching, this thing has got to be really slow, why add a slow storage interface? What workload requires this type of slow block storage? > Q: You also just abandoned the POSIX model and forced people to use a > random-custom-library just to access their storage devices, breaking all > existing programs in the world? > > A: The existing Blob applications access storage via HTTP (REST API). They > don't use POSIX interface. The interface for Azure Blob is not designed > on POSIX. I do not see a HTTP interface here, what does that have to do with the kernel? I see a single ioctl interface, that's all. > Q: What programs today use this new API? > > A: Currently none is released. But per above, there are also none using > POSIX. Great, so no one uses this, so who is asking for and requiring this thing? What about just doing it all from userspace using FUSE? Why does this HAVE to be a kernel driver? thanks, greg k-h