diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-10-09 23:27:41 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2022-10-10 00:10:45 -0400 |
commit | 72add8822c47e5801d4ac6d42af8c5d9d7b4d3c9 (patch) | |
tree | 9e4c08aa14105b9d3c88116291b326352aec6065 /libbcachefs/super.c | |
parent | 8d6138baac3b4fcd715c34cf325ae11b01a4ca67 (diff) |
Update bcachefs sources to 47ffed9fad bcachefs: bch2_btree_delete_range_trans() now uses peek_upto()
Diffstat (limited to 'libbcachefs/super.c')
-rw-r--r-- | libbcachefs/super.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libbcachefs/super.c b/libbcachefs/super.c index a824e160..9df08289 100644 --- a/libbcachefs/super.c +++ b/libbcachefs/super.c @@ -1326,18 +1326,10 @@ static bool bch2_fs_may_start(struct bch_fs *c) static void __bch2_dev_read_only(struct bch_fs *c, struct bch_dev *ca) { /* - * Device going read only means the copygc reserve get smaller, so we - * don't want that happening while copygc is in progress: - */ - bch2_copygc_stop(c); - - /* * The allocator thread itself allocates btree nodes, so stop it first: */ bch2_dev_allocator_remove(c, ca); bch2_dev_journal_stop(&c->journal, ca); - - bch2_copygc_start(c); } static void __bch2_dev_read_write(struct bch_fs *c, struct bch_dev *ca) |