[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165249310227.638202.3921167990549958733.b4-ty@mit.edu>
Date: Fri, 13 May 2022 21:52:10 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: linux-ext4@...r.kernel.org,
Dmitry Monakhov <dmtrmonakhov@...dex-team.ru>
Cc: "Theodore Ts'o" <tytso@....edu>
Subject: Re: [PATCH] ext4: mark group as trimmed only if it was fully scanned
On Sun, 17 Apr 2022 20:03:15 +0300, Dmitry Monakhov wrote:
> Otherwise nonaligned fstrim calls will works inconveniently for iterative
> scanners, for example:
>
> // trim [0,16MB] for group-1, but mark full group as trimmed
> fstrim -o $((1024*1024*128)) -l $((1024*1024*16)) ./m
> // handle [16MB,16MB] for group-1, do nothing because group already has the flag.
> fstrim -o $((1024*1024*144)) -l $((1024*1024*16)) ./m
>
> [...]
Applied, thanks!
[1/1] ext4: mark group as trimmed only if it was fully scanned
commit: 326118d762e2eaaec580fcc151f853a96f3ad71a
Best regards,
--
Theodore Ts'o <tytso@....edu>
Powered by blists - more mailing lists