freebsd-nq/sys/fs
Pedro F. Giffuni 035e4e0494 Add support for ns timestamps and birthtime to the ext2/3 driver.
When using big inodes there is sufficient space in ext3 to
keep extra resolution and birthtime (creation) timestamps.
The appropriate fields in the on-disk inode have been approved
for a long time but support for this in ext3 has not been
widely  distributed.

In preparation for ext4 most linux distributions have enabled
by default such bigger inodes and some people use nanosecond
timestamps in ext3. We now support those when the inode is big
enough and while we do recognize the EXT4F_ROCOMPAT_EXTRA_ISIZE,
we maintain the extra timestamps even when they are not used.

An additional note by Bruce Evans:
We blindly accept unrepresentable tv_nsec in VOP_SETATTR(), but
all file  systems have always done that.  When POSIX gets around
to  specifying the behaviour, it will probably require certain
rounding to the fs's resolution and not rejecting the request.
This unfortunately means that syscalls that set times can't
really tell if they succeeded without reading back the times
using stat() or similar and checking that they were set close
enough.

Reviewed by:	bde
Approved by:	jhb (mentor)
MFC after:	2 weeks
2012-03-08 21:06:05 +00:00
..
cd9660 Remove unneeded cast to u_int. The values as small enough to fit into 2012-03-04 14:51:42 +00:00
coda Second-to-last commit implementing Capsicum capabilities in the FreeBSD 2011-08-11 12:30:23 +00:00
deadfs Add function vop_rename_fail(9) that performs needed cleanup for locks 2010-04-02 14:03:01 +00:00
devfs Add "export" to devfs_opts[] and return EOPNOTSUPP if called with it. 2012-02-29 16:16:36 +00:00
ext2fs Add support for ns timestamps and birthtime to the ext2/3 driver. 2012-03-08 21:06:05 +00:00
fdescfs Make sure all intermediate variables holding mount flags (mnt_flag) 2012-01-17 01:08:01 +00:00
fifofs The pipe_poll() performs lockless access to the vnode to test 2012-03-07 07:31:50 +00:00
hpfs Clean up style(9) nits 2012-03-04 09:38:20 +00:00
msdosfs Clean up style(9) nits 2012-03-04 09:38:20 +00:00
nfs Delete a couple of out of date comments that are no longer true in 2012-02-16 02:19:53 +00:00
nfsclient Post r230394, the Lookup RPC counts for both NFS clients increased 2012-03-03 01:06:54 +00:00
nfsserver The name caching changes of r230394 exposed an intermittent bug 2012-03-03 16:13:20 +00:00
ntfs Clean up style(9) nits 2012-03-04 09:38:20 +00:00
nullfs Do not expose unlocked unconstructed nullfs vnode on mount list. 2012-03-02 09:48:46 +00:00
nwfs Rename cache_lookup_times() to cache_lookup() and retire the old API and 2012-02-06 17:00:28 +00:00
portalfs Make sure all intermediate variables holding mount flags (mnt_flag) 2012-01-17 01:08:01 +00:00
procfs Add procfs to jail-mountable filesystems. 2012-02-29 00:30:18 +00:00
pseudofs Apply inlined vn_vget_ino() algorithm for ".." lookup in pseudofs. 2012-03-05 11:38:02 +00:00
smbfs Rename cache_lookup_times() to cache_lookup() and retire the old API and 2012-02-06 17:00:28 +00:00
tmpfs Similar to the fixes in 226967 and 226987, purge any name cache entries 2012-03-02 18:55:19 +00:00
udf Fix found places where uio_resid is truncated to int. 2012-02-21 01:05:12 +00:00
unionfs Add KTR_VFS traces to track modifications to a vnode's writecount. 2012-03-08 20:27:20 +00:00