[Devel] [PATCH rh7 v2 0/4] fs/iov_iter: Fix ZFS kernel module compilation
Konstantin Khorenko
khorenko at virtuozzo.com
Wed Dec 30 11:13:53 MSK 2020
The patchset is obsoleted by the patch
[PATCH rh7] fs: Resurrect generic_segment_checks()
--
Best regards,
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
On 12/25/2020 07:15 PM, Konstantin Khorenko wrote:
> Commit 9fdccb71a24b ("fs: Pass iov_iter to ->direct_IO") in VZ kernel
> has changed the interface of .direct_IO() callback and
> zfs assumes now VZ kernel has iov_iters like in mainstream,
> but this was not completely true.
>
> As we have added iters long ago, the interface is different from
> mainstream's version which breaks zfs compilation.
>
> This patchset make our iter interface close to mainstream version
> which should be enough for zfs.
>
> https://bugs.openvz.org/browse/OVZ-7243
>
> Konstantin Khorenko (4):
> fs: Drop "pos" argument from {read,write}_iter() callbacks
> fs/iov_iter: Introduce and use iov_iter.type instead of "ops"
> verification
> fs/iov_iter: Introduce "iov" member in struct iov_iter for ITER_IOVEC
> fs/iov_iter: Drop ITER_PAGE iov_iter primitive - no users
>
> fs/aio.c | 4 +-
> fs/ceph/file.c | 4 +-
> fs/ext4/file.c | 29 +++----
> include/linux/fs.h | 190 +++++++++++++++++++++++++--------------------
> mm/filemap.c | 24 +++---
> mm/iov-iter.c | 141 ---------------------------------
> 6 files changed, 137 insertions(+), 255 deletions(-)
>
More information about the Devel
mailing list