Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
fa14b504
Commit
fa14b504
authored
Apr 02, 2024
by
Kent Overstreet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bcachefs: ratelimit informational fsck errors
Signed-off-by:
Kent Overstreet
<
kent.overstreet@linux.dev
>
parent
7ee88737
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
fs/bcachefs/fsck.c
fs/bcachefs/fsck.c
+4
-4
No files found.
fs/bcachefs/fsck.c
View file @
fa14b504
...
...
@@ -1131,8 +1131,8 @@ static int check_i_sectors_notnested(struct btree_trans *trans, struct inode_wal
i
->
count
=
count2
;
if
(
i
->
count
!=
count2
)
{
bch_err
(
c
,
"fsck counted i_sectors wrong for inode %llu:%u: got %llu should be %llu"
,
w
->
last_pos
.
inode
,
i
->
snapshot
,
i
->
count
,
count2
);
bch_err
_ratelimited
(
c
,
"fsck counted i_sectors wrong for inode %llu:%u: got %llu should be %llu"
,
w
->
last_pos
.
inode
,
i
->
snapshot
,
i
->
count
,
count2
);
return
-
BCH_ERR_internal_fsck_err
;
}
...
...
@@ -1587,8 +1587,8 @@ static int check_subdir_count_notnested(struct btree_trans *trans, struct inode_
return
count2
;
if
(
i
->
count
!=
count2
)
{
bch_err
(
c
,
"fsck counted subdirectories wrong
: got %llu should be %llu"
,
i
->
count
,
count2
);
bch_err
_ratelimited
(
c
,
"fsck counted subdirectories wrong for inum %llu:%u
: got %llu should be %llu"
,
w
->
last_pos
.
inode
,
i
->
snapshot
,
i
->
count
,
count2
);
i
->
count
=
count2
;
if
(
i
->
inode
.
bi_nlink
==
i
->
count
)
continue
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment