Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Dec 1995 13:50:12 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        current@freebsd.org
Subject:   POSIX compliance and time updates
Message-ID:  <199512072050.NAA05518@phaeton.artisoft.com>

next in thread | raw e-mail | index | archive | help
It seems pretty obvious that the ufs_setattr() code in the file
/sys/ufs/ufs/ufs_vnops.c is bogusly requiring synchronous time
updates in the non-async case.

I believe that:

		error = VOP_UPDATE(vp, &atimeval, &mtimeval, 1);

should be:

		error = VOP_UPDATE(vp, &atimeval, &mtimeval, 0);

Resulting in a bdwrite() instead of a bwrite() in ffs_update() in the
file /sys/ufs/ffs/ffs_inode.c.

This should significantly increase performance on the bogus create/delete
benchmark.

Are there any dissenting opinions?


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512072050.NAA05518>