Re: [uml-devel] [PATCH 4/4] um: Run UML in it's own session.

2013-08-19 Thread Richard Weinberger
Am 19.08.2013 11:30, schrieb Richard W.M. Jones: > On Sun, Aug 18, 2013 at 01:30:09PM +0200, Richard Weinberger wrote: >> If UML is not run by a shell it can happen that UML >> will kill unrelated proceses upon a fatal exit because >> it issues a kill(0, ...). >> To prevent such oddities we create

Re: [uml-devel] [PATCH] um: ubd: Add REQ_FLUSH suppport

2013-08-19 Thread Richard W.M. Jones
On Mon, Aug 19, 2013 at 12:13:14PM +0200, Geert Uytterhoeven wrote: > Hi Richard, > > On Mon, Aug 19, 2013 at 11:18 AM, Richard W.M. Jones > wrote: > > On Sun, Aug 18, 2013 at 12:09:34AM +0200, Richard Weinberger wrote: > >> UML's block device driver does not support write barriers, > >> to supp

Re: [uml-devel] [PATCH] um: ubd: Add REQ_FLUSH suppport

2013-08-19 Thread Geert Uytterhoeven
Hi Richard, On Mon, Aug 19, 2013 at 11:18 AM, Richard W.M. Jones wrote: > On Sun, Aug 18, 2013 at 12:09:34AM +0200, Richard Weinberger wrote: >> UML's block device driver does not support write barriers, >> to support this this patch adds REQ_FLUSH suppport. >> Every time the block layer sends a

Re: [uml-devel] [PATCH 4/4] um: Run UML in it's own session.

2013-08-19 Thread Richard W.M. Jones
On Sun, Aug 18, 2013 at 01:30:09PM +0200, Richard Weinberger wrote: > If UML is not run by a shell it can happen that UML > will kill unrelated proceses upon a fatal exit because > it issues a kill(0, ...). > To prevent such oddities we create a new session in main(). > > Cc: rjo...@redhat.com > R

Re: [uml-devel] [PATCH 3/4] um: Cleanup SIGTERM handling

2013-08-19 Thread Richard W.M. Jones
On Sun, Aug 18, 2013 at 01:30:08PM +0200, Richard Weinberger wrote: > Richard reported that some UML processes survive if the UML > main process receives a SIGTERM. > This issue was caused by a wrongly placed signal(SIGTERM, SIG_DFL) > in init_new_thread_signals(). > It disabled the UML exit handle

Re: [uml-devel] [PATCH 1/4] um: ubd: Add REQ_FLUSH suppport

2013-08-19 Thread Richard W.M. Jones
On Sun, Aug 18, 2013 at 01:30:06PM +0200, Richard Weinberger wrote: > UML's block device driver does not support write barriers, > to support this this patch adds REQ_FLUSH suppport. > Every time the block layer sends a REQ_FLUSH we fsync() now > our backing file to guarantee data consistency. > >

Re: [uml-devel] [PATCH] um: ubd: Add REQ_FLUSH suppport

2013-08-19 Thread Richard W.M. Jones
On Sun, Aug 18, 2013 at 12:09:34AM +0200, Richard Weinberger wrote: > UML's block device driver does not support write barriers, > to support this this patch adds REQ_FLUSH suppport. > Every time the block layer sends a REQ_FLUSH we fsync() now > our backing file to guarantee data consistency. Thi