On Tue, 2022-09-13 at 17:37 +0300, Konstantin Kharlamov wrote:
> Hello! Sorry if it's the wrong list, it is referred to by multipath-tools
> without saying it's "devel", so I presume user questions are okay…?
>
> How to debug a lack of devices in `multipath -l` and `… -ll` outputs? I'm
> studying
On Mon, Sep 12 2022 at 4:22P -0400,
Pankaj Raghav wrote:
> Only zoned devices with power-of-2(po2) number of sectors per zone(zone
> size) were supported in linux but now non power-of-2(npo2) zone sizes
> support has been added to the block layer.
>
> Filesystems such as F2FS and btrfs have sup
>> +
>> +if (is_power_of_2(zone_size))
>> +DMWARN("%pg: underlying device has a power-of-2 number of
>> sectors per zone",
>> + dmh->dev->bdev);
>> +
>> +dmh->zone_size = zone_size;
>> +dmh->zone_size_po2 = 1 << get_count_order_long(zone_size);
>> +dmh
There's a bug in blkdev_issue_secure_erase. The statement
"unsigned int len = min_t(sector_t, nr_sects, max_sectors);"
sets the variable "len" to the length in sectors, but the statement
"bio->bi_iter.bi_size = len" treats it as if it were in bytes.
The statements "sector += len << SECTOR_SHIFT" an
On Wed, 14 Sep 2022 16:55:51 -0400 (EDT), Mikulas Patocka wrote:
> There's a bug in blkdev_issue_secure_erase. The statement
> "unsigned int len = min_t(sector_t, nr_sects, max_sectors);"
> sets the variable "len" to the length in sectors, but the statement
> "bio->bi_iter.bi_size = len" treats it