From mboxrd@z Thu Jan 1 00:00:00 1970 From: hch@lst.de (Christoph Hellwig) Date: Mon, 23 Nov 2015 21:48:42 +0100 Subject: [PATCH 03/47] block: defer timeouts to a workqueue In-Reply-To: References: <1448037342-18384-1-git-send-email-hch@lst.de> <1448037342-18384-4-git-send-email-hch@lst.de> Message-ID: <20151123204842.GA18721@lst.de> On Mon, Nov 23, 2015@03:31:32PM -0500, Jeff Moyer wrote: > I don't see where the blk-mq timeout work is ever scheduled. You > removed the call to setup_timer for the mq case, so what causes the mq > timeout work to run? I must be missing something. No we use the timer which we initialize in blk_alloc_queue_node instead of overwriting it later in the blk-mq case. The timer gets added in blk_add_timer either way.