• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/nfs/

Lines Matching defs:commit

1266 	/* write verifier changed, clear commit/wverf flags */
2358 * write (or commit) the given NFS buffer
2432 /* If NB_NEEDCOMMIT is set, a commit RPC may do the trick. */
2626 * a commit (or stable (re)write) is performed. Buffers needing only
2627 * a commit are marked with the NB_DELWRI and NB_NEEDCOMMIT flags.
2655 /* either there's an error or we don't need to commit */
2685 * We do use unstable writes and follow up with a commit.
2694 int error = 0, commit, iomode, iomode2, len, pg, count, npages, off;
2722 commit = NFS_WRITE_FILESYNC;
2744 if (iomode2 < commit) /* Retain the lowest commitment level returned. */
2745 commit = iomode2;
2746 if ((commit != NFS_WRITE_FILESYNC) && (wverf != bp->nb_verf)) {
2761 if (!error && (commit != NFS_WRITE_FILESYNC)) {
2960 /* save lowest commit level returned */
3056 * Send commit(s) for the given node's "needcommit" buffers
3075 * and the commit rpc is done.
3123 * also to prevent vm from paging it during our commit rpc
3145 * we'd abort the commit and force the entire buffer to be
3148 * Instead of doing that, we now go ahead and commit the dirty
3155 * so we can deal with them all with one commit.
3174 * may be a race between the commit rpc and new
3198 * one call for all of them, otherwise commit each one
3203 * Note, it's possible the commit range could be >2^32-1.
3204 * If it is, we'll send one commit that covers the whole file.
3224 * blocks dirty, depending on whether the commit
3325 * and call nfs_flushcommits() to commit any uncommitted buffers.