]> git.neil.brown.name Git - history.git/commit
[PATCH] too many setattr calls from VFS layer
authorChuck Lever <cel@citi.umich.edu>
Thu, 7 Nov 2002 08:43:31 +0000 (00:43 -0800)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Thu, 7 Nov 2002 08:43:31 +0000 (00:43 -0800)
commit2fbace6096db970a2e5c1e5a25570135394f494c
tree08f82e8a0f17ad91049d05bde437854126e46017
parent20eb6a8b29f845a0a1dd893a91cac35ac3cc3b45
[PATCH] too many setattr calls from VFS layer

New code in 2.5 VFS layer invokes notify_change to clear the suid and
sgid bits for every write request.  notify_change needs to optimize out
calls to ->setattr that don't do anything, because for many network file
systems, an on-the-wire SETATTR request is generated for every ->setattr
call, resulting in unnecessary latency for NFS writes.
fs/attr.c