summaryrefslogtreecommitdiff
path: root/fs/bcachefs/io.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2020-05-04 21:01:00 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2020-06-29 19:29:49 -0400
commit81c2858828400e981c0f5063ddd20432033c4245 (patch)
tree08f27483a09f1cab6d0026eca727c3594f0d97b7 /fs/bcachefs/io.c
parent0511e1ea598d18d603d4478030c1e5893d5b2598 (diff)
Add some more print statements on botched requestsbcachefs-v4.19-backport-debug
Diffstat (limited to 'fs/bcachefs/io.c')
-rw-r--r--fs/bcachefs/io.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/bcachefs/io.c b/fs/bcachefs/io.c
index 1aca92cacdfc..e4369c687a18 100644
--- a/fs/bcachefs/io.c
+++ b/fs/bcachefs/io.c
@@ -470,6 +470,12 @@ void bch2_submit_wbio_replicas(struct bch_write_bio *wbio, struct bch_fs *c,
if (!journal_flushes_device(ca))
n->bio.bi_opf |= REQ_FUA;
+ pr_info("submitting %px sector %llu len %u segs %u vecs %u",
+ &n->bio,
+ (u64) n->bio.bi_iter.bi_sector,
+ n->bio.bi_iter.bi_size, bio_segments(&n->bio),
+ n->bio.bi_vcnt);
+
if (likely(n->have_ioref)) {
this_cpu_add(ca->io_done->sectors[WRITE][type],
bio_sectors(&n->bio));