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. 41db475937ShaadDONE 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. 45db475937ShaadDONE 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. 50db475937ShaadDONE 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 59*bcfeb94dShaadPDONE port ZFS snapshot / ctldir stuff. 60fc8ec0b8Shaad- zfs/nfs integration. 61fc8ec0b8Shaad- zfs/iscsi integration. 62fc8ec0b8Shaad- native getpages/putpages. 63*bcfeb94dShaadPDONE zfs v22 update ZFS to latest. 64db475937Shaad- Implement *at syscalls correctly. 65fc8ec0b8Shaad 66*bcfeb94dShaadPre netbsd-6.0 tasks 67*bcfeb94dShaad- More testing especially zvol, vdev and zfs code snapshot will stay disabled 68*bcfeb94dShaad- Get ztest and zdb working 69*bcfeb94dShaad- Get zfs properties working 70*bcfeb94dShaad 71*bcfeb94dShaadPost netbsd-6.0 tasks 72*bcfeb94dShaad- Update to latest version 73*bcfeb94dShaad- Harden zfs, test, survive build.sh on zfs 74*bcfeb94dShaad- all Post integration tasks 75*bcfeb94dShaad- Write regression test suite 76*bcfeb94dShaad- RUMP port (might be very good idea.) 77*bcfeb94dShaad 78*bcfeb94dShaad 79*bcfeb94dShaad####### 80*bcfeb94dShaad## List of Know ZFS bugs/issues 81*bcfeb94dShaad####### 82*bcfeb94dShaad 83*bcfeb94dShaadUser-land 84*bcfeb94dShaad========= 85*bcfeb94dShaad 86*bcfeb94dShaad1) zpool list ENOMEM error .... fixed in rev 1.3 sunddi.h and rev 1.5 zfs_ioctl.h 87*bcfeb94dShaad2) zfs unmount crash in getmntinfo 88*bcfeb94dShaad3) ztest TXG dmu commit threshold problem ?? Maybe fixed by replacing atomic functions with mutex. 89*bcfeb94dShaad4) ztest vdev resize problem (spa_thread ? ) 90*bcfeb94dShaad 91*bcfeb94dShaadKernel 92*bcfeb94dShaad====== 93*bcfeb94dShaad 94*bcfeb94dShaad1) Faulted zpool after modload (missing ztest/ dmu_objset) 95*bcfeb94dShaad ZDB fails to work with because of this problem. This need to be investigated more. 96*bcfeb94dShaad see zdb.c#2904 97*bcfeb94dShaad 98*bcfeb94dShaad2) data lost on filesystem after panic 99*bcfeb94dShaad3) Strange panic during zfs_znode_dmu_init 100*bcfeb94dShaad4) zpool scrub panic in vdev_open->vdev_disk_open->VOP_IOCTL 101*bcfeb94dShaad5) zfs set doesn't work -> zfs set dedup=on, zfs set compression=gzip 102*bcfeb94dShaad6) device nodes in /dev/zvol are not created 103*bcfeb94dShaad 104*bcfeb94dShaad 105*bcfeb94dShaad 106*bcfeb94dShaad 107fc8ec0b8Shaad 108fc8ec0b8ShaadPDONE = Partialy done. 109