Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp946178imm; Sun, 2 Sep 2018 04:46:13 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYQsMHjfGjOxVd1xM6KBhmNaYqV7JJnSYZK/7vie/H6UU1Y5qZOoS8nxRVT6OnUYtpE0tW1 X-Received: by 2002:a63:1021:: with SMTP id f33-v6mr21856528pgl.72.1535888773155; Sun, 02 Sep 2018 04:46:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535888773; cv=none; d=google.com; s=arc-20160816; b=ZqxdTHWjuld5nkwZIW4pFxL3b8GOtwNUeQAbCZat3Nzs+u8/b2YFUga53l9YG5IZxl ijhnk3LFW9d+TlhRkjBCHie+wiLUGivA3szPqoWpPDG9qI7WbvLevev6++OEmD1T51hV hnjLGsCdN6YfhulP/QTU0X32Qdpr1oLGDOYPmqPUm2uQ020Z0M2qBLIiyVu82YZoVcrX HyTh9VQM74LavN/QZBpC5aAWHuBVfklqKfiZrU5BHo9rc5xQ1Rdvcr7SQhboDWw0wj47 tHmah4LcXh/mAK3jLtcmsLhaM1fhxK++NuBqe9kdcHdIl+Ye6/aXpK8dimiXq56a2BB0 7yhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=7aXzL6dVHhRMYiKGcnBKoQLXtOtEa75BiJs5pR99uo0=; b=To57NialEEgUu1/HEKQCbc6X4EP2VssLY5ITKs//WOds7fFYyZ9SIXjbFq2BT2RlFC YEVqAl3oR+xORPvitKnkflOXeCMymuQPWnnmMpSQjA6VCMzHTNip/rP5Nsh3yGoW179O ad1gLjmjhT2/dMxXg8RzX97n3UxgKsgIEwpmQjNMoxbRNMww2GAc1dE8EOeUOk+w5yoR LaHT7NPyF44il2smzSLajBMWU70bS394nw2t/AJXzzxkw9bPxX05Y6fFTF+el6pV+/8Y /8DqBDXERmrwaoTKbHM4W4Sj7oxP3P0Zb9+VhGGA1jTQWsHVVJ0CX/d1zAHfP83KZT3A Q2hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jOqGZd2y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o13-v6si15599280pll.86.2018.09.02.04.45.56; Sun, 02 Sep 2018 04:46:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jOqGZd2y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726909AbeIBQAQ (ORCPT + 99 others); Sun, 2 Sep 2018 12:00:16 -0400 Received: from mail-wr1-f46.google.com ([209.85.221.46]:34806 "EHLO mail-wr1-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726014AbeIBQAP (ORCPT ); Sun, 2 Sep 2018 12:00:15 -0400 Received: by mail-wr1-f46.google.com with SMTP id g33-v6so15142079wrd.1; Sun, 02 Sep 2018 04:44:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7aXzL6dVHhRMYiKGcnBKoQLXtOtEa75BiJs5pR99uo0=; b=jOqGZd2yCltGbq8RafdJuLBj3ihjyTIkSjTl3atBXV7p9NyO/8d5O1YadMElhkhYJf gBr6qaocQYAQ9jrmQRbJFui1VvOCRsPqTQldW6JR8TBF9T3X92dIDmfZPrT9NDHLzj0c FPqx9GUdaLFnVuyLynLh+Fof3PRuimEk9oEASSinR2Xj9+jnSt1hDnJwUe7sEXczdF+d dXXJwlIabWaLC4EnuAVKim9IqvMF2BagTyBcFLW08zIfpSIh2je5YZUxsnWhE2mWE/cO xUOGgtqwRXADJ2wLrQyaDj5dG/EtV2B6c1Agz2pjweSt8jUP20wPMz/fm9mSYcMZSV1K Pj4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7aXzL6dVHhRMYiKGcnBKoQLXtOtEa75BiJs5pR99uo0=; b=K1otySofKUgpuMldoJmEtKlOZY5SGgJ5uaJTNFIiCnWW59w/N1k27ACygeToPY6TtN 7HWH4Umks73QjySAqigp0EUTpNKXGRz3+JhlvCm70s0LuXWCJUA5MVY9/49AcKBu90le OE1CNVuKd0G6JN7f6TBhXLQzWWg1LdR/TCUSmC1Iu7ik1xct/jvc1oThUkWHoYnqSI6i heYRIB7lwQsAqqfA6FukweLbUNTf1xv2kRtc/78oca/spGBfIc8jPGPo2lHL24DyWuod W4jxA3Eksulew9PWLOlOs5Npt+9LyXD6AQlTb2uDUUKpMhf86EfxdQNBQpiO4AFKg1eS ztsw== X-Gm-Message-State: APzg51DMgKl4jHsQ++MKxvho5Bvhjrw1uF1zVGdoHUY3r2MvsPo1sgLU fuf1sAWxdg93NIXbgpsxDnQ0pzUAeAaZv7YUZz4= X-Received: by 2002:adf:a599:: with SMTP id g25-v6mr16188609wrc.88.1535888684185; Sun, 02 Sep 2018 04:44:44 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Richard Weinberger Date: Sun, 2 Sep 2018 13:44:31 +0200 Message-ID: Subject: Re: Recent removal of bsg read/write support To: drorl@infinidat.com Cc: LKML , linux-block@vger.kernel.org, linux-scsi@vger.kernel.org, Linus Torvalds , Christoph Hellwig , Jens Axboe Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CC'ing relevant people. Otherwise your mail might get lost. On Sun, Sep 2, 2018 at 1:37 PM Dror Levin wrote: > > Note: I am not subscribed to LKML so please CC replies to this email. > > Hi, > > We have an internal tool that uses the bsg read/write interface to > issue SCSI commands as part of a test suite for a storage device. > > After recently reading on LWN that this interface is to be removed we > tried porting our code to use sg instead. However, that raises new > issues - mainly getting ENOMEM over iSCSI for unknown reasons. > > Because of this we would like to continue using the bsg interface, > even if some changes are required to meet security concerns. > > Is there any chance for this removal to be reverted? I saw it was > already included in 4.19-rc1. > > Regards, > Dror -- Thanks, //richard