xref: /netbsd-src/external/cddl/osnet/TODO (revision db4759371937813ec701209e830d0f5a13d4c28c)
1fc8ec0b8Shaad
2fc8ec0b8Shaad			NetBSD ZFS port TODO
3fc8ec0b8Shaad
4fc8ec0b8Shaad1) ZVOL part
5fc8ec0b8Shaad
6fc8ec0b8Shaad* zpool cannot be destroyed -> could not destroy 'test': could not unmount datasets
7fc8ec0b8Shaad  We are leaking descriptor after open -> I'm getting EBUSY from spscfs_open.
8fc8ec0b8Shaad
9fc8ec0b8Shaad2) ZPL part
10fc8ec0b8Shaad
11fc8ec0b8Shaad* test zfs_vfsops.c and zfs_vnops.c changes
12fc8ec0b8Shaad* xattr and acl support is needed for filesystem permisions ?
13fc8ec0b8Shaad* Check if we are calling vfs_option clear set routines from vfs.c with mnt_updating lock held.
14fc8ec0b8Shaad* Port zfs_replay.c -> DONE
15fc8ec0b8Shaad
16fc8ec0b8Shaad3) ZFS part
17fc8ec0b8Shaad
18fc8ec0b8Shaad* ACL support, xattr calls support
19fc8ec0b8Shaad* Snapshots support
20fc8ec0b8Shaad* iSCSI targets support
21fc8ec0b8Shaad* NFSv3, NFSv4 support
22fc8ec0b8Shaad* Samba filesystem support
23fc8ec0b8Shaad* Implement getpages/putpages for zfs, can be done with genfs_* routines but vnode_t need some changes.
24fc8ec0b8Shaad* zfs_rename support, Working but there are some issues with LOCKDEBUG see comment above zfs_rename.
25fc8ec0b8Shaad
26fc8ec0b8Shaad
27fc8ec0b8Shaad				NetBSD ZFS Integration TODO
28fc8ec0b8Shaad
29fc8ec0b8Shaad
30fc8ec0b8ShaadPre-integration tasks.
31fc8ec0b8Shaad
32fc8ec0b8ShaadDONE		why is zfs module deadlocking.
33fc8ec0b8ShaadDONE		try to create a zvol/pool.
34fc8ec0b8ShaadDONE		when creating zvol/pool ok, do minor stress testing.
35fc8ec0b8ShaadDONE		port vfsops and vnodeops. ignore getpages/putpages.
36fc8ec0b8ShaadDONE		lookupname/lookupnameat/nameiat
37fc8ec0b8ShaadDONE		device properties for disk partitions.
38fc8ec0b8ShaadDONE		changes to newfs fsck for zvols.
39fc8ec0b8ShaadDONE		re-read zpool.cache and reconfigure pools.
40fc8ec0b8ShaadDONE		successful unload of the module.
41*db475937ShaadDONE		implement basic getpages/putpages.
42fc8ec0b8ShaadDONE		callbacks into arc, for reclaim of memory or kernel virual space.
43fc8ec0b8ShaadDONE		prevent module loading if less than 512MB RAM.
44fc8ec0b8Shaad-		maybe changing the order of arguments for pool_cache constructors.
45*db475937ShaadDONE		check ioctl handlers for safety (for patch to allow old-style unix ioctl)
46fc8ec0b8ShaadPDONE		port ZFS ACL stuff, enough for POSIX.
47fc8ec0b8ShaadDONE		port zfs_replay.c to NetBSD
48fc8ec0b8ShaadDONE		successfully compile a kernel.
49fc8ec0b8Shaad-		stress testing.
50*db475937ShaadDONE		rc.d integration for zfs.
51fc8ec0b8ShaadDONE 		fix dangling vnode panic, get zfs unmount to work
52fc8ec0b8ShaadDONE		fix zfs_rename bug -> fix should be sent back to sun
53fc8ec0b8ShaadDONE		syncer/atime issues
54fc8ec0b8Shaad
55fc8ec0b8ShaadPost-integration tasks.
56fc8ec0b8Shaad
57fc8ec0b8Shaad-		 device properties for unique device id (driver:model-revision-serial-etc).
58fc8ec0b8Shaad-		 use device id to locate disks/partitions
59fc8ec0b8Shaad-		 port ZFS snapshot / ctldir stuff.
60fc8ec0b8Shaad-		 zfs/nfs integration.
61fc8ec0b8Shaad-		 zfs/iscsi integration.
62fc8ec0b8Shaad-		 native getpages/putpages.
63fc8ec0b8Shaad-		 update ZFS to latest.
64*db475937Shaad-		 Implement *at syscalls correctly.
65fc8ec0b8Shaad
66fc8ec0b8Shaad
67fc8ec0b8ShaadPDONE = Partialy done.
68