diff options
author | green <green@FreeBSD.org> | 2005-06-16 15:43:17 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2005-06-16 15:43:17 +0000 |
commit | b4b5044eedfad4a71800da608d5248a7fcb5338e (patch) | |
tree | ba1296b657358da7b56f1c7ae1291dab22d73607 /sys | |
parent | 916be01b37d37d0ce1f2ded843c9361fc622f0d1 (diff) | |
download | FreeBSD-src-b4b5044eedfad4a71800da608d5248a7fcb5338e.zip FreeBSD-src-b4b5044eedfad4a71800da608d5248a7fcb5338e.tar.gz |
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
Diffstat (limited to 'sys')
-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 4eb461d..35bf6c2 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); |