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:
b161ca8
)
bcachefs: improve "no device to read from" message
author
Kent Overstreet
<kent.overstreet@linux.dev>
Fri, 6 Sep 2024 22:32:49 +0000
(18:32 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sat, 21 Sep 2024 15:39:48 +0000
(11:39 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/io_read.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/io_read.c
b/fs/bcachefs/io_read.c
index
ce27ba1
..
1024267
100644
(file)
--- a/
fs/bcachefs/io_read.c
+++ b/
fs/bcachefs/io_read.c
@@
-869,9
+869,15
@@
retry_pick:
goto hole;
if (pick_ret < 0) {
+ struct printbuf buf = PRINTBUF;
+ bch2_bkey_val_to_text(&buf, c, k);
+
bch_err_inum_offset_ratelimited(c,
read_pos.inode, read_pos.offset << 9,
- "no device to read from");
+ "no device to read from: %s\n %s",
+ bch2_err_str(pick_ret),
+ buf.buf);
+ printbuf_exit(&buf);
goto err;
}