Spdk/test/unit/lib/bdev
Shuhei Matsumoto 8a0967a22a bdev/nvme: Protect ANA log page from concurrent reads by using an new flag
If an I/O failed by ANA error, the corresponding ANA state might be
out of date. In the following patches, for this case, read the latest
ANA log page and update the ANA state. Such reading ANA log page may be
done on multiple threads concurrently including AER ANA change.
Hence protect ANA log page by adding an new flag ana_log_page_updating
to struct nvme_ctrlr and using it.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I8bb84091d50a5fdc0d9893b585be972dfd31c0f1
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9526
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
2022-06-30 13:32:27 -04:00
..
bdev_zone.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
bdev.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
compress.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
crypto.c modules/crypto: remove dependency on rte_cryptodev_pmd.h 2022-06-30 13:32:25 -04:00
gpt test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
mt test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme bdev/nvme: Protect ANA log page from concurrent reads by using an new flag 2022-06-30 13:32:27 -04:00
part.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
pmem lib/bdev: added spdk_bdev_module_fini_done() 2021-08-23 08:49:56 +00:00
raid test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
scsi_nvme.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
vbdev_lvol.c bdev/lvol: unload empty lvs during fini_start 2021-08-23 08:49:56 +00:00
vbdev_zone_block.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
Makefile ut/bdev_ocssd: Move bdev_ocssd_ut from bdev directory to bdev/nvme directory 2021-02-09 11:29:53 +00:00