[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240417163848.GA8345@lst.de>
Date: Wed, 17 Apr 2024 18:38:48 +0200
From: Christoph Hellwig <hch@....de>
To: Lennart Poettering <mzxreary@...inter.de>
Cc: Christoph Hellwig <hch@....de>, Keith Busch <kbusch@...nel.org>,
Linux regressions mailing list <regressions@...ts.linux.dev>,
linux-block@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
Jens Axboe <axboe@...nel.dk>
Subject: Re: API break, sysfs "capability" file
On Wed, Apr 17, 2024 at 06:26:57PM +0200, Lennart Poettering wrote:
> Hmm, so you want to generically allow toggling the flag from
> userspace? I mean that'd be fine with me, but it would feel a bit
> weird if you let's say have a partition block device, where you'd
> toggle this, and then you have two levels of part scanning, and then
> you toggle it on one of the part block devices there and so on, and so
> on. Could that work at all with the major/minor allocation stuff?
Oh, no - I do not want to allow toggling it on the device for
partitions. That would always fail.
> But let's say you add such a user-controlled thing, if you'd add that
> I figure you really also need a way to query the current state, right?
> which is basically what I originally was looking for...
Yes.
Powered by blists - more mailing lists