mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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
fc9437c886
commit
b73cd4d344
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue