Re: [PATCH] ext4: mark group as trimmed only if it was fully scanned

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

 



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@xxxxxxx>



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux