lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
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