Re: [Devel] [PATCH] venet: remove SS hook

2017-04-11 Thread Kirill Tkhai
On 10.04.2017 17:05, Stanislav Kinsburskiy wrote: > Finally, this silly hook can and has to be removed. > It was added, because venet was created in a automated way on container start. > Now, venet is created by vzctl via netlink (as it should). > And it's destroyed automatilly on network namespace

[Devel] [PATCH RHEL7 COMMIT] venet: remove SS hook

2017-04-11 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.10.2.vz7.29.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.10.2.vz7.29.14 --> commit 60836f581089a23dd7fb147ec18f247f0a9ed7fa Author: Stanislav Kinsburskiy Date: Tue Apr 11 13:58:02 2017 +0400 ve

[Devel] [PATCH rh7] fs/cleancache: fix data invalidation in the cleancache during direct_io

2017-04-11 Thread Andrey Ryabinin
Currently some direct_io fs hooks call invalidate_inode_pages2_range() conditionally iff mapping->nrpages is not zero. So if nrpages is zero, data in cleancache wouldn't be invalidated. So the next buffered read may get stale data from the cleancache. Fix this by calling invalidate_inode_pages2_ra

Re: [Devel] [PATCH rh7] fs/cleancache: fix data invalidation in the cleancache during direct_io

2017-04-11 Thread Alexey Kuznetsov
Hello! Good job! Before submitting this to mainstream look at truncate_inode_pages. It has condition: if (mapping->nrpages == 0 && mapping->nrexceptional == 0) return; I have no idea what are those exceptions are, but it definitely looks illegal to check only for nrpages in inv