mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 16:02:57 +00:00
To allow applications to easily check the current usage status of the open zone resources of the mounted device, export through sysfs the counter of write open sequential files s_wro_seq_files field of struct zonefs_sb_info. The attribute is named nr_wro_seq_files and is read only. The maximum number of write open sequential files (zones) indicated by the s_max_wro_seq_files field of struct zonefs_sb_info is also exported as the read only attribute max_wro_seq_files. Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Reviewed-by: Hans Holmberg <[email protected]>
7 lines
126 B
Makefile
7 lines
126 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
ccflags-y += -I$(src)
|
|
|
|
obj-$(CONFIG_ZONEFS_FS) += zonefs.o
|
|
|
|
zonefs-y := super.o sysfs.o
|