version 1.110.2.1, 2019/06/10 22:07:06 |
version 1.110.2.2, 2020/04/08 14:08:03 |
Line 206 wdc_ata_bio_start(struct ata_channel *ch |
|
Line 206 wdc_ata_bio_start(struct ata_channel *ch |
|
* that we never get to this point if that's the case. |
* that we never get to this point if that's the case. |
*/ |
*/ |
/* If it's not a polled command, we need the kernel thread */ |
/* If it's not a polled command, we need the kernel thread */ |
if ((xfer->c_flags & C_POLL) == 0 && |
if ((xfer->c_flags & C_POLL) == 0 && !ata_is_thread_run(chp)) |
(chp->ch_flags & ATACH_TH_RUN) == 0) { |
|
return ATASTART_TH; |
return ATASTART_TH; |
} |
|
/* |
/* |
* disable interrupts, all commands here should be quick |
* disable interrupts, all commands here should be quick |
* enough to be able to poll, and we don't go here that often |
* enough to be able to poll, and we don't go here that often |