git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4778f1f
)
linux-write-dirty-pages-once-20050802
author
Chas Williams
<chas@cmf.nrl.navy.mil>
Tue, 2 Aug 2005 06:11:38 +0000 (06:11 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Tue, 2 Aug 2005 06:11:38 +0000 (06:11 +0000)
FIXES 20561
also done in afs_linux_write
src/afs/LINUX/osi_vnodeops.c
patch
|
blob
|
history
diff --git
a/src/afs/LINUX/osi_vnodeops.c
b/src/afs/LINUX/osi_vnodeops.c
index
fc9fcfc
..
1763da7
100644
(file)
--- a/
src/afs/LINUX/osi_vnodeops.c
+++ b/
src/afs/LINUX/osi_vnodeops.c
@@
-1375,16
+1375,6
@@
afs_linux_writepage_sync(struct inode *ip, struct page *pp,
ip->i_size = vcp->m.Length;
ip->i_blocks = ((vcp->m.Length + 1023) >> 10) << 1;
- if (!code
- && afs_stats_cmperf.cacheCurrDirtyChunks >
- afs_stats_cmperf.cacheMaxDirtyChunks) {
- struct vrequest treq;
-
- ObtainWriteLock(&vcp->lock, 533);
- if (!afs_InitReq(&treq, credp))
- code = afs_DoPartialWrite(vcp, &treq);
- ReleaseWriteLock(&vcp->lock);
- }
code = code ? -code : count - tuio.uio_resid;
afs_Trace4(afs_iclSetp, CM_TRACE_UPDATEPAGE, ICL_TYPE_POINTER, vcp,