Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751852AbaKCIYD (ORCPT ); Mon, 3 Nov 2014 03:24:03 -0500 Received: from casper.infradead.org ([85.118.1.10]:54716 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751020AbaKCIXT (ORCPT ); Mon, 3 Nov 2014 03:23:19 -0500 From: Christoph Hellwig To: Jens Axboe Cc: Richard Weinberger , Ming Lei , ceph-devel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: blk-mq: allow to defer ->queue_rq invocations to workqueue Date: Mon, 3 Nov 2014 09:23:26 +0100 Message-Id: <1415003008-16683-1-git-send-email-hch@lst.de> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Drivers that need to do synchronous, blocking operations to do I/O generally want to defer all I/O to a drŅ–ver-private workqueue. Examples for that are the loop driver, rbd, or ubi block driver, and probably lots more that haven't been evaluated yet. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/