[SPDK] Re: Callback never is called back

Luse, Paul E <paul.e.luse at intel.com> Tue, 08 Mar 2022 14:43:32 +0000
Newsgroups dev.linux.lists.spdk
Message-ID <CO1PR11MB4836794324AE04C669766576AD099@CO1PR11MB4836.namprd11.prod.outlook.com>
Hi Ruslan,

Thanks for reaching out, there could be a lot of things going on here and it might make more sense to use Slack to get some closer to real-time quick Q&A, info is here: https://spdk.io/community/ You might want to include a ot more info in your question including what application is being used.

For starters though, I would break on the submission of the bdev io and make sure very field is as expected and then step through the code to see where it goes.

Thx
Paul

From: Ruslan R.Laishev <zator(a)yandex.ru>
Date: Tuesday, March 8, 2022 at 7:25 AM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: [SPDK] Callback never is called back
Hello!
I develop my own VBDEV ...
Just puzzled next situation:
Call spdk_bdev_write (bdev_desc, ch, bufp, lba, bufsz, __io_cb, &iosb);
in the .submite_request :
spdk_bdev_io_complete(bdev_io, rc);
My __io_cb never is called !!!
So is there what I'm need to check ?

--
С уважением,
Ruslan R. Laishev
OpenVMS bigot, natural born system/network progger, C contractor.
+79013163222
+79910009922