STRUCT ASYNC_SCAN_INFO(9)
π¦ struct async_scan_info β bestie briefing π¦
okay so this is struct async_scan_info(9) from the Kernel API Manual, and it's literally the struct that keeps track of controller & NSIDs to scan. no cap, it's giving βtiny but importantβ energy. π
πΈ NAME πΈ
struct async_scan_info β keeps track of controller & NSIDs to scan.
β¨ SYNOPSIS β¨
the whole struct, exactly as written, bestie:
struct async_scan_info {
struct nvme_ctrl *ctrl;
atomic_t next_nsid;
__le32 *ns_list;
};
π«Ά Members π«Ά
ctrlβ Controller on which namespaces are being scanned πnext_nsidβ Index of next NSID to scan inns_listπ₯ns_listβ Pointer to list of NSIDs to scan π
π Note π
There is a single async_scan_info structure shared by all instances of nvme_scan_ns_async scanning a given controller, so the atomic operations on next_nsid are critical to ensure each instance scans a unique NSID. fr fr, that atomic bit is the main character. π«Ά
π SEE ALSO π
- Kernel file
./drivers/nvme/host/core.cπ§
okay that's the page, bestie π β source/version: ./drivers/nvme/host, date: October 2026, and the footer star is struct async_scan_info(9). signing off with a π and a π.
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms