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
This commit is contained in:
parent
151a929654
commit
6979a7592a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=147420
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user