Re: switching balance into background

2011-04-09 Thread Hugo Mills
On Sat, Apr 09, 2011 at 07:57:00AM +0200, Helmut Hullen wrote:
 Hallo, linux-btrfs,
 
 I can't switch a running btrfs filesystem balance ... via
 
 ctrl z
 bg
 
 into the background, with other jobs this way works.
 
 The stopping command ctrl z doesn't work.
 
 (may be on other keyboards it's ctrl y)
 
 What goes wrong?

   A balance is a single long-lived ioctl call, so the userspace
process is living in D state (uninterruptible sleep) until the kernel
finishes.

   I've got a patch that forks the process, and runs the ioctl in the
background, returning immediately. I should be able to get it to the
list this weekend as part of the userspace side of the balance
management patches.

   Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
  --- There are three things you should never see being made: laws, ---  
standards,  and sausages.


signature.asc
Description: Digital signature


Re: switching balance into background

2011-04-09 Thread Helmut Hullen
Hallo, Hugo,

Du meintest am 09.04.11:

 I can't switch a running btrfs filesystem balance ... via

 ctrl z
 bg

 into the background,

[...]

I've got a patch that forks the process, and runs the ioctl in the
 background, returning immediately. I should be able to get it to the
 list this weekend as part of the userspace side of the balance
 management patches.

Sounds fine - thank you!

Viele Gruesse!
Helmut
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


switching balance into background

2011-04-08 Thread Helmut Hullen
Hallo, linux-btrfs,

I can't switch a running btrfs filesystem balance ... via

ctrl z
bg

into the background, with other jobs this way works.

The stopping command ctrl z doesn't work.

(may be on other keyboards it's ctrl y)

What goes wrong?

Viele Gruesse!
Helmut
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html