Home
last modified time | relevance | path

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

/Linux-v5.4/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.rst21 dm-zoned
/Linux-v5.4/drivers/md/
DMakefile25 dm-zoned-y += dm-zoned-target.o dm-zoned-metadata.o dm-zoned-reclaim.o
72 obj-$(CONFIG_DM_ZONED) += dm-zoned.o
Ddm-table.c491 limits->zoned = blk_queue_zoned_model(q); in dm_set_device_limits()
1529 if (zoned_model == BLK_ZONED_NONE && ti_limits.zoned != BLK_ZONED_NONE) { in dm_calculate_queue_limits()
1534 zoned_model = ti_limits.zoned; in dm_calculate_queue_limits()
1567 if (limits->zoned == BLK_ZONED_NONE && ti_limits.zoned != BLK_ZONED_NONE) { in dm_calculate_queue_limits()
1576 limits->zoned = ti_limits.zoned; in dm_calculate_queue_limits()
1587 if (limits->zoned != BLK_ZONED_NONE) { in dm_calculate_queue_limits()
1592 zoned_model = limits->zoned; in dm_calculate_queue_limits()
DKconfig582 tristate "Drive-managed zoned block device target support"
586 This device-mapper target takes a host-managed or host-aware zoned
588 device (drive-managed zoned block device) without any write
590 do not natively support zoned block devices but still want to
596 be called dm-zoned.
Ddm-zoned-target.c895 limits->zoned = BLK_ZONED_NONE; in dmz_io_hints()
/Linux-v5.4/Documentation/block/
Dnull_blk.rst115 zoned=[0/1]: Default: 0
116 Device is a random-access or a zoned block device.
120 1 Block device is exposed as a host-managed zoned block device. Requires
125 Per zone size when exposed as a zoned block device. Must be a power of two.
128 The number of conventional zones to create when block device is zoned. If
Dqueue-sysfs.rst22 of the RAID volume stripe segment. For a zoned block device, either host-aware
163 For zoned block devices (zoned attribute indicating "host-managed" or
242 zoned (RO)
244 This indicates if the device is a zoned block device and the zone model of the
245 device if it is indeed zoned. The possible values indicated by zoned are
246 "none" for regular block devices and "host-aware" or "host-managed" for zoned
247 block devices. The characteristics of host-aware and host-managed zoned block
250 "drive-managed" zone model. However, since drive-managed zoned block devices
252 and zoned will report "none".
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-block245 What: /sys/block/<disk>/queue/zoned
249 zoned indicates if the device is a zoned block device
250 and the zone model of the device if it is indeed zoned.
251 The possible values indicated by zoned are "none" for
253 for zoned block devices. The characteristics of
254 host-aware and host-managed zoned block devices are
258 since drive-managed zoned block devices do not support
260 devices and zoned will report "none".
266 nr_zones indicates the total number of zones of a zoned block
277 stripe segment. For a zoned block device, either
Dsysfs-kernel-slab400 zoned.
/Linux-v5.4/block/
DMakefile33 obj-$(CONFIG_BLK_DEV_ZONED) += blk-zoned.o
36 obj-$(CONFIG_BLK_DEBUG_FS_ZONED)+= blk-mq-debugfs-zoned.o
DKconfig81 Block layer zoned block device support. This option enables
82 support for ZAC/ZBC host-managed and host-aware zoned block devices.
Dblk-settings.c61 lim->zoned = BLK_ZONED_NONE; in blk_set_default_limits()
/Linux-v5.4/drivers/scsi/
Dsd.h115 unsigned zoned: 2; member
205 return sdkp->zoned == 1 || sdkp->device->type == TYPE_ZBC; in sd_is_zoned()
Dsd.c2937 q->limits.zoned = BLK_ZONED_HM; in sd_read_block_characteristics()
2939 sdkp->zoned = (buffer[8] >> 4) & 3; in sd_read_block_characteristics()
2940 if (sdkp->zoned == 1) in sd_read_block_characteristics()
2942 q->limits.zoned = BLK_ZONED_HA; in sd_read_block_characteristics()
2948 q->limits.zoned = BLK_ZONED_NONE; in sd_read_block_characteristics()
2952 q->limits.zoned == BLK_ZONED_HM ? "managed" : "aware"); in sd_read_block_characteristics()
/Linux-v5.4/drivers/block/
Dnull_blk.h69 bool zoned; /* if device is zoned */ member
Dnull_blk_main.c185 module_param_named(zoned, g_zoned, bool, S_IRUGO);
186 MODULE_PARM_DESC(zoned, "Make device as a host-managed zoned block device. Default: false");
299 NULLB_DEVICE_ATTR(zoned, bool);
529 dev->zoned = g_zoned; in null_alloc_dev()
1238 if (!cmd->error && dev->zoned) in null_handle_cmd()
1540 if (nullb->dev->zoned) { in null_gendisk_register()
1690 if (dev->zoned) { in null_add_dev()
1696 nullb->q->limits.zoned = BLK_ZONED_HM; in null_add_dev()
1728 if (dev->zoned) in null_add_dev()
/Linux-v5.4/Documentation/ABI/stable/
Dsysfs-devices-node77 The node's zoned virtual memory statistics.
/Linux-v5.4/include/linux/
Dblkdev.h349 enum blk_zoned_model zoned; member
692 return q->limits.zoned; in blk_queue_zoned_model()
/Linux-v5.4/drivers/ata/
Dlibata-scsi.c2413 u8 zoned = ata_id_zoned_cap(args->id); in ata_scsiop_inq_b1() local
2420 if (zoned) in ata_scsiop_inq_b1()
2421 rbuf[8] = (zoned << 4); in ata_scsiop_inq_b1()