Lines Matching full:zones
3 * Simple file system for zoned block devices exposing zones as files.
73 * Sequential zones can only accept direct writes. This is already in zonefs_iomap_begin()
82 * For conventional zones, all blocks are always mapped. For sequential in zonefs_iomap_begin()
83 * zones, all blocks after always mapped below the inode size (zone in zonefs_iomap_begin()
226 * offline and readonly zones. Return the inode size corresponding to the
250 * The write pointer of read-only zones is invalid. If such a in zonefs_check_zone_condition()
270 /* The write pointer of full zones is invalid. */ in zonefs_check_zone_condition()
331 * First handle bad zones signaled by hardware. The mount options in zonefs_io_error_cb()
413 * may prevent IO forward progress. Executing the report zones under in __zonefs_io_error()
474 * take care of open zones. in zonefs_file_truncate()
620 * Conventional zones accept random writes, so their files can support in zonefs_file_mmap()
640 * Seeks are limited to below the zone size for conventional zones in zonefs_file_llseek()
641 * and below the zone write pointer for sequential zones. In both in zonefs_file_llseek()
846 /* Enforce sequential writes (append only) in sequential zones */ in zonefs_file_dio_write()
963 /* Offline zones cannot be read */ in zonefs_file_read_iter()
1096 * Leaving zones explicitly open may lead to a state in zonefs_close_zone()
1097 * where most zones cannot be written (zone resources in zonefs_close_zone()
1376 struct blk_zone *zones; member
1416 end = zd->zones + blkdev_nr_zones(sb->s_bdev->bd_disk); in zonefs_create_zgroup()
1417 for (zone = &zd->zones[1]; zone < end; zone = next) { in zonefs_create_zgroup()
1424 * For conventional zones, contiguous zones can be aggregated in zonefs_create_zgroup()
1426 * length of the first zone of the set of contiguous zones in zonefs_create_zgroup()
1428 * found, assume that all zones aggregated have the same in zonefs_create_zgroup()
1481 * Count the number of usable zones: the first zone at index 0 contains in zonefs_get_zone_info_cb()
1501 memcpy(&zd->zones[idx], zone, sizeof(struct blk_zone)); in zonefs_get_zone_info_cb()
1511 zd->zones = kvcalloc(blkdev_nr_zones(bdev->bd_disk), in zonefs_get_zone_info()
1513 if (!zd->zones) in zonefs_get_zone_info()
1516 /* Get zones information from the device */ in zonefs_get_zone_info()
1525 zonefs_err(zd->sb, "Invalid zone report (%d/%u zones)\n", in zonefs_get_zone_info()
1535 kvfree(zd->zones); in zonefs_cleanup_zone_info()
1625 * Check that the device is zoned. If it is, get the list of zones and create
1675 zonefs_info(sb, "No open zones limit. Ignoring explicit_open mount option\n"); in zonefs_fill_super()
1693 zonefs_info(sb, "Mounting %u zones", in zonefs_fill_super()