From: Konstantin Shelekhin <k.shelekhin@yadro.com>
To: Martin Petersen <martin.petersen@oracle.com>,
Mike Christie <michael.christie@oracle.com>,
<target-devel@vger.kernel.org>
Cc: <linux@yadro.com>, <linux-scsi@vger.kernel.org>,
Konstantin Shelekhin <k.shelekhin@yadro.com>
Subject: [PATCH 0/2] target: Introduce dummy devices
Date: Thu, 18 Mar 2021 12:42:23 +0300 [thread overview]
Message-ID: <20210318094224.17524-1-k.shelekhin@yadro.com> (raw)
This patch series (inspired by SCST) adds support for the dummy devices
via the new DUMMY flag of rd_mcp. The rationale behind the change is to
give a user the ability to create conifgurable devices for LUN 0 with
custom WWN values (like vendor, product or revision) as some tools like
QConvergeGUI use LUN 0 to identify the whole storage.
The advantage over simply creating a NULLIO rd_mcp device is that the
DUMMY device will not be seen as a block device, hence less confusion
for the system administrator.
Konstantin Shelekhin (2):
target: Add the DUMMY flag to rd_mcp
target: Make the virtual LUN 0 device dummy
drivers/target/target_core_device.c | 2 +-
drivers/target/target_core_rd.c | 27 +++++++++++++++++++++++----
drivers/target/target_core_rd.h | 1 +
drivers/target/target_core_spc.c | 6 +-----
4 files changed, 26 insertions(+), 10 deletions(-)
--
2.30.2
next reply other threads:[~2021-03-18 9:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-18 9:42 Konstantin Shelekhin [this message]
2021-03-18 9:42 ` [PATCH 1/2] target: Add the DUMMY flag to rd_mcp Konstantin Shelekhin
2021-03-22 17:06 ` Mike Christie
2021-03-22 18:57 ` Konstantin Shelekhin
2021-03-18 9:42 ` [PATCH 2/2] target: Make the virtual LUN 0 device dummy Konstantin Shelekhin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210318094224.17524-1-k.shelekhin@yadro.com \
--to=k.shelekhin@yadro.com \
--cc=linux-scsi@vger.kernel.org \
--cc=linux@yadro.com \
--cc=martin.petersen@oracle.com \
--cc=michael.christie@oracle.com \
--cc=target-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).