From: "Martin K. Petersen" Subject: Re: [PATCH V2] scsi: storvsc: Allow only one remove lun work item to be issued per lun Date: Tue, 31 Oct 2017 08:24:44 -0400 Message-ID: References: <1508261721-24144-1-git-send-email-cavery@redhat.com> <20171019153510.GA7633@infradead.org> <20171021154444.GK1302522@devbig577.frc2.facebook.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20171021154444.GK1302522@devbig577.frc2.facebook.com> (Tejun Heo's message of "Sat, 21 Oct 2017 08:44:44 -0700") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" To: Cathy Avery Cc: jejb@linux.vnet.ibm.com, linux-scsi@vger.kernel.org, martin.petersen@oracle.com, haiyangz@microsoft.com, linux-kernel@vger.kernel.org, Christoph Hellwig , Tejun Heo , devel@linuxdriverproject.org, dan.carpenter@oracle.com List-Id: linux-scsi@vger.kernel.org >> If you use alloc_ordered_workqueue directly instead of >> create_singlethread_workqueue you can pass a format string and don't >> need the separate allocation. >> >> But I'm not sure if Tejun is fine with using __WQ_LEGACY directly.. > > The only thing that flag does is exempting the workqueue from possible > flush deadlock check as we don't know whether WQ_MEM_RECLAIM on a > legacy workqueue is intentional. There's no reason to add it when > converting to alloc_ordered_workqueue(). Just decide whether it needs > forward progress guarantee and use WQ_MEM_RECLAIM if so. Cathy? -- Martin K. Petersen Oracle Linux Engineering