PERFORCE change 178774 for review
Ilya Bakulin
kibab at FreeBSD.org
Tue May 25 20:23:14 UTC 2010
http://p4web.freebsd.org/@@178774?ac=10
Change 178774 by kibab at kibab_kibab-nb on 2010/05/25 20:22:56
New features:
- ffs_snapshot: if the kernel has support for FFS snapshots;
- softupdates: if soft-updates support is compiled into kernel;
- ufs_acl: indicates support for POSIX.1e compliant ACLs on UFS file systems;
- ufs_gjournal: journaling support for UFS.
Reviewed by: Alexander Leidinger (mentor)
Affected files ...
.. //depot/projects/soc2010/kibab_sysctlreg/src_sys/ufs/ffs/ffs_snapshot.c#3 edit
.. //depot/projects/soc2010/kibab_sysctlreg/src_sys/ufs/ffs/ffs_softdep.c#3 edit
.. //depot/projects/soc2010/kibab_sysctlreg/src_sys/ufs/ufs/ufs_acl.c#2 edit
.. //depot/projects/soc2010/kibab_sysctlreg/src_sys/ufs/ufs/ufs_vnops.c#2 edit
Differences ...
==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/ufs/ffs/ffs_snapshot.c#3 (text+ko) ====
@@ -124,6 +124,7 @@
}
#else
+FEATURE(ffs_snapshot, "FFS snapshot support");
TAILQ_HEAD(snaphead, inode);
==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/ufs/ffs/ffs_softdep.c#3 (text+ko) ====
@@ -576,6 +576,9 @@
}
#else
+
+FEATURE(softupdates, "FFS soft-updates support");
+
/*
* These definitions need to be adapted to the system to which
* this file is being ported.
==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/ufs/ufs/ufs_acl.c#2 (text+ko) ====
@@ -57,6 +57,8 @@
#ifdef UFS_ACL
+FEATURE(ufs_acl, "POSIX.1e ACL support for UFS");
+
/*
* Synchronize an ACL and an inode by copying over appropriate inode fields
* to the passed ACL. Assumes an ACL that would satisfy acl_posix1e_check(),
==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/ufs/ufs/ufs_vnops.c#2 (text+ko) ====
@@ -84,6 +84,7 @@
#endif
#ifdef UFS_GJOURNAL
#include <ufs/ufs/gjournal.h>
+FEATURE(ufs_gjournal, "Journaling support through GEOM for UFS");
#endif
#include <ufs/ffs/ffs_extern.h>
More information about the p4-projects
mailing list