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
9d7f2a41
Commit
9d7f2a41
authored
2 years ago
by
Kent Overstreet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bcachefs: bch2_btree_trans_to_text(): print blocked time
Signed-off-by:
Kent Overstreet
<
kent.overstreet@linux.dev
>
parent
2cc9c0db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
fs/bcachefs/btree_iter.c
fs/bcachefs/btree_iter.c
+3
-1
No files found.
fs/bcachefs/btree_iter.c
View file @
9d7f2a41
...
...
@@ -3076,7 +3076,9 @@ void bch2_btree_trans_to_text(struct printbuf *out, struct btree_trans *trans)
b
=
READ_ONCE
(
trans
->
locking
);
if
(
b
)
{
prt_str
(
out
,
" want"
);
prt_printf
(
out
,
" blocked for %lluus on"
,
div_u64
(
local_clock
()
-
trans
->
locking_wait
.
start_time
,
1000
));
prt_newline
(
out
);
prt_printf
(
out
,
" %c"
,
lock_types
[
trans
->
locking_wait
.
lock_want
]);
bch2_btree_bkey_cached_common_to_text
(
out
,
b
);
...
...
This diff is collapsed.
Click to expand it.
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