YAMInTheWrongDirectionF22 (part of rev.1.28.2.3: set B_CLUSTEROK for

commits).
This commit is contained in:
Bruce Evans 1997-03-09 10:21:26 +00:00
parent 93a4679a23
commit 7eff94279a
2 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_bio.c 8.9 (Berkeley) 3/30/95
* $Id$
* $Id: nfs_bio.c,v 1.32 1997/02/22 09:42:35 peter Exp $
*/
@ -956,7 +956,7 @@ nfs_doio(bp, cr, p)
bp->b_flags |= B_WRITEINPROG;
error = nfs_writerpc(vp, uiop, cr, &iomode, &must_commit);
if (!error && iomode == NFSV3WRITE_UNSTABLE)
bp->b_flags |= B_NEEDCOMMIT;
bp->b_flags |= B_NEEDCOMMIT | B_CLUSTEROK;
else
bp->b_flags &= ~B_NEEDCOMMIT;
bp->b_flags &= ~B_WRITEINPROG;

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_bio.c 8.9 (Berkeley) 3/30/95
* $Id$
* $Id: nfs_bio.c,v 1.32 1997/02/22 09:42:35 peter Exp $
*/
@ -956,7 +956,7 @@ nfs_doio(bp, cr, p)
bp->b_flags |= B_WRITEINPROG;
error = nfs_writerpc(vp, uiop, cr, &iomode, &must_commit);
if (!error && iomode == NFSV3WRITE_UNSTABLE)
bp->b_flags |= B_NEEDCOMMIT;
bp->b_flags |= B_NEEDCOMMIT | B_CLUSTEROK;
else
bp->b_flags &= ~B_NEEDCOMMIT;
bp->b_flags &= ~B_WRITEINPROG;