diff options
| author | James Smart <jsmart2021@gmail.com> | 2017-04-25 19:23:09 -0400 |
|---|---|---|
| committer | Jens Axboe <axboe@fb.com> | 2017-05-20 12:11:34 -0400 |
| commit | 4b8ba5fa525bc8bdaaed2a5c5433f0f2008d7bc5 (patch) | |
| tree | 8fb8566bfb1edb00de63305594aa8074859688e0 /include/linux | |
| parent | 2952a879bacbfae8b03fd886754e64fe14b8041e (diff) | |
nvmet-fc: remove target cpu scheduling flag
Remove NVMET_FCTGTFEAT_NEEDS_CMD_CPUSCHED. It's unnecessary.
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nvme-fc-driver.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/include/linux/nvme-fc-driver.h b/include/linux/nvme-fc-driver.h index 12e344b5b77f..6c8c5d8041b7 100644 --- a/include/linux/nvme-fc-driver.h +++ b/include/linux/nvme-fc-driver.h | |||
| @@ -642,15 +642,7 @@ enum { | |||
| 642 | * sequence in one LLDD operation. Errors during Data | 642 | * sequence in one LLDD operation. Errors during Data |
| 643 | * sequence transmit must not allow RSP sequence to be sent. | 643 | * sequence transmit must not allow RSP sequence to be sent. |
| 644 | */ | 644 | */ |
| 645 | NVMET_FCTGTFEAT_NEEDS_CMD_CPUSCHED = (1 << 1), | 645 | NVMET_FCTGTFEAT_CMD_IN_ISR = (1 << 1), |
| 646 | /* Bit 1: When 0, the LLDD will deliver FCP CMD | ||
| 647 | * on the CPU it should be affinitized to. Thus work will | ||
| 648 | * be scheduled on the cpu received on. When 1, the LLDD | ||
| 649 | * may not deliver the CMD on the CPU it should be worked | ||
| 650 | * on. The transport should pick a cpu to schedule the work | ||
| 651 | * on. | ||
| 652 | */ | ||
| 653 | NVMET_FCTGTFEAT_CMD_IN_ISR = (1 << 2), | ||
| 654 | /* Bit 2: When 0, the LLDD is calling the cmd rcv handler | 646 | /* Bit 2: When 0, the LLDD is calling the cmd rcv handler |
| 655 | * in a non-isr context, allowing the transport to finish | 647 | * in a non-isr context, allowing the transport to finish |
| 656 | * op completion in the calling context. When 1, the LLDD | 648 | * op completion in the calling context. When 1, the LLDD |
| @@ -658,7 +650,7 @@ enum { | |||
| 658 | * requiring the transport to transition to a workqueue | 650 | * requiring the transport to transition to a workqueue |
| 659 | * for op completion. | 651 | * for op completion. |
| 660 | */ | 652 | */ |
| 661 | NVMET_FCTGTFEAT_OPDONE_IN_ISR = (1 << 3), | 653 | NVMET_FCTGTFEAT_OPDONE_IN_ISR = (1 << 2), |
| 662 | /* Bit 3: When 0, the LLDD is calling the op done handler | 654 | /* Bit 3: When 0, the LLDD is calling the op done handler |
| 663 | * in a non-isr context, allowing the transport to finish | 655 | * in a non-isr context, allowing the transport to finish |
| 664 | * op completion in the calling context. When 1, the LLDD | 656 | * op completion in the calling context. When 1, the LLDD |
