[Devel] [PATCH vz7] ploop: fix dio_invalidate_cache()

2017-11-10 Thread Maxim Patlasov
The patch fixes two critical bugs in dio_invalidate_cache: 1) "bdev" arg points to the block_device of underlying block device (where image file resides), not ploop block device. Hence, the statement: > struct ploop_device *plo = bdev->bd_disk->private_data; is mistake -- that private_data is

Re: [Devel] [PATCH] vz7: service: Allow keep_open flag for a WAIT_PID command #PSBM-58198

2017-11-10 Thread Andrei Vagin
Acked-by: Andrei Vagin On Fri, Nov 10, 2017 at 10:45:55AM +, Pavel Vokhmyanin wrote: > WAIT_PID rpc command is necessary to wait on a page server and retrieve > its exit code. Keep_open flag is essential for this command - we need > RPC server to keep running after

Re: [Devel] [PATCH vz7] x86,ia32: Restore 32bit personality

2017-11-10 Thread Dmitry Safonov
Hi Cyrill, 2017-11-10 15:25 GMT+00:00 Cyrill Gorcunov : > When restoring compatible applications (ie running in ia32 > mode) we have to restore thread flags and mm context at > least otherwise compat_alloc_user_space may allocate > values from old_rsp remembered at last 64

Re: [Devel] [PATCH vz7] x86,ia32: Restore 32bit personality

2017-11-10 Thread Cyrill Gorcunov
On Fri, Nov 10, 2017 at 04:04:01PM +, Dmitry Safonov wrote: > > + if (regs->cs == __USER32_CS) { > > + /* > > +* It's close to set_personality_ia32 > > +* but we don't want to change orig_ax. > > +*/ > > +

[Devel] [PATCH] tcache: Increase seeks more

2017-11-10 Thread Kirill Tkhai
One node from the test plan showed, number of seeks still is not enough. Increase it again twice more to fit new formula introduces in commit e008b95a28ef "ms/mm: use sc->priority for slab shrink targets". https://jira.sw.ru/browse/PSBM-77015 Signed-off-by: Kirill Tkhai

Re: [Devel] [PATCH] vz7: service: Allow keep_open flag for a WAIT_PID command #PSBM-58198

2017-11-10 Thread Cyrill Gorcunov
On Fri, Nov 10, 2017 at 10:45:55AM +, Pavel Vokhmyanin wrote: >WAIT_PID rpc command is necessary to wait on a page server and retrieve > >its exit code. Keep_open flag is essential for this command - we need > >RPC server to keep running after processing WAIT_PID in order to