Handle nfs IO_ASYNC write requests asynchronously.
Reviewed by: markj, rmacklem Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 2 weeks X-Differential revision: https://reviews.freebsd.org/D10241
This commit is contained in:
parent
d33759b51b
commit
5b0533a292
@ -1275,7 +1275,7 @@ again:
|
||||
error = error1;
|
||||
break;
|
||||
}
|
||||
} else if ((n + on) == biosize) {
|
||||
} else if ((n + on) == biosize || (ioflag & IO_ASYNC) != 0) {
|
||||
bp->b_flags |= B_ASYNC;
|
||||
(void) ncl_writebp(bp, 0, NULL);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user