From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f68.google.com ([209.85.215.68]:36025 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750716AbcGMEje (ORCPT ); Wed, 13 Jul 2016 00:39:34 -0400 Received: by mail-lf0-f68.google.com with SMTP id 33so2889717lfw.3 for ; Tue, 12 Jul 2016 21:39:28 -0700 (PDT) Subject: Re: [PATCH] btrfs-progs: add option to run balance as daemon To: "Austin S. Hemmelgarn" , Tomasz Torcz , linux-btrfs@vger.kernel.org References: <20160621151659.32157-1-ahferroin7@gmail.com> <20160711072612.GA1417185@mother.pipebreaker.pl> <63dba99e-cf1c-63f5-bee6-548270b7a653@gmail.com> <20160711165822.GB1417185@mother.pipebreaker.pl> From: Andrei Borzenkov Message-ID: <5785C5F2.2040007@gmail.com> Date: Wed, 13 Jul 2016 07:39:14 +0300 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8 Sender: linux-btrfs-owner@vger.kernel.org List-ID: 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.