On Sat, 2024-11-16 at 11:34 +0800, Yu Kuai wrote: > > > While reporting bugs, it'll be much helpful if you can provide > addr2line > here, fo example: > > gdb dm_mod.ko > list *(clone_endio+0x43) > > Thanks, > Kuai > Of course thank you.
Let me know if there's anything else that would be helpful.
I needed to rebuild with debug turned on as production build has it off
- but toolchain is unchanged so this should be valid:
(gdb) list *(clone_endio+0x43)
0x3733 is in clone_endio (drivers/md/dm.c:1111).
1106 static void clone_endio(struct bio *bio)
1107 {
1108 blk_status_t error = bio->bi_status;
1109 struct dm_target_io *tio = clone_to_tio(bio);
1110 struct dm_target *ti = tio->ti;
1111 dm_endio_fn endio = likely(ti != NULL) ? ti->type-
>end_io : NULL;
1112 struct dm_io *io = tio->io;
1113 struct mapped_device *md = io->md;
1114
1115 if (unlikely(error == BLK_STS_TARGET)) {
--
Gene
signature.asc
Description: This is a digitally signed message part
