Date: Fri, 6 Feb 2009 12:39:42 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/ufs/ffs ffs_alloc.c ffs_balloc.c ffs_extern.h ffs_inode.c ffs_vnops.c Message-ID: <200902061239.n16CdtB3041951@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2009-02-06 12:39:42 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/ufs/ffs ffs_alloc.c ffs_balloc.c ffs_extern.h
ffs_inode.c ffs_vnops.c
Log:
SVN rev 188231 on 2009-02-06 12:39:42Z by rwatson
Merge r187790 from head to stable/7:
Following a fair amount of real world experience with ACLs and
extended attributes since FreeBSD 5, make the following semantic
changes:
- Don't update the inode modification time (mtime) when extended
attributes (and hence also ACLs) are added, modified, or removed.
- Don't update the inode access tie (atime) when extended attributes
(and hence also ACLs) are queried.
This means that rsync (and related tools) won't improperly think
that the data in the file has changed when only the ACL has changed.
Note that ffs_reallocblks() has not been changed to not update on an
IO_EXT transaction, but currently EAs don't use the cluster write
routines so this shouldn't be a problem. If EAs grow support for
clustering, then VOP_REALLOCBLKS() will need to grow a flag argument
to carry down IO_EXT to UFS.
PR: ports/125739
Reported by: Alexander Zagrebin <alexz@visp.ru>
Tested by: pluknet <pluknet@gmail.com>,
Greg Byshenk <freebsd@byshenk.net>
Discussed with: kib, kientzle, timur, Alexander Bokovoy <ab@samba.org>
Revision Changes Path
1.147.2.3 +16 -7 src/sys/ufs/ffs/ffs_alloc.c
1.50.10.5 +23 -19 src/sys/ufs/ffs/ffs_balloc.c
1.74.2.1 +3 -3 src/sys/ufs/ffs/ffs_extern.h
1.108.2.2 +1 -1 src/sys/ufs/ffs/ffs_inode.c
1.173.2.4 +1 -8 src/sys/ufs/ffs/ffs_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902061239.n16CdtB3041951>
