Re: ata: BUG in ata_sff_hsm_move

From: Tejun Heo
Date: Fri Jan 29 2016 - 15:24:47 EST


Hello, David.

On Fri, Jan 29, 2016 at 12:14:42PM -0600, David Milburn wrote:
> Can ata_sff_hsm_move grab the lock and save off the task_state,
> like this patch?

It's not just the task_state. Everything the polling path is doing is
dangerous. It's all pretty confused.

Thanks.

--
tejun