Home
last modified time | relevance | path

Searched refs:zoned (Results 1 - 25 of 36) sorted by relevance

12

/kernel/linux/linux-6.6/block/
H A Dblk-settings.c59 lim->zoned = BLK_ZONED_NONE; in blk_set_default_limits()
352 * @q: the request queue for the zoned device
357 * sequential zones of a zoned block device.
688 t->zoned = max(t->zoned, b->zoned); in blk_stack_limits()
689 if (!t->zoned) { in blk_stack_limits()
910 * disk_set_zoned - configure the zoned model for a disk
912 * @model: the zoned model to set
914 * Set the zoned mode
[all...]
H A DMakefile33 obj-$(CONFIG_BLK_DEV_ZONED) += blk-zoned.o
36 obj-$(CONFIG_BLK_DEBUG_FS_ZONED)+= blk-mq-debugfs-zoned.o
/kernel/linux/linux-5.10/block/
H A DMakefile33 obj-$(CONFIG_BLK_DEV_ZONED) += blk-zoned.o
36 obj-$(CONFIG_BLK_DEBUG_FS_ZONED)+= blk-mq-debugfs-zoned.o
H A Dblk-settings.c62 lim->zoned = BLK_ZONED_NONE; in blk_set_default_limits()
633 t->zoned = max(t->zoned, b->zoned); in blk_stack_limits()
836 * blk_queue_set_zoned - configure a disk queue zoned model.
838 * @model: the zoned model to set
840 * Set the zoned model of the request queue of @disk according to @model.
842 * if zoned block device support is enabled (CONFIG_BLK_DEV_ZONED option).
860 * devices (similar to drive managed devices) or as zoned block in blk_queue_set_zoned()
863 * partitions and zoned bloc in blk_queue_set_zoned()
[all...]
/kernel/linux/linux-5.10/drivers/block/null_blk/
H A DMakefile11 null_blk-$(CONFIG_BLK_DEV_ZONED) += zoned.o
H A Dmain.c200 module_param_named(zoned, g_zoned, bool, S_IRUGO);
201 MODULE_PARM_DESC(zoned, "Make device as a host-managed zoned block device. Default: false");
205 MODULE_PARM_DESC(zone_size, "Zone size in MB when block device is zoned. Must be power-of-two: Default: 256");
209 MODULE_PARM_DESC(zone_capacity, "Zone capacity in MB when block device is zoned. Can be less than or equal to zone size. Default: Zone size");
213 MODULE_PARM_DESC(zone_nr_conv, "Number of conventional zones when block device is zoned. Default: 0");
217 MODULE_PARM_DESC(zone_max_open, "Maximum number of open zones when block device is zoned. Default: 0 (no limit)");
221 MODULE_PARM_DESC(zone_max_active, "Maximum number of active zones when block device is zoned. Default: 0 (no limit)");
358 NULLB_DEVICE_ATTR(zoned, bool, NULL);
536 "memory_backed,discard,bandwidth,cache,badblocks,zoned,zone_siz in memb_group_features_show()
[all...]
H A Dnull_blk.h57 unsigned long zone_size; /* zone size in MB if device is zoned */
58 unsigned long zone_capacity; /* zone capacity in MB if device is zoned */
75 bool zoned; /* if device is zoned */ member
H A Dzoned.c119 q->limits.zoned = BLK_ZONED_HM; in null_init_zoned_dev()
/kernel/linux/linux-6.6/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");
226 MODULE_PARM_DESC(zone_size, "Zone size in MB when block device is zoned. Must be power-of-two: Default: 256");
230 MODULE_PARM_DESC(zone_capacity, "Zone capacity in MB when block device is zoned. Can be less than or equal to zone size. Default: Zone size");
234 MODULE_PARM_DESC(zone_nr_conv, "Number of conventional zones when block device is zoned. Default: 0");
238 MODULE_PARM_DESC(zone_max_open, "Maximum number of open zones when block device is zoned. Default: 0 (no limit)");
242 MODULE_PARM_DESC(zone_max_active, "Maximum number of active zones when block device is zoned. Default: 0 (no limit)");
421 NULLB_DEVICE_ATTR(zoned, bool, NULL);
657 "submit_queues,use_per_node_hctx,virt_boundary,zoned," in memb_group_features_show()
[all...]
H A Dnull_blk.h97 unsigned long zone_size; /* zone size in MB if device is zoned */
98 unsigned long zone_capacity; /* zone capacity in MB if device is zoned */
119 bool zoned; /* if device is zoned */ member
/kernel/linux/linux-5.10/drivers/scsi/
H A Dsd.h124 unsigned zoned: 2; member
214 return sdkp->zoned == 1 || sdkp->device->type == TYPE_ZBC; in sd_is_zoned()
H A Dsd.c538 if (sdkp->zoned == 1) in zoned_cap_show()
540 if (sdkp->zoned == 2) in zoned_cap_show()
3032 sdkp->zoned = (buffer[8] >> 4) & 3; in sd_read_block_characteristics()
3033 if (sdkp->zoned == 1) { in sd_read_block_characteristics()
3046 sd_printk(KERN_NOTICE, sdkp, "Host-%s zoned block device\n", in sd_read_block_characteristics()
3047 q->limits.zoned == BLK_ZONED_HM ? "managed" : "aware"); in sd_read_block_characteristics()
3049 if (sdkp->zoned == 1) in sd_read_block_characteristics()
3052 else if (sdkp->zoned == 2) in sd_read_block_characteristics()
3291 * For a zoned drive, revalidating the zones can be done only once in sd_revalidate_disk()
/kernel/linux/linux-6.6/drivers/scsi/
H A Dsd.h150 unsigned zoned: 2; member
240 return sdkp->zoned == 1 || sdkp->device->type == TYPE_ZBC; in sd_is_zoned()
H A 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()
3156 sd_printk(KERN_NOTICE, sdkp, "Host-%s zoned block device\n", in sd_read_block_characteristics()
3157 q->limits.zoned == BLK_ZONED_HM ? "managed" : "aware"); in sd_read_block_characteristics()
3159 if (sdkp->zoned in sd_read_block_characteristics()
[all...]
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dvirtio_blk.h150 } zoned; member
229 * Supported zoned device models.
234 /* Host-managed zoned device */
236 /* Host-aware zoned device */
321 /* Error codes that are specific to zoned block devices */
H A Dublk_cmd.h180 * User space sets this flag when setting up the device to request zoned storage support. Kernel may
395 struct ublk_param_zoned zoned; member
/kernel/linux/linux-5.10/block/partitions/
H A Dcore.c383 * Partitions are not supported on zoned block devices that are used as in add_partition()
386 switch (disk->queue->limits.zoned) { in add_partition()
388 pr_warn("%s: partitions not supported on host managed zoned block device\n", in add_partition()
392 pr_info("%s: disabling host aware zoned block device support due to partitions\n", in add_partition()
394 disk->queue->limits.zoned = BLK_ZONED_NONE; in add_partition()
742 * Partitions are not supported on host managed zoned block devices. in blk_add_partitions()
744 if (disk->queue->limits.zoned == BLK_ZONED_HM) { in blk_add_partitions()
745 pr_warn("%s: ignoring partition table on host managed zoned block device\n", in blk_add_partitions()
/kernel/linux/linux-6.6/drivers/block/
H A Dvirtio_blk.c85 /* For zoned device */
732 zoned.model, &model); in virtblk_revalidate_zones()
756 zoned.model, &model); in virtblk_probe_zoned_device()
761 /* Present the host-aware device as non-zoned */ in virtblk_probe_zoned_device()
770 dev_dbg(&vdev->dev, "probing host-managed zoned device\n"); 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()
804 "zoned devic in virtblk_probe_zoned_device()
[all...]
/kernel/linux/linux-6.6/fs/btrfs/
H A DMakefile41 btrfs-$(CONFIG_BLK_DEV_ZONED) += zoned.o
/kernel/linux/linux-6.6/block/partitions/
H A Dcore.c316 * Partitions are not supported on zoned block devices that are used as in add_partition()
319 switch (disk->queue->limits.zoned) { in add_partition()
321 pr_warn("%s: partitions not supported on host managed zoned block device\n", in add_partition()
325 pr_info("%s: disabling host aware zoned block device support due to partitions\n", in add_partition()
619 * Partitions are not supported on host managed zoned block devices. in blk_add_partitions()
621 if (disk->queue->limits.zoned == BLK_ZONED_HM) { in blk_add_partitions()
622 pr_warn("%s: ignoring partition table on host managed zoned block device\n", in blk_add_partitions()
/kernel/linux/linux-5.10/drivers/nvme/host/
H A Dzns.c61 "append not supported for zoned namespace:%d\n", in nvme_update_zone_info()
66 /* Lazily query controller append limit for the first zoned namespace */ in nvme_update_zone_info()
87 * We currently do not handle devices requiring any of the zoned in nvme_update_zone_info()
107 q->limits.zoned = BLK_ZONED_HM; in nvme_update_zone_info()
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-zoned-target.c8 #include "dm-zoned.h"
12 #define DM_MSG_PREFIX "zoned"
686 * Get zoned device information.
722 ti->error = "Too many zoned devices"; in dmz_get_zoned_device()
749 * Cleanup zoned device information.
772 * regular block device and the others zoned block devices. in dmz_fixup_devices()
785 ti->error = "Secondary disk is not a zoned device"; in dmz_fixup_devices()
802 ti->error = "Disk is not a zoned device"; in dmz_fixup_devices()
843 ti->error = "Unable to allocate the zoned target descriptor"; in dmz_ctr()
848 ti->error = "Unable to allocate the zoned devic in dmz_ctr()
1156 module_dm(zoned); global() variable
[all...]
H A Ddm-table.c253 * If the target is mapped to zoned block device(s), check in device_area_is_invalid()
268 * Note: The last zone of a zoned block device may be smaller in device_area_is_invalid()
270 * zoned block device with such a zone, len would not be zone in device_area_is_invalid()
1596 * Check the device zoned model based on the target feature flag. If the target
1597 * has the DM_TARGET_ZONED_HM feature flag set, host-managed zoned devices are
1598 * also accepted but all devices must have the same zoned model. If the target
1600 * zoned model with all zoned devices having the same zone size.
1633 * Check consistency of zoned model and zone sectors across all targets. For
1634 * zone sectors, if the destination device is a zoned bloc
[all...]
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-table.c268 * If the target is mapped to zoned block device(s), check in device_area_is_invalid()
283 * Note: The last zone of a zoned block device may be smaller in device_area_is_invalid()
285 * zoned block device with such a zone, len would not be zone in device_area_is_invalid()
1396 * Check the device zoned model based on the target feature flag. If the target
1397 * has the DM_TARGET_ZONED_HM feature flag set, host-managed zoned devices are
1398 * also accepted but all devices must have the same zoned model. If the target
1400 * zoned model with all zoned devices having the same zone size.
1438 * Check consistency of zoned model and zone sectors across all targets. For
1439 * zone sectors, if the destination device is a zoned bloc
[all...]

Completed in 30 milliseconds

12