> So, are you suggesting pushing data transfer or the whole HSM to > workqueue? I'm all for that. I just thought it didn't make sense to I was thinking data transfer but HSM itself might work too, I'd not even thought of push that much out. > Anyways, if that's the plan, as Albert suggested earlier, we can just > mark that HSM is running in ap->pflags or somewhere and skip Status > clearing if it's running. It's not like the controller is gonna raise > interrupt while it's transferring data anyway (we always have leading > status checks before data transfer). And the controllers with a hidden FIFO magically defer the IRQ until the FIFO empties so that the events occur in the expected sequence for the spec even if the drive transfer to the fifo already finished and the host is still emptying it. - To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html