Hi,

On Wed, Sep 04, 2024 at 01:53:01PM -0700, Robin  Björklin wrote:
> Package: linux-image-amd64
> Version: 6.1.85-1
> Severity: normal
> Tags: upstream
> X-Debbugs-Cc: robin.bjork...@gmail.com
> 
> Dear Maintainer,
> 
> When attempting to use fstrim on an XFS file system I found that it
> trims a lot more than what I request.
> When execusting this: fstrim -v --offset 0 --length 330000000 /
> I was expecting to see fstrim reporting less than 330MB trimmed
> however what I found was that fstrim reported 446.9GiB * trimmed.
> 
> I have found that this problem has been reproduced and fixed
> in a later kernel version and would like to see this patch
> backported to the Debian stable kernel.
> 
> https://github.com/torvalds/linux/commit/b0ffe661fab4b939e4472ef96b8dac3c74e0e03e

This does not look like a good candidate for a stable release
upstream, but to anwer your question bout making it to Debian: to make
that happen, ensure it lands upstream in the 6.1.y series by asking
upstream to backport it (if confirmed it fixes a bug in the 6.1.y
series).

As the change is rather substantial, I would suggest to first approach
the XFS maintainers and in particular the two involved in the commit.

Hope this helps,

Regards,
Salvatore

Reply via email to