STRUCT LEAPRAID_DYNAMIC_TASK_DESC(9)
π struct leapraid_dynamic_task_desc(9) β like, the Dynamic task descriptor one π
okay so bestie, welcome to the Kernel API Manual β¨ β yes it's a section 9 page, yes it's about a struct, and yes we're gonna get through it together. This is struct leapraid_dynamic_task_desc, the Dynamic task descriptor, and honestly? she's small but she's doing a lot π
πΈ NAME πΈ
struct leapraid_dynamic_task_desc β Dynamic task descriptor. that's it, that's the whole vibe. short name, big responsibility π«Ά
β¨ SYNOPSIS β¨
here's the actual shape of her, no cap, copy it exactly:
struct leapraid_dynamic_task_desc {
spinlock_t task_lock;
u16 hp_taskid;
u16 hp_cmd_qd;
u16 inter_taskid;
u16 inter_cmd_qd;
};
look at that little family π₯Ή five members, all just hanging out in the struct. iconic.
π Members π
okay let's meet the cast, one by one, no skipping π«
task_lockβ aspinlock_tthat protects concurrent access. basically the bouncer at the door making sure nobody touches stuff at the same time π literal lock behavior, we stan a protective icon.hp_taskidβ the Current high-priority task ID. yes "current", yes "high-priority", that's the whole thing π₯hp_cmd_qdβ the Fixed command queue depth for high-priority tasks. fixed, bestie β it's not out here being flexible πinter_taskidβ the Current internal task ID. internal business, mind yours πinter_cmd_qdβ the Fixed command queue depth for internal tasks. again with the fixed depth, she said consistency periodt π
π¦ SEE ALSO π¦
the whole friend group π this struct lives in the kernel file ./drivers/scsi/leapraid/leapraid_func.h, and here's everyone else you might wanna go say hi to:
struct leapraid_adapter_features(9)struct leapraid_adapter_attr(9)struct leapraid_io_req_tracker(9)struct leapraid_task_tracker(9)struct leapraid_rep_desc_maint(9)struct leapraid_rep_desc_seg_maint(9)struct leapraid_mem_desc(9)enum LEAPRAID_CB_INDEX(9)struct leapraid_default_reply(9)struct leapraid_sense_buffer(9)struct leapraid_driver_cmd(9)struct leapraid_driver_cmds(9)struct leapraid_fw_evt_work(9)struct leapraid_fw_evt_struct(9)struct leapraid_rq(9)struct leapraid_int_rq(9)struct leapraid_blk_mq_poll_rq(9)struct leapraid_notification_desc(9)struct leapraid_overheat_desc(9)struct leapraid_reset_desc(9)struct leapraid_scan_dev_desc(9)struct leapraid_access_ctrl(9)struct leapraid_fw_log_desc(9)struct leapraid_card_port(9)struct leapraid_card_phy(9)struct leapraid_topo_node(9)struct leapraid_dev_topo(9)struct leapraid_boot_dev(9)struct leapraid_boot_devs(9)struct leapraid_adapter(9)struct leapraid_enc_node(9)struct leapraid_raid_volume(9)struct leapraid_starget_priv(9)struct leapraid_sdev_priv(9)struct leapraid_sas_dev(9)struct leapraid_sas_port(9)struct leapraid_vphy(9)struct leapraid_tgt_rst_list(9)struct sense_info(9)struct leapraid_fw_log_info(9)enum reset_type(9)struct leapraid_card_port_feature(9)
like, that's a long list and we love that for them π
ngl the only thing to be careful about here is task_lock β it's a spinlock protecting concurrent access, so respect the lock, bestie. that's the whole warning, but it's a real one π
okay that's the page!! mwah π this came out of ./drivers/scsi/leapraid, dated October 2026, and it's filed under struct leap...ic_task_desc(9) because the header was too long to fit and honestly same. go be a main character and read the other structs too π§ββοΈπ
π¦ 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