mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 21:21:41 +00:00
bcachefs: counters.c -> sb-counters.c
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
12207f49ef
commit
3a58dfbc46
@ -27,7 +27,6 @@ bcachefs-y := \
|
|||||||
checksum.o \
|
checksum.o \
|
||||||
clock.o \
|
clock.o \
|
||||||
compress.o \
|
compress.o \
|
||||||
counters.o \
|
|
||||||
darray.o \
|
darray.o \
|
||||||
debug.o \
|
debug.o \
|
||||||
dirent.o \
|
dirent.o \
|
||||||
@ -71,6 +70,7 @@ bcachefs-y := \
|
|||||||
reflink.o \
|
reflink.o \
|
||||||
replicas.o \
|
replicas.o \
|
||||||
sb-clean.o \
|
sb-clean.o \
|
||||||
|
sb-counters.o \
|
||||||
sb-downgrade.o \
|
sb-downgrade.o \
|
||||||
sb-errors.o \
|
sb-errors.o \
|
||||||
sb-members.o \
|
sb-members.o \
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0
|
// SPDX-License-Identifier: GPL-2.0
|
||||||
#include "bcachefs.h"
|
#include "bcachefs.h"
|
||||||
#include "super-io.h"
|
#include "super-io.h"
|
||||||
#include "counters.h"
|
#include "sb-counters.h"
|
||||||
|
|
||||||
/* BCH_SB_FIELD_counters */
|
/* BCH_SB_FIELD_counters */
|
||||||
|
|
@ -1,11 +1,10 @@
|
|||||||
/* SPDX-License-Identifier: GPL-2.0 */
|
/* SPDX-License-Identifier: GPL-2.0 */
|
||||||
#ifndef _BCACHEFS_COUNTERS_H
|
#ifndef _BCACHEFS_SB_COUNTERS_H
|
||||||
#define _BCACHEFS_COUNTERS_H
|
#define _BCACHEFS_SB_COUNTERS_H
|
||||||
|
|
||||||
#include "bcachefs.h"
|
#include "bcachefs.h"
|
||||||
#include "super-io.h"
|
#include "super-io.h"
|
||||||
|
|
||||||
|
|
||||||
int bch2_sb_counters_to_cpu(struct bch_fs *);
|
int bch2_sb_counters_to_cpu(struct bch_fs *);
|
||||||
int bch2_sb_counters_from_cpu(struct bch_fs *);
|
int bch2_sb_counters_from_cpu(struct bch_fs *);
|
||||||
|
|
||||||
@ -14,4 +13,4 @@ int bch2_fs_counters_init(struct bch_fs *);
|
|||||||
|
|
||||||
extern const struct bch_sb_field_ops bch_sb_field_ops_counters;
|
extern const struct bch_sb_field_ops bch_sb_field_ops_counters;
|
||||||
|
|
||||||
#endif // _BCACHEFS_COUNTERS_H
|
#endif // _BCACHEFS_SB_COUNTERS_H
|
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
#include "bcachefs.h"
|
#include "bcachefs.h"
|
||||||
#include "checksum.h"
|
#include "checksum.h"
|
||||||
#include "counters.h"
|
|
||||||
#include "disk_groups.h"
|
#include "disk_groups.h"
|
||||||
#include "ec.h"
|
#include "ec.h"
|
||||||
#include "error.h"
|
#include "error.h"
|
||||||
@ -13,6 +12,7 @@
|
|||||||
#include "replicas.h"
|
#include "replicas.h"
|
||||||
#include "quota.h"
|
#include "quota.h"
|
||||||
#include "sb-clean.h"
|
#include "sb-clean.h"
|
||||||
|
#include "sb-counters.h"
|
||||||
#include "sb-downgrade.h"
|
#include "sb-downgrade.h"
|
||||||
#include "sb-errors.h"
|
#include "sb-errors.h"
|
||||||
#include "sb-members.h"
|
#include "sb-members.h"
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
#include "checksum.h"
|
#include "checksum.h"
|
||||||
#include "clock.h"
|
#include "clock.h"
|
||||||
#include "compress.h"
|
#include "compress.h"
|
||||||
#include "counters.h"
|
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#include "disk_groups.h"
|
#include "disk_groups.h"
|
||||||
#include "ec.h"
|
#include "ec.h"
|
||||||
@ -49,6 +48,7 @@
|
|||||||
#include "recovery.h"
|
#include "recovery.h"
|
||||||
#include "replicas.h"
|
#include "replicas.h"
|
||||||
#include "sb-clean.h"
|
#include "sb-clean.h"
|
||||||
|
#include "sb-counters.h"
|
||||||
#include "sb-errors.h"
|
#include "sb-errors.h"
|
||||||
#include "sb-members.h"
|
#include "sb-members.h"
|
||||||
#include "snapshot.h"
|
#include "snapshot.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user