drbd_uuid_new_current(9)
β¨ drbd_uuid_new_current(9) β¨
okay so bestie, welcome to the Kernel API Manual π
β this one's drbd_uuid_new_current(9), and it is literally the glow-up button for your DRBD device's UUID. section 9 energy, kernel-space only, no userland shenanigans here π
πΈ NAME πΈ
drbd_uuid_new_current β creates a new current UUID β¨
like, it makes a fresh one. a new main character UUID. obsessed.
π¦ SYNOPSIS π¦
void drbd_uuid_new_current (struct drbd_device *device );
no return value, it's a void situation, she just does the thing π«Ά
π ARGUMENTS π
deviceβ the DRBD device π§ that's it. that's the whole argument list. she's lowkey low-maintenance.
π₯ DESCRIPTION π₯
So here's the tea, bestie π β drbd_uuid_new_current creates a new current UUID, and then it rotates the old current UUID into the bitmap slot. yeah. the hand-me-down UUID goes in the bitmap slot, the shiny new one takes the throne π
And the vibe check on the consequences? It causes an incremental resync upon next connect π which is fr fr the whole point β instead of resyncing everything from scratch like some kind of animal, DRBD can just figure out what changed. iconic behaviour, no cap.
π SEE ALSO π
Kernel file ./drivers/block/drbd/drbd_main.c β that's where she lives π and here's the whole friend group:
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_send_ack(9)drbd_md_sync(9)drbd_md_read(9)drbd_md_mark_dirty(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)
go read them. iykyk π
ngl bestie, quick reminder: this is a kernel function, section 9,voidreturn β you're not calling this from your shell, you're calling it from kernel code, and it wants a realstruct drbd_device *. don't come for me if you pass it nonsense π
and that's the page!! π brought to you by ./drivers/block/drbd, dated October 2026, sitting pretty in section 9 of the Kernel API Manual β mwah, slay, periodt π
β¨π
π¦ 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