mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-18 15:30:21 +00:00
Dont call ad_start unless the controller is idle.
This effectively nullified the usefullness of disksort().
This commit is contained in:
parent
73e3e59c77
commit
4c435787ab
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57930
@ -252,7 +252,8 @@ adstrategy(struct buf *bp)
|
|||||||
|
|
||||||
s = splbio();
|
s = splbio();
|
||||||
bufqdisksort(&adp->queue, bp);
|
bufqdisksort(&adp->queue, bp);
|
||||||
ad_start(adp);
|
if (adp->controller->active == ATA_IDLE)
|
||||||
|
ad_start(adp);
|
||||||
splx(s);
|
splx(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user