The following patches make several changes in rcfs in order to - improve clarity, by consolidating code into a smaller number of files, making the generic filesystem functions similar to the boilerplates found in other virtual filesystems - improve error handling, both returning values as well as unwinding auto-creation of virtual files - eliminate inode leakage on repeated mounting
It was also intended to reduce rcfs code size but that didn't happen - the number of lines have gone up slighlty due to additional code added for clarity and error handling. The changes have been tested for taskclasses only. Socketclass functions have been tested standalone but not with the network controller enabled. Outstanding issues - RBCE will not work (or compile) with this codebase. There is potential for simplifying RBCE's filesystem code which will be done shortly in a separate patch. - The rcfs mount point is still hardcoded. A patch to eliminate the dependency will also be submitted when this patchset is submitted for inclusion. Please comment. This is not being submitted for inclusion in the CKRM codebase yet. -- Shailabh Patches generated against 2.6.12, over the CKRM patchset included in 2.6.13-rc3-mm1. Series ckrm-rcfs-rewrite-move-initialization.patch ckrm-rcfs-rewrite-noperm-inode-ops.patch ckrm-rcfs-rewrite-allocate-inode.patch ckrm-rcfs-rewrite-generic-utility-functions.patch ckrm-rcfs-rewrite-generic-create.patch ckrm-rcfs-rewrite-eliminate-rename.patch ckrm-rcfs-rewrite-generic-delete.patch ckrm-rcfs-rewrite-create-core-class.patch ckrm-rcfs-rewrite-create-virtual-files.patch ckrm-rcfs-rewrite-register-classtypes.patch ckrm-rcfs-rewrite-register-classification-engines.patch ckrm-rcfs-rewrite-superblock-operations.patch ckrm-rcfs-rewrite-virtual-file-operations.patch ckrm-rcfs-rewrite-taskclass-operations.patch ckrm-rcfs-rewrite-socketclass-operations.patch ckrm-rcfs-rewrite-cleanup-makefile.patch ckrm-rcfs-rewrite-rename-magic.patch ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ ckrm-tech mailing list https://lists.sourceforge.net/lists/listinfo/ckrm-tech
