All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roman Mamedov <rm@romanrm.net>
To: Chris Murphy <lists@colorremedies.com>
Cc: Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: 5.6-rc1, fstrim reports different value 1 minute later
Date: Thu, 13 Feb 2020 11:21:10 +0500	[thread overview]
Message-ID: <20200213112110.7100baf2@natsu> (raw)
In-Reply-To: <CAJCQCtS9Te9gRAGwin_Wjqv_3cJXVXthNa1g53zF4PbZW+k0Qg@mail.gmail.com>

On Wed, 12 Feb 2020 23:08:03 -0700
Chris Murphy <lists@colorremedies.com> wrote:

> Host: kernel 5.5.3, qemu-kvm, Btrfs, backing file is raw with +C  5.6.
> Guest: kernel 5.6.0-rc1, / is Btrfs
> 
> Boot and login, and immediately run these commands:
> 
> [root@localhost ~]# df -h
> /dev/vda4        96G  4.4G   91G   5% /
> # fstrim -v /
> /: 91 GiB (97633062912 bytes) trimmed
> 
> 1 minute later
> 
> [root@localhost ~]# fstrim -v /
> /: 3.5 GiB (3747549184 bytes) trimmed
> [root@localhost ~]#
> 
> There's no activity happening in this one minute period. Reboot, and
> it's reproducible again. 91G trimmed the first time then 3.5G the
> second. Seems like new and unusual behavior. No kernel messages at all
> in either host or guest.

For completeness, what would be returned the 3rd time you trim?

-- 
With respect,
Roman

  reply	other threads:[~2020-02-13  6:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-13  6:08 5.6-rc1, fstrim reports different value 1 minute later Chris Murphy
2020-02-13  6:21 ` Roman Mamedov [this message]
2020-02-13  6:28   ` 5.5-5.6-rc1, " Chris Murphy
2020-02-13  6:37   ` Chris Murphy
2020-02-13  6:51     ` Roman Mamedov

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=20200213112110.7100baf2@natsu \
    --to=rm@romanrm.net \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=lists@colorremedies.com \
    /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.