- 04 Sep, 2015 6 commits
-
-
Andrey Vagin authored
Currently the buffer size is 4096. It always works because we use hosts where PAGE_SIZE is 4096. PowerPC64 has a bigger PAGE_SIZE. Here is a comment from the kernel code. /* * skb should fit one page. This choice is good for headerless malloc. * But we should limit to 8K so that userspace does not have to * use enormous buffer sizes on recvmsg() calls just to avoid * MSG_TRUNC when PAGE_SIZE is very large. */ We set the buffer size to 16384, because it's the max length of recvmsg() for this case. We will need less iterations to collect all data, so the perfomance should be better. Signed-off-by:
Andrey Vagin <avagin@openvz.org> Cc: Laurent Dufour <ldufour@linux.vnet.ibm.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
It lookups over shared entries and finds widest. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
We don't use C99 comments. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrew Vagin authored
Signed-off-by:
Andrey Vagin <avagin@openvz.org> Acked-by:
Laurent Dufour <ldufour@linux.vnet.ibm.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrew Vagin authored
Signed-off-by:
Andrey Vagin <avagin@openvz.org> Acked-by:
Laurent Dufour <ldufour@linux.vnet.ibm.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 02 Sep, 2015 6 commits
-
-
Cyrill Gorcunov authored
- make sure it doesn't exist using O_EXCL - don't forget to close it Reported-by:
Pavel Emelyanov <xemul@parallels.com> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Hui Kang authored
Signed-off-by:
Hui Kang <hkang.sunysb@gmail.com> Signed-off-by:
Andrew Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
1) Deleted bindmount for files should be restored by creating temp file. The kernel doesn't permit to mix bindmount in terms of file/dir relationship: either both source and target should be files or directories. Thus we can call stat on the target and figure out what kind of source we had. 2) Even for deleted entries better to use permissions from the target's stat call, this makes result close to how would it look if program hadn't been checkpointed. Reported-by:
Andrey Wagin <avagin@gmail.com> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrew Vagin authored
Reported-by: Mr Jenkins Signed-off-by:
Andrew Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 01 Sep, 2015 6 commits
-
-
Andrey Vagin authored
Reported-by: Mr Jenkins Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrew Vagin authored
Signed-off-by:
Andrew Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Laurent Dufour authored
The commit 69d008d5 ("Use run-time page_size() for mremap") introduces the use of dynamic page size in rst-malloc.c. The commit also add the include of unistd.h in arch/aarch64/include/asm/page.h to allow the build to succeed on this architecture. Since ppc64 is also using the same way to deal with page size, the same include is required in arch/ppc64/include/asm/page.h Signed-off-by:
Laurent Dufour <ldufour@linux.vnet.ibm.com> CC: Christopher Covington <cov@codeaurora.org> Reviewed-by:
Christopher Covington <cov@codeaurora.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
*** CID 139494: Error handling issues (CHECKED_RETURN) Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
*** CID 139492: Memory - illegal accesses (BUFFER_SIZE_WARNING) Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
*** CID 139496: Memory - illegal accesses (USE_AFTER_FREE) Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 25 Aug, 2015 6 commits
-
-
Andrew Vagin authored
You can see two equal inode numbers with differen devices and it was a reason why the test failed. 4: C: 12491/12495/12496 4: c: 1: POSIX ADVISORY WRITE 0 fc:03:12468 0 EOF 4: c: 2: POSIX ADVISORY READ 0 fc:03:12421 0 EOF 4: c: 3: POSIX ADVISORY WRITE 0 00:14:16285 0 EOF 4: c: 4: FLOCK MSNFS READ 4 fc:03:12496 0 EOF 4: c: 5: FLOCK ADVISORY WRITE 4 fc:03:12495 0 EOF 4: c: 6: FLOCK ADVISORY READ 4 fc:03:12491 0 EOF 4: c: 7: POSIX ADVISORY WRITE 0 00:14:16280 0 EOF 4: c: 8: POSIX ADVISORY WRITE 0 00:14:12677 0 EOF 4: c: 9: FLOCK ADVISORY WRITE 0 00:14:12520 0 EOF 4: c: 10: FLOCK ADVISORY WRITE 0 00:14:12495 0 EOF Signed-off-by:
Andrew Vagin <avagin@openvz.org> Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
It isn't required. Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
Reported-by: Mr Jenkins Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 21 Aug, 2015 6 commits
-
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
To handle deleted bindmounts we simply create the former directory bindmount lived at, mount the target and remove the directory back. For this sake we add @deleted entry into the image. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Make it handle both postfixes and return non-zero code if stipping happened. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
The main reason is to execute tests without a control termnal and avoid a case when tests try to use the --shell-job options. Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
before checking results. Reported-by: Mr Jenkins Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 18 Aug, 2015 4 commits
-
-
Tycho Andersen authored
Signed-off-by:
Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Useless, at least in the form present now it's unreadable anyway. So stop welling out the logs. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Saied Kazemi authored
The main purpose of this patch is to add OverlayFS support to docker_cr.sh for external checkpoint and restore. It also does a bit of cleaning and minor enhancements. Signed-off-by:
Saied Kazemi <saied@google.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 13 Aug, 2015 6 commits
-
-
Cyrill Gorcunov authored
Seems was a typo. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Also use is_root_mount() helper instead of opencoded strcmp("./", m->mountpoint) and -Ex error codes in ERR_PTR. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
It's quite unclean while this structure lives in proc_parse.h, which only have to fill this structure on procfs read, but real handling is inside mount.c. Move it as appropriate. Same time ext_mount structure should be moved into a header as well with sane @list name used instead of @l. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
- gather structs on top - then extern vars Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-