projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4804f3a
)
bcachefs: Check for -BCH_ERR_open_buckets_empty in journal resize
author
Kent Overstreet
<kent.overstreet@linux.dev>
Wed, 26 Feb 2025 03:35:28 +0000
(22:35 -0500)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Thu, 27 Feb 2025 00:31:05 +0000
(19:31 -0500)
This fixes occasional failures from journal resize.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/journal.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/journal.c
b/fs/bcachefs/journal.c
index
24c294d
..
5dabbf3
100644
(file)
--- a/
fs/bcachefs/journal.c
+++ b/
fs/bcachefs/journal.c
@@
-1194,7
+1194,9
@@
int bch2_set_nr_journal_buckets(struct bch_fs *c, struct bch_dev *ca,
closure_sync(&cl);
- if (ret && ret != -BCH_ERR_bucket_alloc_blocked)
+ if (ret &&
+ ret != -BCH_ERR_bucket_alloc_blocked &&
+ ret != -BCH_ERR_open_buckets_empty)
break;
}