[BSD] LSI MegaRAID U320-2

Gabor HALASZ halasz.g at freemail.hu
2010. Okt. 5., K, 15:32:15 CEST


On 2010.10.04. 15:30, Gabor HALASZ wrote:
>
> static int
> amr_quartz_submit_command(struct amr_command *ac)
> {
> ...
> if (sc->amr_mailbox->mb_busy) {
> mtx_unlock(&sc->amr_hw_lock);
> if (ac->ac_retries++ > 1000) {
> if (ppsratecheck(&lastfail, &curfail, 1))
> device_printf(sc->amr_dev, "Too many retries on command %p. "
> "Controller is likely dead\n", ac);
> ac->ac_retries = 0;
> }
> return (EBUSY);
> }
>
Ez csinalja, ha a cache policy writeback. Ha writethrough, akkor nem 
csinalja, cserebe szaggat az io. A raidvezerlo cache-et is lecsereltem.

-- 
Gabor HALASZ <halasz.g at freemail.hu>



További információk a(z) BSD levelezőlistáról