Skip to content

Commit

Permalink
scsi/scsi_tgt_lib: scsi_tgtd isn't used in memory reclaim path
Browse files Browse the repository at this point in the history
Workqueue scsi_tgtd isn't used during memory reclaim.  Convert to
alloc_workqueue() without WQ_MEM_RECLAIM.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: FUJITA Tomonori <tomof@acm.org>
Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
Cc: linux-scsi@vger.kernel.org
  • Loading branch information
Tejun Heo committed Feb 1, 2011
1 parent 278274d commit 40f38ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/scsi_tgt_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ static int __init scsi_tgt_init(void)
if (!scsi_tgt_cmd_cache)
return -ENOMEM;

scsi_tgtd = create_workqueue("scsi_tgtd");
scsi_tgtd = alloc_workqueue("scsi_tgtd", 0, 1);
if (!scsi_tgtd) {
err = -ENOMEM;
goto free_kmemcache;
Expand Down

0 comments on commit 40f38ff

Please sign in to comment.