diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-12-01 16:39:54 -0500 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-12-21 01:36:21 -0500 |
| commit | 5cdaec193a85e32235e7dccb95c085acc50b8dbd (patch) | |
| tree | 24279e86f15747ce7aadbd85acde0b74a7cf5c8b /fs/bcachefs/journal_io.c | |
| parent | bcachefs: fix bch2_journal_key_insert_take() seq (diff) | |
| download | linux-5cdaec193a85e32235e7dccb95c085acc50b8dbd.tar.gz linux-5cdaec193a85e32235e7dccb95c085acc50b8dbd.zip | |
bcachefs: Improve "unable to allocate journal write" message
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/journal_io.c')
| -rw-r--r-- | fs/bcachefs/journal_io.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/bcachefs/journal_io.c b/fs/bcachefs/journal_io.c index 1627f3e16517..bb69d80886b5 100644 --- a/fs/bcachefs/journal_io.c +++ b/fs/bcachefs/journal_io.c @@ -2036,8 +2036,9 @@ CLOSURE_CALLBACK(bch2_journal_write) struct printbuf buf = PRINTBUF; buf.atomic++; - prt_printf(&buf, bch2_fmt(c, "Unable to allocate journal write at seq %llu: %s"), + prt_printf(&buf, bch2_fmt(c, "Unable to allocate journal write at seq %llu for %zu sectors: %s"), le64_to_cpu(w->data->seq), + vstruct_sectors(w->data, c->block_bits), bch2_err_str(ret)); __bch2_journal_debug_to_text(&buf, j); spin_unlock(&j->lock); |
