[Devel] [PATCH RHEL9 COMMIT] ms/mm/shmem: fix race in shmem_undo_range w/THP

2024-02-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-362.18.1.vz9.40.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-362.18.1.vz9.40.1 --> commit 3961da0b9522818e9f8b017ee42d65d3b3c033e6 Author: David Stevens Date: Tue Apr 18 17:40:31 2023 +0900 ms/mm/shmem

[Devel] [PATCH VZ9 1/2] fs/ext4: relax inappropriate memory alignment check

2024-02-27 Thread Alexey Kuznetsov
The bug is ancient, ext4 has been broken in mainstream since 2014, I guess this means nobody cares. Though right place of this patch is mainstream of course. It destroys performance of direct io in vz9 compared to vz7, where this place was still correct. Note, our memory buffers are aligned to 512

[Devel] [PATCH VZ9 2/2] fs/fuse/pcs: remove useless fuse call

2024-02-27 Thread Alexey Kuznetsov
fuse makes an entirely noop yet wasting lots of time call to user space every fsync(). Actually, it was a surprize from mainstream, which used to corrupt vstorage in vz9 and late vz7. We put a strut to prevent corruption bd7d3266.. "fuse: illegal access to file in vstorage" Now it is time to remo