- Acquire Giant in AIO's iodone routine. VFS will no longer do it for us
soon. Sponsored by: Isilon Systems, Inc.
This commit is contained in:
parent
4e0ed69694
commit
a230c79b9e
@ -2149,6 +2149,7 @@ aio_physwakeup(struct buf *bp)
|
||||
struct kaioinfo *ki;
|
||||
struct aio_liojob *lj;
|
||||
|
||||
mtx_lock(&Giant);
|
||||
wakeup(bp);
|
||||
|
||||
aiocbe = (struct aiocblist *)bp->b_caller1;
|
||||
@ -2205,6 +2206,7 @@ aio_physwakeup(struct buf *bp)
|
||||
aiocbe->timeouthandle =
|
||||
timeout(process_signal, aiocbe, 0);
|
||||
}
|
||||
mtx_unlock(&Giant);
|
||||
}
|
||||
|
||||
/* syscall - wait for the next completion of an aio request */
|
||||
|
Loading…
Reference in New Issue
Block a user