linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Austin S. Hemmelgarn" <ahferroin7@gmail.com>
To: Andrei Borzenkov <arvidjaar@gmail.com>,
	Tomasz Torcz <tomek@pipebreaker.pl>,
	linux-btrfs@vger.kernel.org
Subject: Re: [PATCH] btrfs-progs: add option to run balance as daemon
Date: Wed, 13 Jul 2016 07:57:00 -0400	[thread overview]
Message-ID: <ce52fa5e-b54f-7185-4acc-c1f5403f172d@gmail.com> (raw)
In-Reply-To: <5785C5F2.2040007@gmail.com>

On 2016-07-13 00:39, Andrei Borzenkov wrote:
> 12.07.2016 15:25, Austin S. Hemmelgarn пишет:
>>
>> I'm not changing my init system just to add functionality that should
>> already exist in btrfs-progs.  The fact that the balance ioctl is
>> synchronous was a poor design choice, and we need to provide the option
>> to work around that independent of what our users are running.  There's
>> been enough interest from other people that it should be obvious that
>> people want this _in_ btrfs-progs.  The point is to not _need_ anything
>> else to do this.
>
> May be I miss something obvious, but what is wrong with
>
> nohup btrfs balance start &
>
> nohup is definitely available on every system and so far I have been
> using it in exactly such cases when I needed to leave something running
> for a long time.
>
That does work, but it still falls into the category of needing external 
software to do it.  I'm trying to get something that works without any 
external software, and doesn't even depend on having a shell with job 
control.

  reply	other threads:[~2016-07-13 11:57 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-21 15:16 [PATCH] btrfs-progs: add option to run balance as daemon Austin S. Hemmelgarn
2016-07-11  1:44 ` Satoru Takeuchi
2016-07-26 17:07   ` David Sterba
2016-07-26 17:25     ` Austin S. Hemmelgarn
2016-07-11  7:26 ` Tomasz Torcz
2016-07-11 11:17   ` Austin S. Hemmelgarn
2016-07-11 16:58     ` Tomasz Torcz
2016-07-12 12:25       ` Austin S. Hemmelgarn
2016-07-12 15:22         ` Duncan
2016-07-12 18:25           ` Austin S. Hemmelgarn
2016-07-13  4:39         ` Andrei Borzenkov
2016-07-13 11:57           ` Austin S. Hemmelgarn [this message]
2016-07-13 16:38 ` David Sterba
2016-07-13 16:59   ` Austin S. Hemmelgarn

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=ce52fa5e-b54f-7185-4acc-c1f5403f172d@gmail.com \
    --to=ahferroin7@gmail.com \
    --cc=arvidjaar@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=tomek@pipebreaker.pl \
    /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).