Spdk/test/unit/lib/bdev
Mike Gerdts a6e58cc44c bdev: examine and register on app thread
This introduces a deprecation for calling spdk_bdev_register() and
spdk_bdev_examine() on a thread other than the app thread. The
deprecation period starts in SPDK 23.01 and removal is expected in SPDK
23.05.

The intent of this deprecation is to ensure that bdev modules'
examine_config() and examine_disk() callbacks are only ever called on
the app thread. This largely a formalization of what has long happened
due to the RPC poller running on the first thread started by
spdk_app_start().

Signed-off-by: Mike Gerdts <mgerdts@nvidia.com>
Change-Id: Ic9d7b87b6522be20357d2eab2d0c77cd5753452f
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15690
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Reviewed-by: Mateusz Kozlowski <mateusz.kozlowski@intel.com>
2023-01-05 23:28:32 +00:00
..
bdev_zone.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
bdev.c bdev: replace internal buffer pools with iobuf 2022-12-16 09:06:07 +00:00
compress.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
crypto.c bdev/crypto: do not create mempool for session private data 2022-12-19 08:35:14 +00:00
gpt update Intel copyright notices 2022-11-10 08:28:53 +00:00
mt bdev: examine and register on app thread 2023-01-05 23:28:32 +00:00
nvme misc: Fix spelling mistakes 2022-12-09 08:16:18 +00:00
part.c bdev: replace internal buffer pools with iobuf 2022-12-16 09:06:07 +00:00
pmem update Intel copyright notices 2022-11-10 08:28:53 +00:00
raid module/raid: show raid_bdev details in bdev_raid_get_bdevs rpc 2022-12-07 08:43:52 +00:00
scsi_nvme.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
vbdev_lvol.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
vbdev_zone_block.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
Makefile configure: rename --with-reduce --with-vbdev-compress 2022-12-08 12:55:27 +00:00