Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp1711446pxt; Sat, 7 Aug 2021 22:15:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx81qgVaANI1gBlvPwYBb4we1K81LD3C8YmvbreHB/V7ddc34A/v3ElQiospHffvBJ9cv3l X-Received: by 2002:a5d:8d0d:: with SMTP id p13mr464003ioj.129.1628399757406; Sat, 07 Aug 2021 22:15:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628399757; cv=none; d=google.com; s=arc-20160816; b=uFRvfxzdNTCd4R8kp43jTEH2ugVRaKwAAq/YR459a9+ZA+A45moqetfM5TGn8l0bL/ aVxnLH0jnUDNjOj6bwWDujV8L8/sGSZ8vYVsII9AOEMGZq7EFoy5zu8KFIPnZQdsyS41 jW2qAvcEgfzTouuNrRmG4QPqLb8rExQ9kcy/8fYfWQg3Syxg2QhzU0L/oWoSdlUfaTIh ynQ4jqDPeASjcJDZbBoYigEdYBTL/Nt5Sy4EYQ/L67V9wDyNEnnJZj5hAfLrKUYz3ZL3 bz0y015wx96h1xOMmlPef1PdcLV0iGDHYlWN4rdsi8R3yg5w1G2NcScD3Em6V4drXgqT kb5w== 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; bh=yfhNrvY1zwAXlFXihLcR6UTq9WlRx9fKOip5zMsSOZo=; b=jWuv9UApRSbl2ZE8MPaTJJ+i+7ez2CN8G9pb8TQ0izyOCxAHI53vvo16vu+HOLXn0z bTedgF0JqooiJ7WXLEwABUthpwoe5WJ9YtLny+92uHoE4c5048fzqvhg9MiWQ4vXpfXF 39xa8KwtvW+fvEVnDJL39KE86IKVJfiehZupgdh+G+PwTXHcY0uKxp98Fx+mY+0JtnNP uyHtuEzU81W0kSXfPCT3ekTqxESG6Cs9CzbCFHRIivG4rWr+71P90uu1aW4x8mjrzG9W lyP0p15Xr7f51rPhubQzhrV3x4cCtxPiAj2JWkigMa845wmZPXZyD6LtjvZy+HVGcWl/ CUjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=BXaZWx+j; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b16si12589827ior.73.2021.08.07.22.15.46; Sat, 07 Aug 2021 22:15:57 -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=@linuxfoundation.org header.s=korg header.b=BXaZWx+j; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229613AbhHHFPX (ORCPT + 99 others); Sun, 8 Aug 2021 01:15:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:36878 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229473AbhHHFPV (ORCPT ); Sun, 8 Aug 2021 01:15:21 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BD2ED60F38; Sun, 8 Aug 2021 05:15:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1628399703; bh=r409KvyNgLbyfYI1tePdR3Fn6jngjHs4GuZ52QDGYW0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BXaZWx+jEEFDknjNvDH/ZpiTRbEA+YwNxqFY6NSHsrrXBX26RK2hiL6lej1aHNrBm U/tyz+1uA3ldYaa5lHZ945pr1Anh+tqG/mGG0hdP156kvDb0CQjPjQlxOcOB6LD6Sv Ogm4uQtfoY8H9qTf40aoJS4CD0PpeCVeZdzY8Kls= Date: Sun, 8 Aug 2021 07:14:52 +0200 From: Greg Kroah-Hartman To: Long Li Cc: 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: <1628146812-29798-1-git-send-email-longli@linuxonhyperv.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-kernel@vger.kernel.org On Sat, Aug 07, 2021 at 06:29:06PM +0000, Long Li wrote: > > I still think this "model" is totally broken and wrong overall. Again, you are > > creating a custom "block" layer with a character device, forcing all userspace > > programs to use a custom library (where is it at?) just to get their data. > > The Azure Blob library (with source code) is available in the following languages: > Java: https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/storage/azure-storage-blob > JavaScript: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob > Python: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob > Go: https://github.com/Azure/azure-storage-blob-go > .NET: https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/storage/Azure.Storage.Blobs > PHP: https://github.com/Azure/azure-storage-php/tree/master/azure-storage-blob > Ruby: https://github.com/azure/azure-storage-ruby/tree/master/blob > C++: https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/storage#azure-storage-client-library-for-c And why wasn't this linked to in the changelog here? In looking at the C code above, where is the interaction with this Linux driver? I can't seem to find it... > > There's a reason the POSIX model is there, why are you all ignoring it? > > The Azure Blob APIs are not designed to be POSIX compatible. This driver is used > to accelerate Blob access for a Blob client running in an Azure VM. It doesn't attempt > to modify the Blob APIs. Changing the Blob APIs will break the existing Blob clients. There are no Blob clients today on Linux given that this code is not merged into the kernel yet, so there is nothing to "break". I still don't see a good reason why this can't just be a block device, or a filesystem interface and why you need to make this a custom character device ioctl. thanks, greg k-h