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
9d5dba2b
Commit
9d5dba2b
authored
Jan 06, 2024
by
Kent Overstreet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bcachefs: drop to_text code for obsolete bps in alloc keys
Signed-off-by:
Kent Overstreet
<
kent.overstreet@linux.dev
>
parent
3fe8a186
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
18 deletions
+0
-18
fs/bcachefs/alloc_background.c
fs/bcachefs/alloc_background.c
+0
-18
No files found.
fs/bcachefs/alloc_background.c
View file @
9d5dba2b
...
...
@@ -321,7 +321,6 @@ void bch2_alloc_to_text(struct printbuf *out, struct bch_fs *c, struct bkey_s_c
{
struct
bch_alloc_v4
_a
;
const
struct
bch_alloc_v4
*
a
=
bch2_alloc_to_v4
(
k
,
&
_a
);
unsigned
i
;
prt_newline
(
out
);
printbuf_indent_add
(
out
,
2
);
...
...
@@ -353,23 +352,6 @@ void bch2_alloc_to_text(struct printbuf *out, struct bch_fs *c, struct bkey_s_c
prt_printf
(
out
,
"fragmentation %llu"
,
a
->
fragmentation_lru
);
prt_newline
(
out
);
prt_printf
(
out
,
"bp_start %llu"
,
BCH_ALLOC_V4_BACKPOINTERS_START
(
a
));
prt_newline
(
out
);
if
(
BCH_ALLOC_V4_NR_BACKPOINTERS
(
a
))
{
struct
bkey_s_c_alloc_v4
a_raw
=
bkey_s_c_to_alloc_v4
(
k
);
const
struct
bch_backpointer
*
bps
=
alloc_v4_backpointers_c
(
a_raw
.
v
);
prt_printf
(
out
,
"backpointers: %llu"
,
BCH_ALLOC_V4_NR_BACKPOINTERS
(
a_raw
.
v
));
printbuf_indent_add
(
out
,
2
);
for
(
i
=
0
;
i
<
BCH_ALLOC_V4_NR_BACKPOINTERS
(
a_raw
.
v
);
i
++
)
{
prt_newline
(
out
);
bch2_backpointer_to_text
(
out
,
&
bps
[
i
]);
}
printbuf_indent_sub
(
out
,
2
);
}
printbuf_indent_sub
(
out
,
2
);
}
...
...
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