Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp1383340rwl; Thu, 5 Jan 2023 12:46:49 -0800 (PST) X-Google-Smtp-Source: AMrXdXsE18z0ogZcVzwIXTm5MSkeF8TqWnUjePgM6MTXnMr9QWp+61rdrn+jiNOiUq09hfgqa6UK X-Received: by 2002:a17:906:850c:b0:7c0:f4f8:582a with SMTP id i12-20020a170906850c00b007c0f4f8582amr48895605ejx.52.1672951609412; Thu, 05 Jan 2023 12:46:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672951609; cv=none; d=google.com; s=arc-20160816; b=tCPIqYpWYNZyYVlQqzHrR5K9gmSJJRGAdZTRfXjV6oejZPUDBuKQrKcgsEYoahxJiA ud9vnRRX14x7WRK11gglMtcy+pJGJnSiWz1uhQyluV9EuJCrjMmVC5cdvrwVxFcwGkFg jYNW3j5WvLn2A5w54sQmwTqoB6TREKwzPwCgMyqGJc7oPXXOluSt/1xmkZ/wy7426TGs o2Eymx5zVjIx3wUeg98mE4xJmsEWWtQfuh7LaZpCIYkHxb8NiFju8B4RDJXNK7PPz8rj gJH31rvLxsIOANMcZxA5XxeJOLpu40S7J8txxyERdOIuvvG5JUIBnyHdvimxRcQddJLr PYTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=oWK2+LLnEEkZxuCUep1sREpc2yMexGKInZH9UGn1wUs=; b=RZTQQzd3jv2a851H+qNwx4tJdjv0YTi92ZW0VaPm8+EsJuBEp2KutFIqJkZRx4mhYu 1nPvsNYirprpmCXz7e4zYjR/KyFRi0HtV0EGTs2tUOgngbHaDysCFeTk52vIfMnWWQs/ EOkvyFIu+YflxORf8Zu7ts5JBuKzQw2A3u5Hb8wnpR6cJNWanco8bOXaZpm5Z2lPPX/N SMm3qeMDXPYmHpXBwtK37fgyemAC8RySWO5fd++q2AF3pV91bOlOh/MVnQ4osLiyVzum RcHsPhfWhTvmhLGUglBis/nnBFaapbzlGi2+VnCrk0c5DstlVNuKsY4mtTJBh0pazN6j aiDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20210112.gappssmtp.com header.s=20210112 header.b=keFu6AWq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bb14-20020a1709070a0e00b007bc7d5c73ecsi34646200ejc.336.2023.01.05.12.46.35; Thu, 05 Jan 2023 12:46:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20210112.gappssmtp.com header.s=20210112 header.b=keFu6AWq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235020AbjAEUdT (ORCPT + 55 others); Thu, 5 Jan 2023 15:33:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232222AbjAEUdR (ORCPT ); Thu, 5 Jan 2023 15:33:17 -0500 Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4790B63D2A for ; Thu, 5 Jan 2023 12:33:13 -0800 (PST) Received: by mail-io1-xd2f.google.com with SMTP id r72so20121643iod.5 for ; Thu, 05 Jan 2023 12:33:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=oWK2+LLnEEkZxuCUep1sREpc2yMexGKInZH9UGn1wUs=; b=keFu6AWqGbKqmjzWAPYIGm7rqVuxQmO3o/WPZxlSAQgQ86slUKhtRuvKgwzCNUjRLx 7JYR1gYiEde27yz3Kupun0Md0YTOeIidhYmbDeLb2RiLUGXwotuYlWseCFNewHNTrpE0 +MHte3JRFEuVIW9IAlbF8IO3xSt762/bpfrnHPkXBl1sQ9td4qVHntmOF7ZbNkrdta5z vSEv2EIB8ufpKwOxvHPHjv/cPlWogXctThbKc7muVHEsZ+hGrlpLx+ss/u5duSQ8nUVC B48Y5jDSK4XMKJolIyeMCnKF3gPoR/jqXjoe5v/FtYlaerD1LG/AILNKQI6CPGv59YoX 5KXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=oWK2+LLnEEkZxuCUep1sREpc2yMexGKInZH9UGn1wUs=; b=A0abrT/fNi0aauh/4YQMHYlcn5c+hB6S/wicjpqv60j6riV/vA5vh63xJEIB6U/b5k 8UG/yAXPN9jRhDyBH91AKFm5Q4AKi4MNa9UmDKzmQKE+cZ7pPZfLAlYqHwLDvWU6qV/k T6HlgsuhpPHaEDus6Pf7BT0JNSmyooH7++dZgR+QOZuXO7n/e7cuuSZDnrds5g2n1JbT qe7Rzi+TlFAE7OyPimkcB2vUVhZH4W0eSV2oxnHM77qwfLXHggoWCRsAjfrhAkV3FlMK VqB31AtmUWLoVXdfBH/mSXyvTo7hdNnCs8JAgKdRHh9ghJU/Y/qXMdDHOUz35NjLcSJh rRGA== X-Gm-Message-State: AFqh2kodXzpe1/zBm0H8j+sJH3tOs8vaA2mTKNTTOnoSnOqt/TPhdX/T L/gdnLJCs0EEQ5pWBmpuT5AleQ== X-Received: by 2002:a05:6602:2439:b0:6dd:7096:d9bc with SMTP id g25-20020a056602243900b006dd7096d9bcmr7038389iob.2.1672950793244; Thu, 05 Jan 2023 12:33:13 -0800 (PST) Received: from [192.168.1.94] ([207.135.234.126]) by smtp.gmail.com with ESMTPSA id l15-20020a0566022dcf00b006eba8966048sm13520336iow.54.2023.01.05.12.33.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Jan 2023 12:33:12 -0800 (PST) Message-ID: <182bc0ee-51e3-b8c4-59f7-dcf702865a95@kernel.dk> Date: Thu, 5 Jan 2023 13:33:11 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: Linux 6.2-rc1 Content-Language: en-US To: Linus Torvalds Cc: =?UTF-8?Q?Pali_Roh=c3=a1r?= , Christoph Hellwig , Greg Kroah-Hartman , Linux Kernel Mailing List References: <20230104190115.ceglfefco475ev6c@pali> <20230104205640.o2uy2jk4v6yfm4w3@pali> <90eb90da-2679-cac0-979d-6ba0cc8ccbb8@kernel.dk> <20230105174210.jbjoqelllcrd57q6@pali> <58d3649f-3c8c-8b12-1930-f06f59837ad5@kernel.dk> <1933bddd-42d7-d92b-974f-f26c46c01547@kernel.dk> From: Jens Axboe In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/5/23 1:03?PM, Linus Torvalds wrote: > On Thu, Jan 5, 2023 at 11:40 AM Jens Axboe wrote: >> >> Or even implement it in UDF itself somehow. But yes, ideally we'd punt all >> of this data gathering to userspace and just leave the trivial init/stop >> atapi/scsi commands to cdrom/sr. > > I wonder how much of that could be done by just having a different > elevator algorithm for cdrw devices.. > > Anyway, realistically I suspect the real answer is that "nobody cares > enough any more". I suspect most people haven't used RW optical media > in over a decade, and we're talking about an increasingly dwindling > niche use. While there's some overlap with IO scheduling, I don't think that'd be a good layer to solve it at. And since this isn't exactly up-and-coming technology that we expect to proliferate, that makes me especially hesitant to invest any time in that particular direction. I still think that doing something with ublk would be the best approach, and push the data gathering and fixed sized write bits in userspace. That would still allow arbitrary filesystem usage for these kinds of devices. > Optical media may still make sense for backup, but probably not the > "filesystem" kind. I don't think it ever made sense, except from a convenience point of view. And that's most likely what drove the adoption there. It is way easier to mount a cdrw read/write and copy files there, even if it's slower than burning an iso image... > So nobody is going to be motivated to do any development in this area, > and the best we can do is probably to just keep it limping along. Indeed... > Now, it's a bit sad how pktcdvd is the only user of that 'struct > block_device_operations' devnode thing, and I liked how that went away > after the removal of this driver. > > And I'm not sure why pktcdvd needs it, everybody else seems to be > happy with gendisk->disk_name. Let me look into that, I actually don't know. Would be nice if we could fix that up and re-instate that particular patch. > There's probably other cruft in pktcdvd that could be removed without > removing the whole driver, but I do get the feeling that it's just > less pain to keep the status quo, and that there isn't really much > motivation for anybody to do anything else. I'm reluctant to touch it outside of changes that are driven by core changes, and of course the motivation to remove it was driven by not wanting to do that either. Any kind of re-architecting of how it works I would not advocate for. It supposedly works well enough that none of the (few) users are reporting issues with it, best to just let it remain like that imho. -- Jens Axboe