Home
last modified time | relevance | path

Searched refs:zoned (Results 1 – 25 of 54) sorted by relevance

123

/openbmc/qemu/docs/devel/
H A Dzoned-storage.rst2 zoned-storage
10 https://zonedstorage.io/docs/introduction/zoned-storage
12 1. Block layer APIs for zoned storage
14 QEMU block layer supports three zoned storage models:
15 - BLK_Z_HM: The host-managed zoned model only allows sequential writes access
18 - BLK_Z_HA: The host-aware zoned model allows random write operations in
20 - BLK_Z_NONE: The non-zoned model has no zones support. It includes both
29 the way up to the BlockBackend. If the zoned storage model in file-posix is
32 The block layer APIs support commands needed for zoned storage devices,
35 2. Emulating zoned storage controllers
[all …]
H A Dindex-api.rst18 zoned-storage
/openbmc/linux/Documentation/admin-guide/device-mapper/
H A Ddm-zoned.rst2 dm-zoned
5 The dm-zoned device mapper target exposes a zoned block device (ZBC and
7 pattern constraints. In effect, it implements a drive-managed zoned
10 host-managed zoned block devices and can mitigate the potential
12 host-aware zoned block devices.
14 For a more detailed description of the zoned block device models and
25 host-managed disk with 256 MB zones, dm-zoned memory usage per disk
29 dm-zoned target devices are formatted and checked using the dmzadm
32 https://github.com/hgst/dm-zoned-tools
38 write accesses to the sequential zones of a zoned block device.
[all …]
H A Dindex.rst25 dm-zoned
/openbmc/linux/Documentation/block/
H A Dnull_blk.rst137 zoned=[0/1]: Default: 0
138 Device is a random-access or a zoned block device.
142 1 Block device is exposed as a host-managed zoned block device. Requires
147 Per zone size when exposed as a zoned block device. Must be a power of two.
150 The number of conventional zones to create when block device is zoned. If
/openbmc/linux/drivers/md/
H A DMakefile28 dm-zoned-y += dm-zoned-target.o dm-zoned-metadata.o dm-zoned-reclaim.o
84 obj-$(CONFIG_DM_ZONED) += dm-zoned.o
/openbmc/openbmc/poky/meta/recipes-devtools/btrfs-tools/
H A Dbtrfs-tools_6.8.bb33 PACKAGECONFIG[zoned] = "--enable-zoned,--disable-zoned"
/openbmc/linux/block/
H A Dblk-settings.c59 lim->zoned = BLK_ZONED_NONE; in blk_set_default_limits()
688 t->zoned = max(t->zoned, b->zoned); in blk_stack_limits()
689 if (!t->zoned) { in blk_stack_limits()
925 unsigned int old_model = q->limits.zoned; in disk_set_zoned()
955 q->limits.zoned = model; in disk_set_zoned()
H A DMakefile33 obj-$(CONFIG_BLK_DEV_ZONED) += blk-zoned.o
36 obj-$(CONFIG_BLK_DEBUG_FS_ZONED)+= blk-mq-debugfs-zoned.o
/openbmc/qemu/docs/system/devices/
H A Dnvme.rst189 ``zoned=on`` on an ``nvme-ns`` device to configure it as a zoned namespace.
193 ``zoned.zone_size=SIZE`` (default: ``128MiB``)
196 ``zoned.zone_capacity=SIZE`` (default: ``0``)
200 ``zoned.descr_ext_size=UINT32`` (default: ``0``)
204 ``zoned.cross_read=BOOL`` (default: ``off``)
207 ``zoned.max_active=UINT32`` (default: ``0``)
211 ``zoned.max_open=UINT32`` (default: ``0``)
213 allows all zones to be open. If ``zoned.max_active`` is specified, this value
216 ``zoned.zasl=UINT8`` (default: ``0``)
/openbmc/linux/drivers/block/null_blk/
H A DMakefile11 null_blk-$(CONFIG_BLK_DEV_ZONED) += zoned.o
H A Dmain.c221 module_param_named(zoned, g_zoned, bool, S_IRUGO);
222 MODULE_PARM_DESC(zoned, "Make device as a host-managed zoned block device. Default: false");
433 NULLB_DEVICE_ATTR(zoned, bool, NULL);
749 dev->zoned = g_zoned; in null_alloc_dev()
1268 if (dev->zoned) in null_transfer()
1501 if (dev->zoned) in null_handle_cmd()
1872 if (nullb->dev->zoned) { in null_config_discard()
1967 if (nullb->dev->zoned) { in null_gendisk_register()
2063 if (dev->zoned && in null_validate_conf()
2163 if (dev->zoned) { in null_add_dev()
H A Dnull_blk.h119 bool zoned; /* if device is zoned */ member
/openbmc/linux/Documentation/filesystems/
H A Dzonefs.rst10 zonefs is a very simple file system exposing each zone of a zoned block device
11 as a file. Unlike a regular POSIX-compliant file system with native zoned block
13 constraint of zoned block devices to the user. Files representing sequential
19 the implementation of zoned block device support in applications by replacing
23 tree structures (such as used in RocksDB and LevelDB) on zoned block devices
52 Solid State Disks (SSD) storage devices can also implement a zoned interface
55 committee aiming at adding a zoned storage interface to the NVMe protocol.
60 Zonefs exposes the zones of a zoned block device as files. The files
151 for zoned block devices on device initialization.
359 where <dev> is the name of the mounted zoned block device.
[all …]
/openbmc/linux/Documentation/ABI/stable/
H A Dsysfs-block162 segment. For a zoned block device, either host-aware or
387 [RO] For zoned block devices (zoned attribute indicating
426 [RO] For zoned block devices (zoned attribute indicating
506 [RO] nr_zones indicates the total number of zones of a zoned
689 write operations in sequential zones of zoned block devices
694 What: /sys/block/<disk>/queue/zoned
698 [RO] zoned indicates if the device is a zoned block device and
699 the zone model of the device if it is indeed zoned. The
701 devices and "host-aware" or "host-managed" for zoned block
703 zoned block devices are described in the ZBC (Zoned Block
[all …]
/openbmc/qemu/hw/block/
H A Dvirtio-blk-common.c33 .end = endof(struct virtio_blk_config, zoned)},
H A Dvirtio-blk.c1197 if (bs->bl.zoned != BLK_Z_NONE) { in virtio_blk_update_config()
1198 switch (bs->bl.zoned) { in virtio_blk_update_config()
1200 blkcfg.zoned.model = VIRTIO_BLK_Z_HM; in virtio_blk_update_config()
1203 blkcfg.zoned.model = VIRTIO_BLK_Z_HA; in virtio_blk_update_config()
1209 virtio_stl_p(vdev, &blkcfg.zoned.zone_sectors, in virtio_blk_update_config()
1211 virtio_stl_p(vdev, &blkcfg.zoned.max_active_zones, in virtio_blk_update_config()
1213 virtio_stl_p(vdev, &blkcfg.zoned.max_open_zones, in virtio_blk_update_config()
1216 virtio_stl_p(vdev, &blkcfg.zoned.max_append_sectors, in virtio_blk_update_config()
1219 blkcfg.zoned.model = VIRTIO_BLK_Z_NONE; in virtio_blk_update_config()
1874 if (bs->bl.zoned != BLK_Z_NONE) { in virtio_blk_device_realize()
[all …]
/openbmc/linux/fs/zonefs/
H A DKconfig8 zonefs is a simple file system which exposes zones of a zoned block
/openbmc/linux/drivers/scsi/
H A Dsd.h150 unsigned zoned: 2; member
240 return sdkp->zoned == 1 || sdkp->device->type == TYPE_ZBC; in sd_is_zoned()
/openbmc/qemu/tests/qemu-iotests/tests/
H A Dzoned35 sudo -n modprobe null_blk nr_devices=1 zoned=1
/openbmc/qemu/hw/nvme/
H A Dns.c581 if (ns->params.zoned && ns->endgrp && ns->endgrp->fdp.enabled) { in nvme_ns_check_constraints()
586 if (ns->params.zoned) { in nvme_ns_check_constraints()
664 if (ns->params.zoned) { in nvme_ns_setup()
688 if (ns->params.zoned) { in nvme_ns_shutdown()
695 if (ns->params.zoned) { in nvme_ns_cleanup()
811 DEFINE_PROP_BOOL("zoned", NvmeNamespace, params.zoned, false),
/openbmc/linux/drivers/block/
H A Dvirtio_blk.c732 zoned.model, &model); in virtblk_revalidate_zones()
756 zoned.model, &model); in virtblk_probe_zoned_device()
776 zoned.max_open_zones, &v); in virtblk_probe_zoned_device()
781 zoned.max_active_zones, &v); in virtblk_probe_zoned_device()
786 zoned.write_granularity, &wg); in virtblk_probe_zoned_device()
800 virtio_cread(vdev, struct virtio_blk_config, zoned.zone_sectors, in virtblk_probe_zoned_device()
818 zoned.max_append_sectors, &v); in virtblk_probe_zoned_device()
853 virtio_cread(vdev, struct virtio_blk_config, zoned.model, &model); in virtblk_probe_zoned_device()
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_blk.h148 } zoned; member
/openbmc/linux/include/uapi/linux/
H A Dvirtio_blk.h150 } zoned; member
/openbmc/qemu/block/
H A Dfile-posix.c775 if ((bs->bl.zoned != BLK_Z_NONE) && in raw_open_common()
1259 *zoned = BLK_Z_HM; in get_sysfs_zoned_model()
1261 *zoned = BLK_Z_HA; in get_sysfs_zoned_model()
1263 *zoned = BLK_Z_NONE; in get_sysfs_zoned_model()
1401 BlockZoneModel zoned; in raw_refresh_zoned_limits() local
1405 if (ret < 0 || zoned == BLK_Z_NONE) { in raw_refresh_zoned_limits()
1408 bs->bl.zoned = zoned; in raw_refresh_zoned_limits()
1468 bs->bl.zoned = BLK_Z_NONE; in raw_refresh_zoned_limits()
1476 bs->bl.zoned = BLK_Z_NONE; in raw_refresh_zoned_limits()
2491 bs->bl.zoned != BLK_Z_NONE) { in raw_co_prw()
[all …]

123