Also, I noticed that my patch has a nice bug in the resume path, I
use ide_preempt, which doesn't wait for the request to complete,
but the request & struct state are allocated on the stack... ouch...
It would be interesting to not wait for completion of the resume
still here, there's no reason why resume of the disk can't be done
asynchronously since we only release the request queue once completed,
so I probably need to allocate the suspend request and release it from
interrupt.
Also, having a separate structure pointed to by ->special only makes
this more complicated, there are plenty of fields in struct request
that I could indeed use for my state information (like the cmd[] stuff)
Ben.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/