Home
last modified time | relevance | path

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

12

/linux-6.6.21/Documentation/admin-guide/device-mapper/
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
23 The dm-zoned implementation is simple and minimizes system overhead (CPU
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
[all …]
Dindex.rst25 dm-zoned
Ddm-crypt.rst129 This option is automatically enabled for host-managed zoned block devices
/linux-6.6.21/drivers/md/
DMakefile28 dm-zoned-y += dm-zoned-target.o dm-zoned-metadata.o dm-zoned-reclaim.o
84 obj-$(CONFIG_DM_ZONED) += dm-zoned.o
DKconfig642 tristate "Drive-managed zoned block device target support"
647 This device-mapper target takes a host-managed or host-aware zoned
649 device (drive-managed zoned block device) without any write
651 do not natively support zoned block devices but still want to
657 be called dm-zoned.
Ddm-table.c1693 if (zoned_model == BLK_ZONED_NONE && ti_limits.zoned != BLK_ZONED_NONE) { in dm_calculate_queue_limits()
1698 zoned_model = ti_limits.zoned; in dm_calculate_queue_limits()
1734 if (limits->zoned != BLK_ZONED_NONE) { in dm_calculate_queue_limits()
1739 zoned_model = limits->zoned; in dm_calculate_queue_limits()
Ddm-zoned-target.c1013 limits->zoned = BLK_ZONED_NONE; in dmz_io_hints()
1156 module_dm(zoned);
/linux-6.6.21/Documentation/block/
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
/linux-6.6.21/Documentation/filesystems/
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
48 technologies. The most common form of zoned storage today uses the SCSI Zoned
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
149 write feature for zoned block device (ELEVATOR_F_ZBD_SEQ_WRITE elevator feature)
[all …]
/linux-6.6.21/Documentation/ABI/stable/
Dsysfs-block152 segment. For a zoned block device, either host-aware or
377 [RO] For zoned block devices (zoned attribute indicating
416 [RO] For zoned block devices (zoned attribute indicating
496 [RO] nr_zones indicates the total number of zones of a zoned
669 a sequential zone of a zoned block device using a zone append
679 write operations in sequential zones of zoned block devices
680 (devices with a zoned attributed that reports "host-managed" or
684 What: /sys/block/<disk>/queue/zoned
688 [RO] zoned indicates if the device is a zoned block device and
689 the zone model of the device if it is indeed zoned. The
[all …]
/linux-6.6.21/block/
DMakefile33 obj-$(CONFIG_BLK_DEV_ZONED) += blk-zoned.o
36 obj-$(CONFIG_BLK_DEBUG_FS_ZONED)+= blk-mq-debugfs-zoned.o
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()
921 unsigned int old_model = q->limits.zoned; in disk_set_zoned()
951 q->limits.zoned = model; in disk_set_zoned()
DKconfig85 Block layer zoned block device support. This option enables
86 support for ZAC/ZBC/ZNS host-managed and host-aware zoned block
/linux-6.6.21/drivers/block/null_blk/
DMakefile11 null_blk-$(CONFIG_BLK_DEV_ZONED) += zoned.o
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");
421 NULLB_DEVICE_ATTR(zoned, bool, NULL);
733 dev->zoned = g_zoned; in null_alloc_dev()
1252 if (dev->zoned) in null_transfer()
1485 if (dev->zoned) in null_handle_cmd()
1856 if (nullb->dev->zoned) { in null_config_discard()
1951 if (nullb->dev->zoned) { in null_gendisk_register()
2047 if (dev->zoned && in null_validate_conf()
2147 if (dev->zoned) { in null_add_dev()
Dnull_blk.h119 bool zoned; /* if device is zoned */ member
/linux-6.6.21/drivers/scsi/
Dsd.h150 unsigned zoned: 2; member
240 return sdkp->zoned == 1 || sdkp->device->type == TYPE_ZBC; in sd_is_zoned()
Dsd.c592 if (sdkp->zoned == 1) in zoned_cap_show()
594 if (sdkp->zoned == 2) in zoned_cap_show()
3114 u8 zoned; in sd_read_block_characteristics() local
3125 zoned = (vpd->data[8] >> 4) & 3; in sd_read_block_characteristics()
3142 sdkp->zoned = zoned; in sd_read_block_characteristics()
3143 if (sdkp->zoned == 1) { in sd_read_block_characteristics()
3157 q->limits.zoned == BLK_ZONED_HM ? "managed" : "aware"); in sd_read_block_characteristics()
3159 if (sdkp->zoned == 1) in sd_read_block_characteristics()
3162 else if (sdkp->zoned == 2) in sd_read_block_characteristics()
/linux-6.6.21/fs/zonefs/
DKconfig8 zonefs is a simple file system which exposes zones of a zoned block
/linux-6.6.21/drivers/block/
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()
/linux-6.6.21/include/uapi/linux/
Dvirtio_blk.h150 } zoned; member
Dublk_cmd.h395 struct ublk_param_zoned zoned; member
/linux-6.6.21/fs/btrfs/
DMakefile41 btrfs-$(CONFIG_BLK_DEV_ZONED) += zoned.o
/linux-6.6.21/block/partitions/
Dcore.c319 switch (disk->queue->limits.zoned) { in add_partition()
621 if (disk->queue->limits.zoned == BLK_ZONED_HM) { in blk_add_partitions()
/linux-6.6.21/include/linux/
Dblkdev.h319 enum blk_zoned_model zoned; member
630 return q->limits.zoned; in blk_queue_zoned_model()

12