summaryrefslogtreecommitdiff
path: root/libbcachefs/bcachefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/bcachefs.h')
-rw-r--r--libbcachefs/bcachefs.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libbcachefs/bcachefs.h b/libbcachefs/bcachefs.h
index 3056f3bf..449eb0c1 100644
--- a/libbcachefs/bcachefs.h
+++ b/libbcachefs/bcachefs.h
@@ -618,10 +618,11 @@ struct bch_fs {
struct bch_fs_pcpu __percpu *pcpu;
- struct bch_fs_usage __percpu *usage[2];
-
struct percpu_rw_semaphore mark_lock;
+ struct bch_fs_usage __percpu *usage[2];
+ struct bch_fs_usage __percpu *usage_scratch;
+
/*
* When we invalidate buckets, we use both the priority and the amount
* of good data to determine which buckets to reuse first - to weight
@@ -685,7 +686,7 @@ struct bch_fs {
ZSTD_parameters zstd_params;
struct crypto_shash *sha256;
- struct crypto_skcipher *chacha20;
+ struct crypto_sync_skcipher *chacha20;
struct crypto_shash *poly1305;
atomic64_t key_version;