NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/57018: Missing VOP_BMAP() implementation for block devices on ZFS



The following reply was made to PR kern/57018; it has been noted by GNATS.

From: Molly Miller <nbgnats%m-squa.red@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/57018: Missing VOP_BMAP() implementation for block devices
 on ZFS
Date: Fri, 23 Sep 2022 11:30:35 +0200

 On 23/09/2022 03:20, David Holland wrote:
 >  Anyway, the GENFS_SPECOP_ENTRIES (and GENFS_FIFOOP_ENTRIES) changes
 >  were invasive and not a good pullup candidate. We'll want to patch it,
 >  like this one, except that I'm not in a position to test it myself:
 >  
 >  
 >  Index: zfs_vnops.c
 >  ===================================================================
 >  RCS file: /cvsroot/src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c,v
 >  retrieving revision 1.50.2.10
 >  diff -u -p -r1.50.2.10 zfs_vnops.c
 >  --- zfs_vnops.c	6 Jul 2021 04:22:34 -0000	1.50.2.10
 >  +++ zfs_vnops.c	23 Sep 2022 01:14:49 -0000
 >  @@ -6394,6 +6394,7 @@ const struct vnodeopv_entry_desc zfs_spe
 >   	{ &vop_bwrite_desc,		spec_bwrite },
 >   	{ &vop_print_desc,		zfs_netbsd_print },
 >   	{ &vop_fcntl_desc,		zfs_netbsd_fcntl },
 >  +	{ &vop_bmap_desc,		spec_bmap },
 >   	{ NULL, NULL }
 >   };
 
 I independently applied an identical patch to my local 9.3 tree, which
 fixes this problem for me.
 
 --mm.
 



Home | Main Index | Thread Index | Old Index