lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1382954409-30789-1-git-send-email-m@bjorling.me>
Date:	Mon, 28 Oct 2013 11:00:07 +0100
From:	Matias Bjorling <m@...rling.me>
To:	axboe@...nel.dk
Cc:	linux-kernel@...r.kernel.org, Matias Bjorling <m@...rling.me>
Subject: [PATCH 0/2] Allow drivers to tap into tags initialization

Patches based upon Axboe's blk-mq/core branch
  git://git.kernel.dk/linux-block.git

These two patches enable a driver to control if tags are initialized by blk-mq
or itself. This allows a driver to map multiple struct blk_mq_tags to multiple
hardware and share tags.

This is for example used by the NVMe, that has a limited number of queues,
shared by multiple request queues.

v1->v2
 * Changed blk_mq_init_tags_shared to blk_mq_tags_get.
 * Moved from EXPORT_SYMBOL_GPL to EXPORT_SYMBOL
 * Moved to using a flag for defining when driver handles tags initialization.

Matias Bjorling (2):
  blk-mq: allow request queues to share tags map
  blk-mq: add maps_tags fn and add usage

 block/blk-mq-tag.c     | 22 +++++++++++++++++++++-
 block/blk-mq.c         | 18 ++++++++++--------
 include/linux/blk-mq.h |  6 ++++++
 3 files changed, 37 insertions(+), 9 deletions(-)

-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ