Thread (3 messages) 3 messages, 2 authors, 2009-08-30

Re: [PATCH] ata_piix: parallel scanning on PATA needs an extra locking

From: Alan Cox <hidden>
Date: 2009-08-30 14:12:31
Also in: lkml

Lets fix all such races by adding an extra locking to ->set_piomode
and ->set_dmamode methods for PATA controllers.
Would it not be better to take the host lock in libata-core for these
cases so that we fix all the adapters in one swoop. Even if we are doing
this lock taking in the controller specific code it seems the right lock
to use ?

Looks fine as a temproary quickfix tho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help