On Fri, 27 May 2022 07:58:06 +0200, Christoph Hellwig wrote: > Historically we did distinguish between a flag that surpressed partition > scanning, and a combinations of the minors variable and another flag if > any partitions were supported. This was generally confusing and doesn't > make much sense, but some corner case uses of the loop driver actually > do want to support manually added partitions on a device that does not > actively scan for partitions. To make things worsee the loop driver > also wants to dynamically toggle the scanning for partitions on a live > gendisk, which makes the disk->flags updates non-atomic. > > [...] Applied, thanks! [1/1] block, loop: support partitions without scanning commit: b9684a71fca793213378dd410cd11675d973eaa1 Best regards, -- Jens Axboe