[Devel] [PATCH RHEL7 COMMIT] ms/tcp: avoid infinite loop in tcp_splice_read()

2017-02-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.6.1.vz7.28.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.6.1.vz7.28.7 --> commit b207397b05680d0d47b484ff3090194eb10f5cc8 Author: Eric Dumazet Date: Fri Feb 3 14:59:38 2017

[Devel] [PATCH RHEL7 COMMIT] ext4: fix seek_data soft lookup on sparse files

2017-02-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.6.1.vz7.28.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.6.1.vz7.28.7 --> commit 780346f14210fba056968e6ed743449d4e8ebf68 Author: Dmitry Monakhov Date: Mon Feb 27 18:16:06 2017

Re: [Devel] [PATCH RHEL7 COMMIT] ms/tcp: avoid infinite loop in tcp_splice_read()

2017-02-27 Thread Evgenii Shatokhin
On 27.02.2017 16:55, Konstantin Khorenko wrote: Please consider this to ReadyKernel. Queued, thanks. https://readykernel.com/ -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 02/27/2017 04:53 PM, Konstantin Khorenko wrote: The commit is pushed to

Re: [Devel] [PATCH RHEL7 COMMIT] ms/tcp: avoid infinite loop in tcp_splice_read()

2017-02-27 Thread Konstantin Khorenko
Please consider this to ReadyKernel. https://readykernel.com/ -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 02/27/2017 04:53 PM, Konstantin Khorenko wrote: The commit is pushed to "branch-rh7-3.10.0-514.6.1.vz7.28.x-ovz" and will appear at

[Devel] [PATCH:vz7] ext4: fix seek_data soft lookup on sparse files

2017-02-27 Thread Dmitry Monakhov
Good fix requires optimal implementation of next_extent like it was done in 14516bb or 2d90c160, but this makes patch huge, let's just break the loop when necessery. https://jira.sw.ru/browse/PSBM-55818 Signed-off-by: Dmitry Monakhov --- fs/ext4/file.c | 12 +++- 1

Re: [Devel] [PATCH] vz6 ext4: Discard preallocated block before swap_extents

2017-02-27 Thread Dmitry Monakhov
Vasily Averin writes: > Dima, > please take look at comment below. > > On 2017-02-25 18:16, Dmitry Monakhov wrote: >> Inode preallocation consists of two parts (used and unused) fully controlled >> by inode, so it must be discarded before swap extents. >> Currently we may

[Devel] [PATCH] vz6 ext4: Discard preallocated block before swap_extents

2017-02-27 Thread Dmitry Monakhov
Inode preallocation consists of two parts (used and unused) fully controlled by inode, so it must be discarded before swap extents. Currently we may skip drop_preallocation if file is sparse. This patch does: - Moves ext4_discard_preallocations to ext4_swap_extents. This makes more readable and

[Devel] [PATCH:vz7] ext4: fix seek_data soft lookup on sparse files

2017-02-27 Thread Dmitry Monakhov
Good fix requires optimal implementation of next_extent like it was done in 14516bb or 2d90c160, but this makes patch huge, let's just break the loop when necessery. https://jira.sw.ru/browse/PSBM-55818 Signed-off-by: Dmitry Monakhov --- fs/ext4/file.c | 12 +++- 1

[Devel] [PATCH] vz6 ext4: Discard preallocated block before swap_extents v2

2017-02-27 Thread Dmitry Monakhov
Inode preallocation consists of two parts (used and unused) fully controlled by inode, so it must be discarded before swap extents. Currently we may skip drop_preallocation if file is sparse. This patch does: - Moves ext4_discard_preallocations to ext4_swap_extents. This makes more readable and

Re: [Devel] [PATCH] vz6 ext4: Discard preallocated block before swap_extents

2017-02-27 Thread Vasily Averin
Dima, please take look at comment below. On 2017-02-25 18:16, Dmitry Monakhov wrote: > Inode preallocation consists of two parts (used and unused) fully controlled > by inode, so it must be discarded before swap extents. > Currently we may skip drop_preallocation if file is sparse. > > This