_drbd_send_ack(9)
β¨ _drbd_send_ack(9) β¨
okay bestie, so this one is a page straight out of the Kernel API Manual and it's lowkey just one little function, but she's important okay π her whole job? she sends an ack packet. that's it. that's the post. no cap π
πΈ NAME πΈ
_drbd_send_ack β Sends an ack packet π«Ά
like literally, that's the entire vibe: it sends an ack packet. short and iconic, periodt.
π¦ SYNOPSIS π¦
int _drbd_send_ack (struct drbd_peer_device *peer_device , enum
drbd_packet cmd , u64 sector , u32 blksize , u64 block_id );
not me giving you the whole signature, we're gonna take it slow π
π ARGUMENTS π
peer_deviceβ DRBD peer device. it's the peer device, bestie, that's who we're talking to π«cmdβ Packet command code. the command code of the packet, yup, that's it.sectorβ thesector, and heads up π it needs to be in big endian byte order β not optional, not a suggestion, big endian or bust.blksizeβ size in byte, and same deal, needs to be in big endian byte order π don't forget the conversion, i'm begging.block_idβ Id, big endian byte order. yes the Id, yes big endian, we been knew π
real talk:sector,blksizeandblock_idare all big endian, so if something looks cursed after this call, go check your byte order first π
π₯ SEE ALSO π₯
Kernel file ./drivers/block/drbd/drbd_main.c β plus the whole friend group, all of these are absolutely worth a read, bestie, no skimming β¨
tl_release(9)_tl_restart(9)tl_clear(9)tl_abort_disk_io(9)drbd_thread_current_set_cpu(9)drbd_send_current_state(9)drbd_send_state(9)drbd_send_ack(9)drbd_md_sync(9)drbd_md_read(9)drbd_md_mark_dirty(9)drbd_uuid_new_current(9)drbd_bmio_set_n_write(9)drbd_bmio_clear_n_write(9)drbd_queue_bitmap_io(9)drbd_bitmap_io(9)drbd_wait_misc(9)
and that's the whole page, bestie π ok bye, this came from ./drivers/block/drbd, dated October 2026 β drink some water, check your endianness, and go send that ack ππ§β
π¦ 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