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

2016-09-23 Thread Maxim Patlasov
Dima, The patch looks fine and it works in my tests, but it slightly changes user-visible behavior: before patch, if ioctl(MOVE) failed, the user always saw moved_len=0. Now, with the patch applied, it can be !=0. (because ext4_ioctl() copies "me" back to user even if err != 0) I

[Devel] [PATCH RHEL7 COMMIT] ms/dm: remove dummy definition of 'struct dm_table'

2016-09-23 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-327.28.2.vz7.17.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-327.28.2.vz7.17.9 --> commit 718f12861b3e5d7494b17e6a753cdef8b1f0a5f4 Author: Mike Snitzer Date: Fri Sep 23 18:15:11 2016

Re: [Devel] [PATCH rh7 2/2] ms/dm: remove dummy definition of 'struct dm_table'

2016-09-23 Thread Andrey Ryabinin
On 09/23/2016 05:13 PM, Konstantin Khorenko wrote: > Why mainstream still keeps it? > By mistake, I guess. > -- > Best regards, > > Konstantin Khorenko, > Virtuozzo Linux Kernel Team > > On 09/22/2016 07:44 PM, Andrey Ryabinin wrote: >> There is no need for it. >> >>

Re: [Devel] [PATCH RH7] sysctl: panic only on softlockup_panic-th consequent softlockup

2016-09-23 Thread Konstantin Khorenko
Pasha, 1) please write a good description. Why it's needed? How to use? 2) i thought we came up to the variant when sysctl defines not the number of softlockups in a row, but the delay in seconds? 3) please put the reviewer Thank you. -- Best regards, Konstantin Khorenko, Virtuozzo Linux

[Devel] [PATCH RH7 v2] pfcache: hide trusted.pfcache from listxattr

2016-09-23 Thread Pavel Tikhomirov
In SyS_listxattr -> listxattr -> ext4_listxattr -> ext4_xattr_list_entries we choose list handler for each ext4_xattr_entry based on e_name_index, and as for trusted.pfcache index is EXT4_XATTR_INDEX_TRUSTED, we chouse ext4_xattr_trusted_list which always prints xattr to the list. When there is

Re: [Devel] [PATCH rh7 2/2] ms/dm: remove dummy definition of 'struct dm_table'

2016-09-23 Thread Konstantin Khorenko
Why mainstream still keeps it? -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 09/22/2016 07:44 PM, Andrey Ryabinin wrote: There is no need for it. https://jira.sw.ru/browse/PSBM-50727 Signed-off-by: Andrey Ryabinin --- drivers/md/dm-ioctl.c |

[Devel] [PATCH RHEL7 COMMIT] ms/dm: remove dummy definition of 'struct dm_table' from dm-ioctl.c

2016-09-23 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-327.28.2.vz7.17.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-327.28.2.vz7.17.9 --> commit 1347427ba3370f15348561cc4ca46c402b85c984 Author: Andrey Ryabinin Date: Fri Sep 23 18:15:12

[Devel] [PATCH RHEL7 COMMIT] pfcache: hide trusted.pfcache from listxattr

2016-09-23 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-327.28.2.vz7.17.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-327.28.2.vz7.17.9 --> commit 00ebb1860eff85759f1b43d795c328311c684b0e Author: Pavel Tikhomirov Date: Fri Sep 23

Re: [Devel] [PATCH RHEL7 COMMIT] Revert "ms/ovl: update atime on upperovl: update atime on upper"

2016-09-23 Thread Konstantin Khorenko
reapplied in rh7-3.10.0-327.28.2.vz7.17.10 -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 09/21/2016 04:54 PM, Konstantin Khorenko wrote: The commit is pushed to "branch-rh7-3.10.0-327.28.2.vz7.17.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git

Re: [Devel] [PATCH RHEL7 COMMIT] Revert "fs: use original vfsmount for touch_atime"

2016-09-23 Thread Konstantin Khorenko
reapplied in rh7-3.10.0-327.28.2.vz7.17.10 -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 09/21/2016 04:52 PM, Konstantin Khorenko wrote: The commit is pushed to "branch-rh7-3.10.0-327.28.2.vz7.17.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git

[Devel] [PATCH RHEL7 COMMIT] fs: hold reference on original path

2016-09-23 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-327.28.2.vz7.17.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-327.28.2.vz7.17.9 --> commit 0c898c51709daf78d1704b90bec1395cadeb3a51 Author: Maxim Patlasov Date: Fri Sep 23 17:32:01

Re: [Devel] [PATCH RH7] pfcache: hide trusted.pfcache from listxattr

2016-09-23 Thread Dmitry Monakhov
Pavel Tikhomirov writes: > In SyS_listxattr -> listxattr -> ext4_listxattr -> > ext4_xattr_list_entries we choose list handler for > each ext4_xattr_entry based on e_name_index, and as > for trusted.pfcache index is EXT4_XATTR_INDEX_TRUSTED, > we chouse