Date: Wed, 19 Apr 2000 00:38:21 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ufs/ufs extattr.h ufs_extattr.c Message-ID: <200004190738.AAA88601@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2000/04/19 00:38:21 PDT Modified files: sys/ufs/ufs extattr.h ufs_extattr.c Log: o Cause attribute data writes to use IO_SYNC since this improves the chances of consistency with other file/directory meta-data in a write. In the current set of extended attribute applications, this does not hurt much. This should be discussed again later when it comes time to optimize performance of attributes. o Include an inode generation number in the per-attribute header information. This allows consistency verification to catch when a crash occurs, or an inode is recycled while attributes are not properly configured. For now, an irritating error message is displayed when an inconsistency occurs. At some point, may introduce an ``extattrctl check ...'' which catches these before attributes are enabled. Not today. If you get this message, it means you somehow managed to get your attribute backing file out of synch with the file system. When this occurs, attribute not found is returned (== undefined). Writes will overwrite the value there correcting the problem. Might want to think about introducing a new errno or two to handle this kind of situation. Discussed with: kris Revision Changes Path 1.2 +2 -1 src/sys/ufs/ufs/extattr.h 1.3 +17 -2 src/sys/ufs/ufs/ufs_extattr.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004190738.AAA88601>