diff options
author | Brian Feldman <green@FreeBSD.org> | 2005-06-16 15:43:17 +0000 |
---|---|---|
committer | Brian Feldman <green@FreeBSD.org> | 2005-06-16 15:43:17 +0000 |
commit | 6979a7592aa2209402dcdbc72780039b0b5a051f (patch) | |
tree | ba1296b657358da7b56f1c7ae1291dab22d73607 /sys/nfsclient/nfs_bio.c | |
parent | 151a929654d7b18748a9f815d1329d05e602df6b (diff) | |
download | src-6979a7592aa2209402dcdbc72780039b0b5a051f.tar.gz src-6979a7592aa2209402dcdbc72780039b0b5a051f.zip |
Ifdef out the incomplete non-blocking IO implementation for NFS
pending discussion of how implementation would proceed. Applications
like -lc_r expect select(3) to match the EAGAIN-status of IO
functions.
Approved by: re
Notes
Notes:
svn path=/head/; revision=147420
Diffstat (limited to 'sys/nfsclient/nfs_bio.c')
-rw-r--r-- | sys/nfsclient/nfs_bio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/nfsclient/nfs_bio.c b/sys/nfsclient/nfs_bio.c index 4eb461dba075..35bf6c23742c 100644 --- a/sys/nfsclient/nfs_bio.c +++ b/sys/nfsclient/nfs_bio.c @@ -873,6 +873,7 @@ nfs_write(struct vop_write_args *ap) */ if (ioflag & (IO_APPEND | IO_SYNC)) { if (np->n_flag & NMODIFIED) { +#ifdef notyet /* Needs matching nonblock semantics elsewhere, too. */ /* * Require non-blocking, synchronous writes to * dirty files to inform the program it needs @@ -880,6 +881,7 @@ nfs_write(struct vop_write_args *ap) */ if (ioflag & IO_NDELAY) return (EAGAIN); +#endif flush_and_restart: np->n_attrstamp = 0; error = nfs_vinvalbuf(vp, V_SAVE, td, 1); |