[PATCH 0/6] ZNS: Extra features for current patches
Javier González
javier at javigon.com
Thu Jun 25 08:21:46 EDT 2020
From: Javier González <javier.gonz at samsung.com>
This patchset extends zoned device functionality on top of the existing
v3 ZNS patchset that Keith sent last week.
Patches 1-5 are zoned block interface and IOCTL additions to expose ZNS
values to user-space. One major change is the addition of a new zone
management IOCTL that allows to extend zone management commands with
flags. I recall a conversation in the mailing list from early this year
where a similar approach was proposed by Matias, but never made it
upstream. We extended the IOCTL here to align with the comments in that
thread. Here, we are happy to get sign-offs by anyone that contributed
to the thread - just comment here or on the patch.
Patch 6 is nvme-only and adds an extra check to the ZNS report code to
ensure consistency on the zone count.
The patches apply on top of Jens' block-5.8 + Keith's V3 ZNS patches.
Thanks,
Javier
Javier González (6):
block: introduce IOCTL for zone mgmt
block: add support for selecting all zones
block: add support for zone offline transition
block: introduce IOCTL to report dev properties
block: add zone attr. to zone mgmt IOCTL struct
nvme: Add consistency check for zone count
block/blk-core.c | 2 +
block/blk-zoned.c | 108 +++++++++++++++++++++++++++++++++-
block/ioctl.c | 4 ++
drivers/nvme/host/core.c | 5 ++
drivers/nvme/host/nvme.h | 11 ++++
drivers/nvme/host/zns.c | 69 ++++++++++++++++++++++
include/linux/blk_types.h | 6 +-
include/linux/blkdev.h | 19 +++++-
include/uapi/linux/blkzoned.h | 69 +++++++++++++++++++++-
9 files changed, 289 insertions(+), 4 deletions(-)
--
2.17.1
More information about the Linux-nvme
mailing list