Christoph Hellwig a4217c6740 block: add a partscan sysfs attribute for disks
Userspace had been unknowingly relying on a non-stable interface of
kernel internals to determine if partition scanning is enabled for a
given disk. Provide a stable interface for this purpose instead.

Cc: stable@vger.kernel.org # 6.3+
Depends-on: 140ce28dd3be ("block: add a disk_has_partscan helper")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/linux-block/ZhQJf8mzq_wipkBH@gardel-login/
Link: https://lore.kernel.org/r/20240502130033.1958492-3-hch@lst.de
[axboe: add links and commit message from Keith]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-05-03 09:00:07 -06:00
..
2024-03-18 10:32:44 +01:00
2024-04-17 08:44:03 -06:00
2024-03-11 11:43:44 -07:00
2023-06-26 12:47:20 -07:00
2024-03-11 11:43:44 -07:00
2023-06-30 11:57:07 -07:00
2024-03-11 11:43:44 -07:00
2024-03-11 11:43:44 -07:00