Re: [Devel] [PATCH criu] files: Allow to dump ploopX files opened

2016-08-11 Thread Maxim Patlasov
On 08/04/2016 06:43 AM, Cyrill Gorcunov wrote: On Thu, Aug 04, 2016 at 04:34:57PM +0300, Pavel Emelyanov wrote: +static int check_blkdev(struct fd_parms *p, int lfd) +{ + /* +* @ploop_major is module parameter actually, +* set to PLOOP_DEVICE_MAJOR by default. We may +

Re: [Devel] [PATCH criu] files: Allow to dump ploopX files opened

2016-08-04 Thread Cyrill Gorcunov
On Thu, Aug 04, 2016 at 04:34:57PM +0300, Pavel Emelyanov wrote: > > > > +static int check_blkdev(struct fd_parms *p, int lfd) > > +{ > > + /* > > +* @ploop_major is module parameter actually, > > +* set to PLOOP_DEVICE_MAJOR by default. We may > > +* need to scan module params or

Re: [Devel] [PATCH criu] files: Allow to dump ploopX files opened

2016-08-04 Thread Pavel Emelyanov
On 07/17/2016 11:01 AM, Cyrill Gorcunov wrote: > Sometimes container's systemd-udevd opens ploop device > for some reason. Since it's not forbidden allow it > to do so. > > | (13.131338) Dumping task (pid: 270073 comm: systemd-udevd) > | (13.131343) > |

[Devel] [PATCH criu] files: Allow to dump ploopX files opened

2016-07-17 Thread Cyrill Gorcunov
Sometimes container's systemd-udevd opens ploop device for some reason. Since it's not forbidden allow it to do so. | (13.131338) Dumping task (pid: 270073 comm: systemd-udevd) | (13.131343) | ... | (13.173422) 270073 fdinfo 8: pos: 0x 0