Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Roman Mamedov <rm@romanrm.net>
To: linux-btrfs@vger.kernel.org
Subject: "Transaction commit" in btrfs sub del
Date: Thu, 23 Oct 2014 20:24:11 +0600	[thread overview]
Message-ID: <20141023202411.701bd1f3@natsu> (raw)

Hello,

I was under impression that the "Transaction commit:" setting in 'btrfs sub
del' finally allows us to make it not return until all free space from the
snapshots that are being deleted, is completely freed up.

However that does not seem to be the case at all, deleting 14 snapshots with a
heavy write-load occuring at the same time (Btrfs v3.14.1, kernel 3.14.22),
with "Transaction commit: at the end", the 'btrfs' utility exited, and I still
observe no change in free space numbers. It got finally freed only a couple of
minutes later, i.e. as it usually would, without any commit options.

So what is the purpose of these options, if they do not seem to have an effect?

-- 
With respect,
Roman

             reply	other threads:[~2014-10-23 14:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-23 14:24 Roman Mamedov [this message]
2014-10-23 15:44 ` "Transaction commit" in btrfs sub del Piotr Pawłow
2014-10-23 16:18   ` Roman Mamedov
2014-10-23 16:28     ` Wang Shilong

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=20141023202411.701bd1f3@natsu \
    --to=rm@romanrm.net \
    --cc=linux-btrfs@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox