Home
last modified time | relevance | path

Searched hist:"9277 a6d4fbd4aaa668b19b819015f87f0da53a38" (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/fs/zonefs/
H A Dsysfs.c9277a6d4fbd4aaa668b19b819015f87f0da53a38 Tue Apr 12 02:25:34 CDT 2022 Damien Le Moal <damien.lemoal@opensource.wdc.com> zonefs: Export open zone resource information through sysfs

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 <damien.lemoal@opensource.wdc.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Hans Holmberg <hans.holmberg@wdc.com>
H A DMakefilediff 9277a6d4fbd4aaa668b19b819015f87f0da53a38 Tue Apr 12 02:25:34 CDT 2022 Damien Le Moal <damien.lemoal@opensource.wdc.com> zonefs: Export open zone resource information through sysfs

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 <damien.lemoal@opensource.wdc.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Hans Holmberg <hans.holmberg@wdc.com>
H A Dzonefs.hdiff 9277a6d4fbd4aaa668b19b819015f87f0da53a38 Tue Apr 12 02:25:34 CDT 2022 Damien Le Moal <damien.lemoal@opensource.wdc.com> zonefs: Export open zone resource information through sysfs

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 <damien.lemoal@opensource.wdc.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Hans Holmberg <hans.holmberg@wdc.com>
H A Dsuper.cdiff 9277a6d4fbd4aaa668b19b819015f87f0da53a38 Tue Apr 12 02:25:34 CDT 2022 Damien Le Moal <damien.lemoal@opensource.wdc.com> zonefs: Export open zone resource information through sysfs

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 <damien.lemoal@opensource.wdc.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Hans Holmberg <hans.holmberg@wdc.com>