From: Bruce Guenter <bruce@untroubled.org>
To: linux-btrfs@vger.kernel.org
Subject: btrfs subvolume delete --commit-after doesn't wait for deletions
Date: Wed, 4 Jan 2017 19:46:56 -0600 [thread overview]
Message-ID: <20170105014656.GA19542@untroubled.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 727 bytes --]
In the man page for btrfs subvolume delete, the --commit-after option
says it will "wait for transaction commit at the end of the operation".
However, the available disk space continues to increase for several
minutes after this command completes. I am running linux kernel 4.4.35
on Gentoo Linux with btrfs-progs-4.9.
Am I misunderstanding how the --commit-after option is supposed to work?
If so, is there any other good way to wait for btrfs subvolume delete to
complete freeing space before continuing? Has this behavior changed in
recent kernels (I tried 4.8.15 before posting this, but it had unrelated
issues)?
Thanks.
--
Bruce Guenter <bruce@untroubled.org> http://untroubled.org/
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
next reply other threads:[~2017-01-05 1:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-05 1:46 Bruce Guenter [this message]
2017-01-05 2:03 ` btrfs subvolume delete --commit-after doesn't wait for deletions Qu Wenruo
2017-01-06 22:43 ` Bruce Guenter
2017-01-09 1:44 ` Qu Wenruo
2017-01-10 22:33 ` Bruce Guenter
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=20170105014656.GA19542@untroubled.org \
--to=bruce@untroubled.org \
--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;
as well as URLs for NNTP newsgroup(s).