summaryrefslogtreecommitdiff
path: root/fs/zonefs/zonefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/zonefs/zonefs.h')
-rw-r--r--fs/zonefs/zonefs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/zonefs/zonefs.h b/fs/zonefs/zonefs.h
index 77d2d153c59d..4b3de66c3233 100644
--- a/fs/zonefs/zonefs.h
+++ b/fs/zonefs/zonefs.h
@@ -40,6 +40,7 @@ static inline enum zonefs_ztype zonefs_zone_type(struct blk_zone *zone)
}
#define ZONEFS_ZONE_OPEN (1 << 0)
+#define ZONEFS_ZONE_ACTIVE (1 << 1)
/*
* In-memory inode data.
@@ -186,6 +187,9 @@ struct zonefs_sb_info {
unsigned int s_max_wro_seq_files;
atomic_t s_wro_seq_files;
+ unsigned int s_max_active_seq_files;
+ atomic_t s_active_seq_files;
+
bool s_sysfs_registered;
struct kobject s_kobj;
struct completion s_kobj_unregister;