diff options
author | 2020-07-01 11:07:44 +0800 | |
---|---|---|
committer | 2020-07-02 23:13:54 -0400 | |
commit | 1a9826204109acd3f8e926394b16bd4cdc4c5dbb (patch) | |
tree | 9f7ee3cdd31f5ed13ccb763860437798ab34e404 /drivers/scsi/scsi_transport_iscsi.c | |
parent | scsi: scsi_transport_spi: Fix function pointer check (diff) | |
download | linux-1a9826204109acd3f8e926394b16bd4cdc4c5dbb.tar.gz linux-1a9826204109acd3f8e926394b16bd4cdc4c5dbb.tar.bz2 linux-1a9826204109acd3f8e926394b16bd4cdc4c5dbb.zip |
scsi: iscsi: Change iSCSI workqueue max_active back to 1
Commit 3ce419662dd4 ("scsi: iscsi: Register sysfs for iscsi workqueue")
enabled 'cpumask' support for iSCSI workqueues. However, it is unnecessary
to set max_active = 2 since 'cpumask' can still be modified when max_active
is 1.
This patch sets max_active to 1 so as to keep the same behaviour as before.
Link: https://lore.kernel.org/r/20200701030745.16897-1-bob.liu@oracle.com
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Bob Liu <bob.liu@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_transport_iscsi.c')
-rw-r--r-- | drivers/scsi/scsi_transport_iscsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_transport_iscsi.c b/drivers/scsi/scsi_transport_iscsi.c index f4cc08eb47ba..7ae5024e7824 100644 --- a/drivers/scsi/scsi_transport_iscsi.c +++ b/drivers/scsi/scsi_transport_iscsi.c @@ -4760,7 +4760,7 @@ static __init int iscsi_transport_init(void) iscsi_eh_timer_workq = alloc_workqueue("%s", WQ_SYSFS | __WQ_LEGACY | WQ_MEM_RECLAIM | WQ_UNBOUND, - 2, "iscsi_eh"); + 1, "iscsi_eh"); if (!iscsi_eh_timer_workq) { err = -ENOMEM; goto release_nls; |