fc_fcp_can_queue_ramp_down(9)
π fc_fcp_can_queue_ramp_down β the Kernel API Manual one, bestie
okay so real talk, this is fc_fcp_can_queue_ramp_down(9) from the Kernel API Manual and she is, like, the chill-out function. The one that says "bestie, take a breath, we're doing too much." Let me tell you everything π
β¨ NAME β¨
fc_fcp_can_queue_ramp_down β reduces can_queue π«Ά
πΈ SYNOPSIS πΈ
bool fc_fcp_can_queue_ramp_down (struct fc_lport *lport );
π ARGUMENTS π
lportβ the lport whosecan_queuewe're about to turn down. She's the one getting the vibe check π
π¦ DESCRIPTION π¦
So here's the situation, and it's giving stress π β if we're getting memory allocation failures, that's lowkey a sign we might be trying to execute too many commands at once. Like girl, pace yourself.
So what do we do? We let the running commands complete or timeout first (we don't just yank them, that would be rude), and then we try again with a reduced can_queue. Patient. Iconic. That's the move β¨
And eventually? We will hit the point where we run on all reserved structs. That's just where this road ends, no cap. π«Ά
π₯ SEE ALSO π₯
- Kernel file
./drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal(9)fc_fcp_pkt_alloc(9)fc_fcp_pkt_release(9)fc_fcp_pkt_hold(9)fc_fcp_pkt_destroy(9)fc_fcp_lock_pkt(9)fc_fcp_unlock_pkt(9)fc_fcp_timer_set(9)fc_fcp_send_abort(9)fc_fcp_retry_cmd(9)fc_fcp_ddp_setup(9)fc_fcp_ddp_done(9)fc_fcp_can_queue_ramp_up(9)β yes, the up one, her sister πget_fsp_rec_tov(9)fc_fcp_recv_data(9)fc_fcp_send_data(9)fc_fcp_abts_resp(9)fc_fcp_recv(9)fc_fcp_resp(9)fc_fcp_complete_locked(9)fc_fcp_cleanup_cmd(9)fc_fcp_cleanup_each_cmd(9)fc_fcp_abort_io(9)fc_fcp_pkt_send(9)fc_fcp_cmd_send(9)fc_fcp_error(9)fc_fcp_pkt_abort(9)fc_lun_reset_send(9)fc_lun_reset(9)fc_tm_done(9)fc_fcp_cleanup(9)fc_fcp_timeout(9)fc_fcp_rec(9)fc_fcp_rec_resp(9)fc_fcp_rec_error(9)fc_fcp_recovery(9)fc_fcp_srr(9)fc_fcp_srr_resp(9)fc_fcp_srr_error(9)fc_fcp_lport_queue_ready(9)fc_queuecommand(9)fc_io_compl(9)fc_eh_abort(9)fc_eh_device_reset(9)fc_eh_host_reset(9)fc_sdev_init(9)fc_fcp_destroy(9)fc_fcp_init(9)
π reminder bestie: this is bool-returning, so check that return value, don't just vibe past it, iykyk.
and that's the whole page, periodt π§ from the ./drivers/scsi/libfc source, Kernel API Manual edition, dated October 2026 β mwah, go read the whole family of fc_fcp_* pages, they all ate ππβ
π¦ 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