Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp942563imm; Sun, 2 Sep 2018 04:37:34 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYoJUOx8Sk2w8klh7/av5ik/EtESIQKLxB3vrjeSbnvHUZcDN66KFDPyRr2RlSjpiqrdPW0 X-Received: by 2002:a63:da56:: with SMTP id l22-v6mr20548638pgj.179.1535888254272; Sun, 02 Sep 2018 04:37:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535888254; cv=none; d=google.com; s=arc-20160816; b=K5T0/QSVYOjxNidA/dYn/35COn5TujrdnN2G6IA3fyRkKBhcEv4xSaHkbcmxugwimJ Oi4hEhpB5WbEDBXSk1Co7wNjrJ7AJo2yjqBb0qAKG0vHC09VVA3UOId8a8x7vUAtmnRw PjYYZVAfSO7BosNeAIrrFWTYP8tOYNdYcu8ya5NSjcqr3KLO4widfZ/xupj1L0iWQySO FTwLQ7jx9qQZrFYaPRZJqlPbYf7vpzyY7VmN5iZ3xMlTvMccFrK5WjWQT8Wd/6ajzcrk uOd/DtzS1NuA8MTnMTIU31vsNfvpNk5b1s21zV1DFvxFS1oPaB2UGurzhZOiFtAHaT2S YSFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :mime-version:dkim-signature:arc-authentication-results; bh=p0Ptqtd1mSMYGJiy5ViH5nGDmksRKJxzK84a5BZhqJ8=; b=rHatfEgHzzxXN0nyPwPPQAa3kww4YZ/Bh/wgiqLIigLbHhNujiVUO5WVlHLMyabaL7 EY6/oYFalWh5B5IPQ3bE4wYZesXQByYt3EjLfqGtChE6QyKn46eDNkMwisLarsLYYUei uxbX0hE2XUX7SbF1JNVLXr5BCrQk/0u79FTrBtAdov+B/TzaSBs9Fz05CW1yoJwCb+iz H74ehUQPhgWwb1Qz3oO+9cTYBpJJUAtVTbkvkQf4e5E3bx0eXpb1l4fFzL4vZ9eFzJhq 2gYG7tg4LQorbFqniFDBUAgaZynnx+C/1kxwx2ccTol+fVJjWJp8jtmK9ef2q5JP36RX ZRCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infinidat-com.20150623.gappssmtp.com header.s=20150623 header.b=Q2Kk7TPu; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 61-v6si7288349plb.324.2018.09.02.04.37.17; Sun, 02 Sep 2018 04:37:34 -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=@infinidat-com.20150623.gappssmtp.com header.s=20150623 header.b=Q2Kk7TPu; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726708AbeIBPvd (ORCPT + 99 others); Sun, 2 Sep 2018 11:51:33 -0400 Received: from mail-oi0-f53.google.com ([209.85.218.53]:38673 "EHLO mail-oi0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726014AbeIBPvd (ORCPT ); Sun, 2 Sep 2018 11:51:33 -0400 Received: by mail-oi0-f53.google.com with SMTP id x197-v6so29155492oix.5 for ; Sun, 02 Sep 2018 04:36:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infinidat-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=p0Ptqtd1mSMYGJiy5ViH5nGDmksRKJxzK84a5BZhqJ8=; b=Q2Kk7TPuEXh6cNGnSPYkPZdWnMnXnauxclsa2Nhg6h62cXrbbJN+r8C8JznGtnLx0s llZhj/CbOncDpiMd5GJWMQsw6mEBXgRYPifoyHdrprIvJbbT4wwUsYTxuaEcRvkG7zpb HQveAScAOMafR2sFHJlbPJXFUC4FbmlwsuFFwNUdJNG7tAsCCIOtDuAUMUUlYXz6jUk+ zth0Qw+cHqmWW0R5SzrzeLI0OhtTS7ebiBJY7yNx66JkIU8s7GZ2RncM0DwooAZxCJTl crGSK11PMartmklb3bCzKOlNsSsBJChKx9q2q6USC9miwrQnv1p8zIvHBGQbyRA4joFE wnWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=p0Ptqtd1mSMYGJiy5ViH5nGDmksRKJxzK84a5BZhqJ8=; b=QqidIkX8IeHiH6K0jJu5JH2+3YzNeeWdxRVWQUufFyN0vuDVNvUAZXbd8lUY0FcwBp NgdyPIHTM2LStzgaJ80JqYBL7vvKZQ5513EyajJ7V8OotTTCqDY1mShxAnedIOY1cboQ hT0NRUOkIKEmQOzMvi1Tq8v7O04NpNcbd6P3H5f3QNuR2k9JrpbCHY/o2QV06tyy8axl 8UbCOxE/IsFs2G2x7QZmimjciUQFZzB3e9EbvEAdnZhlkYxHZnGwbzr/vBKrLYa5aR6d /PyV4P4QCTbDDJLRAmBGmosQ9agRpR48Z8VS32RTrHpvMEgFis4ueKBrZsGagtf953Rn OuIg== X-Gm-Message-State: APzg51ArPDNw6yD7A79rPJ1X3ozAcvmeFi3JaL0IqePdkfIzCkMQDK5q zmWv7reH/OnC/Wb40OB0bcutgKZbCxFqttmiKfAT6QnKCw== X-Received: by 2002:aca:3407:: with SMTP id b7-v6mr14354281oia.345.1535888164496; Sun, 02 Sep 2018 04:36:04 -0700 (PDT) MIME-Version: 1.0 From: Dror Levin Date: Sun, 2 Sep 2018 14:35:53 +0300 Message-ID: Subject: Recent removal of bsg read/write support To: linux-kernel@vger.kernel.org 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 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