Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3317967pxv; Mon, 26 Jul 2021 01:01:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrGGayeyUerCwVxtAGZoCYYxOX+W8SgJpgtxwqvA40C6ypi94m/JKf3k4PGjuOscIgEBnZ X-Received: by 2002:a17:906:cec1:: with SMTP id si1mr16021409ejb.18.1627286510813; Mon, 26 Jul 2021 01:01:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627286510; cv=none; d=google.com; s=arc-20160816; b=f2SJ7q18cs/W/3mBzO/nBMbnr/gPWFpTptS/F2kMDYGWDV841F1ZnAm929I9ghrtxH FgBPj1pT1j7oeMfl8ZmBI4FpM7hjZkBL1R0SqrcTV5Km0g6fC6o4J0StayjdLSEsQhFk 8W87eZCmGxaJm22jySKaXttJlYKyzAIaur+PYZnyFY8yk2Oc75B795+2ESDgv3mbK8Uq xiiS4RzXuuhEQP9JFf/6/r4kMYZpbsx0l8bS3skVDnezoVwmc6++ml+Tm9g6b01XW3eQ mMn8J1Sj4PSCR2yDqDYofNNwV2dL8RvL+hDNagQnUP3d9Xgwm9JDLa5ejwUQ8fgFknqu rlNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=Bgh7g2bRbIRcIJQ3wHLFOCKDp96I67ZCmk6/nj8zq70=; b=SuTw9GD4v3bl76B3j3gZiwIPFtoaMuB7OWhwSDxFGJycKNJA9JtBHu+6ejl7p1QJnX Jk1di1oXJQy98tIiNKA6vARWmd8rDrFwG5nsfjq5j6ss2N0gHNmsEUYWgYeEqW2uAuua g+0qU3dhTHIt7rccI+8YyfI6KOnsTdq/28UQ4YAaimsTBb+TzBJxdYkTxPLYXkd4QCLi 270e1Xe2hCtqAlhTlBVaeR+RG9dPsGq11J7opTEgWWIVn9YmrndLyZDWUjv4FG0M9ELO vk1IKPaK+PMlOG6L9GJw9cevTycMykN+15Zq1OJ2KBbOXE6APB6ZND1atqqB9FglI+j9 Ding== ARC-Authentication-Results: i=1; mx.google.com; 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 c12si40360059edv.494.2021.07.26.01.01.28; Mon, 26 Jul 2021 01:01:50 -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; 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 S232682AbhGZHRX (ORCPT + 99 others); Mon, 26 Jul 2021 03:17:23 -0400 Received: from mail-lf1-f43.google.com ([209.85.167.43]:42509 "EHLO mail-lf1-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232120AbhGZHRU (ORCPT ); Mon, 26 Jul 2021 03:17:20 -0400 Received: by mail-lf1-f43.google.com with SMTP id u3so13860469lff.9; Mon, 26 Jul 2021 00:57:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Bgh7g2bRbIRcIJQ3wHLFOCKDp96I67ZCmk6/nj8zq70=; b=j3Uey8OhHJEZw8FyJnXZcIOxjlAzEzsRxiGyGtku2UaBccfE7AApeR8GdQSlZT7v7A zTOKuLUdezicdHsnj8Xw37JLESn2yQL1hdTzO+/qnmorKaHLx5GL8VjW8olbGV1daJz+ gjHn37PdTukwpyo8ByDQsFjEKsM/tsBJyzbbTPhhmD6dynhV6RYHzr29oYxwtBrPSolx Eq4UU7D2Txp4wkvtY7OnfXF8aVeoDgd1fJsdJALTDKV7SbbamwMnDUpG1wJPgJIk0R9z iYgFf3JJeyf93ofOvQSPkCWrgF8NdUhknXuLsUOmgjyWKGS8YzwBlDkz0sNI6m6MJUR2 WOUg== X-Gm-Message-State: AOAM5300ouw1EvyPUL6LINxMsaT1KW7i2Cs81sgbyZzOS3D+fUs8JQfI Akn3uzaNS74C4Bu00bhKY4Q= X-Received: by 2002:ac2:44c2:: with SMTP id d2mr12763402lfm.50.1627286267195; Mon, 26 Jul 2021 00:57:47 -0700 (PDT) Received: from [192.168.140.89] ([46.175.31.194]) by smtp.gmail.com with ESMTPSA id y7sm2968725lfg.256.2021.07.26.00.57.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Jul 2021 00:57:46 -0700 (PDT) Subject: Re: [BUG] FLOPPY DRIVER since 5.10.20 To: markh@compro.net, linux-block@vger.kernel.org, Linux-kernel Cc: Jiri Kosina , Mark Hounschell , Greg Kroah-Hartman References: From: Denis Efremov Message-ID: Date: Mon, 26 Jul 2021 10:57:45 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 7/23/21 9:47 PM, Mark Hounschell wrote: > > These 2 incremental patches, patch-5.10.19-20 and patch-5.11.2-3 have broken the user land fd = open("/dev/fd0", (O_RDWR | O_NDELAY)); functionality. Thank you for the report, I'm looking into this. > Since FOREVER before the patch, when using O_NDELAY, one could open the floppy device with no media inserted or even with write protected media without error. "Read-only file system" status is returned only when we actually tried to write to it. We have software still in use today that relies on this functionality. If it's a project with open sources could you please give a link? Regards, Denis