Re: [PATCH v3 6/6] dm: fix native zone append devices on top of emulated ones

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/9/25 8:51 AM, Benjamin Marzinski wrote:
> If a DM device that can pass down zone append commands is stacked on top
> of a device that emulates zone append commands, it will allocate zone
> append emulation resources, even though it doesn't use them. This is
> because the underlying device will have max_hw_zone_append_sectors set
> to 0 to request zone append emulation. When the DM device is stacked on
> top of it, it will inherit that max_hw_zone_append_sectors limit,
> despite being able to pass down zone append bios. Solve this by making
> sure max_hw_zone_append_sectors is non-zero for DM devices that do not
> need zone append emulation.
> 
> Signed-off-by: Benjamin Marzinski <bmarzins@xxxxxxxxxx>

Looks good.

Reviewed-by: Damien Le Moal <dlemoal@xxxxxxxxxx>

-- 
Damien Le Moal
Western Digital Research




[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux