isci_task_query_task(9)
π
isci_task_query_task β Kernel API Manual, section 9, bestie π
okay so we're looking at isci_task_query_task(9) from the Kernel API Manual, and this one is all about making libsas behave when an abort goes sideways. π
π¦ NAME π¦
isci_task_query_task β the whole reason this function exists is to cause libsas to correctly escalate the failed abort to a LUN or target reset. no cap, that's the mission. π―
the parent tea: this is because the sas_scsi_find_task libsas function does not correctly interpret all return codes from the abort task call. π
so here's the return-code vibe check:
- when
TMF_RESP_FUNC_SUCCis returned, libsas turns this into a LUN reset β¨ - when
FUNC_FAILEDis returned, libsas will turn this into a target reset π₯
β¨ SYNOPSIS β¨
int isci_task_query_task (struct sas_task *task );
π ARGUMENTS π
taskβ this parameter specifies thesastask being queried. that's the whole argument, she's simple and iconic π
π DESCRIPTION π
status, zero indicates success. π«Ά
π SEE ALSO π
Kernel file ./drivers/scsi/isci/task.c β and the rest of the squad:
isci_task_refuse(9)isci_task_execute_task(9)isci_task_abort_task(9)isci_task_abort_task_set(9)isci_task_clear_task_set(9)
okay that's the page, bestie β source/version: ./drivers/scsi/isci, date: October 2026, page: isci_task_query_task(9). mwah πβ¨
π¦ 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