diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-02-09 12:22:58 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:50 -0400 |
commit | dd81a060eb0680e09d133b81db54b90442c32b5e (patch) | |
tree | eb914eacc72d4cc901b9f443353e3847612dbea9 /fs/bcachefs/ec.h | |
parent | 06ab86d596170b9f3b88ce3f8e9fea7e9c1ea0c2 (diff) | |
download | linux-stable-dd81a060eb0680e09d133b81db54b90442c32b5e.tar.gz linux-stable-dd81a060eb0680e09d133b81db54b90442c32b5e.tar.bz2 linux-stable-dd81a060eb0680e09d133b81db54b90442c32b5e.zip |
bcachefs: ec_stripe_delete_work() now takes ref on c->writes
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/ec.h')
-rw-r--r-- | fs/bcachefs/ec.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bcachefs/ec.h b/fs/bcachefs/ec.h index 8596fa763b4c..4d4e3756dd59 100644 --- a/fs/bcachefs/ec.h +++ b/fs/bcachefs/ec.h @@ -213,6 +213,8 @@ void bch2_stripes_heap_update(struct bch_fs *, struct stripe *, size_t); void bch2_stripes_heap_del(struct bch_fs *, struct stripe *, size_t); void bch2_stripes_heap_insert(struct bch_fs *, struct stripe *, size_t); +void bch2_do_stripe_deletes(struct bch_fs *); + void bch2_ec_stop_dev(struct bch_fs *, struct bch_dev *); void bch2_ec_flush_new_stripes(struct bch_fs *); |