From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753562AbaCaOoK (ORCPT ); Mon, 31 Mar 2014 10:44:10 -0400 Received: from casper.infradead.org ([85.118.1.10]:38595 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752467AbaCaOoI (ORCPT ); Mon, 31 Mar 2014 10:44:08 -0400 From: Christoph Hellwig To: Jens Axboe Cc: Matias Bjorling , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Subject: [RFC] blk-mq: support for shared tags Date: Mon, 31 Mar 2014 16:46:11 +0200 Message-Id: <1396277175-21382-1-git-send-email-hch@lst.de> X-Mailer: git-send-email 1.7.10.4 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 This series adds support for sharing tags (and thus requests) between multiple request_queues. We'll need this for SCSI, and I think Martin also wants something similar for nvme. Besides the mess with request contructors/destructors the major RFC here is how the blk_mq_alloc_shared_tags API should look like. For now I've been lazy and reused struct blk_mq_reg, but that feels a bit cumbersome. Either a separate blk_mq_tags_reg or just passing the few arguments directly would work fine for me.