From: Shaun Tancheff <shaun@tancheff.com>
To: linux-block@vger.kernel.org, linux-scsi@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: Shaun Tancheff <shaun@tancheff.com>, Jens Axboe <axboe@kernel.dk>,
Christoph Hellwig <hch@lst.de>,
"James E . J . Bottomley" <jejb@linux.vnet.ibm.com>,
"Martin K . Petersen" <martin.petersen@oracle.com>,
Damien Le Moal <damien.lemoal@hgst.com>,
Hannes Reinecke <hare@suse.de>,
Josh Bingaman <josh.bingaman@seagate.com>,
Dan Williams <dan.j.williams@intel.com>,
Sagi Grimberg <sagig@mellanox.com>,
Mike Christie <mchristi@redhat.com>,
Toshi Kani <toshi.kani@hpe.com>,
Ming Lei <ming.lei@canonical.com>
Subject: [PATCH v2 0/4] Integrate bio/request ZBC ops with zone cache
Date: Sun, 21 Aug 2016 23:31:12 -0500 [thread overview]
Message-ID: <20160822043116.21168-1-shaun@tancheff.com> (raw)
Hi,
As per Christoph's request this patch incorporates Hannes' cache of zone
information.
This approach is to have REQ_OP_ZONE_REPORT return data in the same
format regardless of the availability of the zone cache. So if the
is kernel being built with or without BLK_DEV_ZONED [and SCSI_ZBC]
users of blkdev_issue_zone_report() and/or REQ_OP_ZONE_REPORT bio's
will have a consistent data format to digest.
Additionally it seems reasonable to allow the REQ_OP_ZONE_* to
be able to indicate if the command *must* be delivered to the
device [and update the zone cache] accordingly. Here REQ_META is
being used as REQ_FUA can be dropped causing sd_done to be skipped.
Rather than special case the current code I chose to pick an otherwise
non-applicable flag.
This series is based off of Linus's v4.8-rc2 and builds on top of the
previous series of block layer support:
Add ioctl to issue ZBC/ZAC commands via block layer
Add bio/request flags to issue ZBC/ZAC commands
as well as the series posted by Hannes
sd_zbc: Fix handling of ZBC read after write pointer
sd: Limit messages for ZBC disks capacity change
sd: Implement support for ZBC devices
sd: Implement new RESET_WP provisioning mode
sd: configure ZBC devices
...
Patches for util-linux can be found here:
git@github.com:stancheff/util-linux.git v2.28.1+biof
https://github.com/stancheff/util-linux/tree/v2.28.1%2Bbiof
This patch is available here:
https://github.com/stancheff/linux/tree/v4.8-rc2%2Bbiof.v9
git@github.com:stancheff/linux.git v4.8-rc2+biof.v9
v2:
- Fully integrated bio <-> zone cache [<-> device]
- Added discard -> write same for conventional zones.
- Merged disparate constants into a canonical set.
Shaun Tancheff (4):
Enable support for Seagate HostAware drives (testing).
On Discard either do Reset WP or Write Same
Merge ZBC constants
Integrate ZBC command requests with zone cache.
block/blk-lib.c | 16 -
drivers/scsi/sd.c | 111 +++--
drivers/scsi/sd.h | 49 ++-
drivers/scsi/sd_zbc.c | 904 ++++++++++++++++++++++++++++++++++----
include/linux/blkdev.h | 22 +-
include/scsi/scsi_proto.h | 17 -
include/uapi/linux/blkzoned_api.h | 167 ++++---
7 files changed, 1032 insertions(+), 254 deletions(-)
--
2.9.3
next reply other threads:[~2016-08-22 4:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-22 4:31 Shaun Tancheff [this message]
2016-08-22 4:31 ` [PATCH v2 1/4] Enable support for Seagate HostAware drives Shaun Tancheff
2016-08-22 4:31 ` [PATCH v2 2/4] On Discard either do Reset WP or Write Same Shaun Tancheff
2016-08-22 23:57 ` Damien Le Moal
2016-08-22 23:57 ` Damien Le Moal
2016-08-22 23:57 ` Damien Le Moal
2016-08-23 0:22 ` Shaun Tancheff
2016-08-23 1:25 ` Damien Le Moal
2016-08-23 1:25 ` Damien Le Moal
2016-08-23 1:25 ` Damien Le Moal
2016-08-24 5:19 ` Shaun Tancheff
2016-08-22 4:31 ` [PATCH v2 3/4] Merge ZBC constants Shaun Tancheff
2016-08-22 4:31 ` [PATCH v2 4/4] Integrate ZBC command requests with zone cache Shaun Tancheff
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=20160822043116.21168-1-shaun@tancheff.com \
--to=shaun@tancheff.com \
--cc=axboe@kernel.dk \
--cc=damien.lemoal@hgst.com \
--cc=dan.j.williams@intel.com \
--cc=hare@suse.de \
--cc=hch@lst.de \
--cc=jejb@linux.vnet.ibm.com \
--cc=josh.bingaman@seagate.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=mchristi@redhat.com \
--cc=ming.lei@canonical.com \
--cc=sagig@mellanox.com \
--cc=toshi.kani@hpe.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.