Lines Matching full:zones

3  * Simple file system for zoned block devices exposing zones as files.
39 * open operation on other zones if the drive active zone resources in zonefs_zone_mgmt()
118 * Sequential zones can only accept direct writes. This is already in zonefs_write_iomap_begin()
127 * For conventional zones, all blocks are always mapped. For sequential in zonefs_write_iomap_begin()
128 * zones, all blocks after always mapped below the inode size (zone in zonefs_write_iomap_begin()
269 * offline and readonly zones. Return the inode size corresponding to the
293 * The write pointer of read-only zones is invalid. If such a in zonefs_check_zone_condition()
313 /* The write pointer of full zones is invalid. */ in zonefs_check_zone_condition()
374 * First handle bad zones signaled by hardware. The mount options in zonefs_io_error_cb()
452 * files with aggregated conventional zones, for which the inode zone in __zonefs_io_error()
464 * may prevent IO forward progress. Executing the report zones under in __zonefs_io_error()
525 * take care of open zones. in zonefs_file_truncate()
671 * Conventional zones accept random writes, so their files can support in zonefs_file_mmap()
691 * Seeks are limited to below the zone size for conventional zones in zonefs_file_llseek()
692 * and below the zone write pointer for sequential zones. In both in zonefs_file_llseek()
897 /* Enforce sequential writes (append only) in sequential zones */ in zonefs_file_dio_write()
1014 /* Offline zones cannot be read */ in zonefs_file_read_iter()
1147 * Leaving zones explicitly open may lead to a state in zonefs_close_zone()
1148 * where most zones cannot be written (zone resources in zonefs_close_zone()
1402 * For sequential zones, make sure that any open zone is closed first in zonefs_init_file_inode()
1403 * to ensure that the initial number of open zones is 0, in sync with in zonefs_init_file_inode()
1460 struct blk_zone *zones; member
1500 end = zd->zones + blkdev_nr_zones(sb->s_bdev->bd_disk); in zonefs_create_zgroup()
1501 for (zone = &zd->zones[1]; zone < end; zone = next) { in zonefs_create_zgroup()
1508 * For conventional zones, contiguous zones can be aggregated in zonefs_create_zgroup()
1510 * length of the first zone of the set of contiguous zones in zonefs_create_zgroup()
1512 * found, assume that all zones aggregated have the same in zonefs_create_zgroup()
1566 * Count the number of usable zones: the first zone at index 0 contains in zonefs_get_zone_info_cb()
1586 memcpy(&zd->zones[idx], zone, sizeof(struct blk_zone)); in zonefs_get_zone_info_cb()
1596 zd->zones = kvcalloc(blkdev_nr_zones(bdev->bd_disk), in zonefs_get_zone_info()
1598 if (!zd->zones) in zonefs_get_zone_info()
1601 /* Get zones information from the device */ in zonefs_get_zone_info()
1610 zonefs_err(zd->sb, "Invalid zone report (%d/%u zones)\n", in zonefs_get_zone_info()
1620 kvfree(zd->zones); in zonefs_cleanup_zone_info()
1710 * Check that the device is zoned. If it is, get the list of zones and create
1773 zonefs_info(sb, "Mounting %u zones", in zonefs_fill_super()
1778 zonefs_info(sb, "No open zones limit. Ignoring explicit_open mount option\n"); in zonefs_fill_super()