isci_task_query_task(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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_SUCC is returned, libsas turns this into a LUN reset ✨
  • when FUNC_FAILED is returned, libsas will turn this into a target reset πŸ”₯

✨ SYNOPSIS ✨

int isci_task_query_task (struct sas_task *task );

πŸŽ€ ARGUMENTS πŸŽ€

  • task β€” this parameter specifies the sas task 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:


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