f2fs: enforce single zone capacity
[linux-block.git] / fs / f2fs / f2fs.h
index fea97093d92712ec20ea293e51b5b542b85c072c..fcb1460e0890f34a01f7a09f742f30864f6c0915 100644 (file)
@@ -1235,7 +1235,6 @@ struct f2fs_dev_info {
 #ifdef CONFIG_BLK_DEV_ZONED
        unsigned int nr_blkz;           /* Total number of zones */
        unsigned long *blkz_seq;        /* Bitmap indicating sequential zones */
-       block_t *zone_capacity_blocks;  /* Array of zone capacity in blks */
 #endif
 };
 
@@ -1672,6 +1671,7 @@ struct f2fs_sb_info {
        unsigned int meta_ino_num;              /* meta inode number*/
        unsigned int log_blocks_per_seg;        /* log2 blocks per segment */
        unsigned int blocks_per_seg;            /* blocks per segment */
+       unsigned int unusable_blocks_per_sec;   /* unusable blocks per section */
        unsigned int segs_per_sec;              /* segments per section */
        unsigned int secs_per_zone;             /* sections per zone */
        unsigned int total_sections;            /* total section count */