Hello, This is the second status [1] of porting AdvFS to NetBSD.
Thank you for your motivation support, including mails from outside the NetBSD world. 1. What is done - Moved AdvFS files from src/sys/fs/msfs to src/sys/external/gpl2/msfs and updated the build machinery - Picked missing dyn_hashtable functionality from the HP/UX port of AdvFS - Designed new debugging & tracing system, with changeable levels (none, fatal asserts, debug asserts, extensive checks) it's intended to replace the existing fine-grained debugging that is placed in the original work almost everywhere and it's impractically difficult to port 1:1, as it's utilizing Tru64-specific features -- the HP/UX port went with similar path; most debugging code (most notably related to locking) will be gone - Stopped using indent(1) as it introduces a lot of harm because of extensive usage of macros (missing semicolons etc..) - Overall: cleaned and squashed 377 proof-of-concept (aka throw-away) commits [2] into 115 cleaned revisions (aka throw-away later) [3] 2. What is in progress - Adapting locking code, with verification of the right path with the HP/UX port - Adapting debugging for new design, removing unneeded code-complication and Tru64-specific debug solutions - Converting macros, used as in-lined functions with side-effects, to functions - Removing alternative compilation paths (exception for _KERNEL in general and MSFS_DEBUG in msfs/ms_assert.h) - Other compatibility patches for a modern compiler and NetBSD 3. Issues - Missing subsystems' details from Tru64, still no idea about definitions of functions from overlap.h, missing quota's code (but not looked at it closely) 4. Next steps - Virtual Memory porting 5. Pushed to NetBSD - Proposed new <sys/clock.h> patch [4] still pending :-( and blocking further reduction of MD code.. Help and motivation support is still appreciated. [1] Previous status at http://mail-index.netbsd.org/tech-kern/2014/09/17/msg017684.html [2] https://github.com/krytarowski/netbsd-current-src-sys/tree/advfs_2014-09-27_old [3] https://github.com/krytarowski/netbsd-current-src-sys/tree/advfs [4] http://mail-index.netbsd.org/netbsd-bugs/2014/10/08/msg038523.html & http://mail-index.netbsd.org/netbsd-bugs/2014/10/09/msg038531.html