All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Theodore Ts'o" <tytso@mit.edu>
To: linux-ext4@vger.kernel.org,
	Dmitry Monakhov <dmtrmonakhov@yandex-team.ru>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Subject: Re: [PATCH] ext4: mark group as trimmed only if it was fully scanned
Date: Fri, 13 May 2022 21:52:10 -0400	[thread overview]
Message-ID: <165249310227.638202.3921167990549958733.b4-ty@mit.edu> (raw)
In-Reply-To: <1650214995-860245-1-git-send-email-dmtrmonakhov@yandex-team.ru>

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@mit.edu>

      reply	other threads:[~2022-05-14  2:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-17 17:03 [PATCH] ext4: mark group as trimmed only if it was fully scanned Dmitry Monakhov
2022-05-14  1:52 ` Theodore Ts'o [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=165249310227.638202.3921167990549958733.b4-ty@mit.edu \
    --to=tytso@mit.edu \
    --cc=dmtrmonakhov@yandex-team.ru \
    --cc=linux-ext4@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.