gfs2_rgrp_dump(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… gfs2_rgrp_dump(9) β€” from the Kernel API Manual, bestie

Okay so picture this: you're deep in the kernel, you've got a resource group in front of you, and you just need to see it. That's literally this function. It prints out an rgrp. That's the whole gig. Iconic, honestly.


✨ NAME ✨

gfs2_rgrp_dump β€” print out an rgrp 🫢


🌸 SYNOPSIS 🌸

void gfs2_rgrp_dump (struct seq_file *seq , struct gfs2_rgrpd *rgd ,
       const char *fs_id_buf );

πŸŽ€ ARGUMENTS πŸŽ€

  • seq β€” the iterator, aka the seq_file you're dumping into. it's giving "where the output goes" energy ✨
  • rgd β€” the rgrp in question πŸ‘‘ like, the actual resource group we're talking about here
  • fs_id_buf β€” pointer to the file system id (if requested). note the "if requested" β€” it's conditional, bestie, don't come for me πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

First up, the kernel file itself: ./fs/gfs2/rgrp.c β€” that's the home base, the main character πŸ’–

And then there's the whole extended friend group, no cap:

gfs2_setbit(9), gfs2_testbit(9), gfs2_bit_search(9), rs_cmp(9), gfs2_bitfit(9), gfs2_rbm_from_block(9), gfs2_rbm_add(9), gfs2_unaligned_extlen(9), gfs2_free_extlen(9), gfs2_bitcount(9), gfs2_rgrp_verify(9), gfs2_blk2rgrpd(9), gfs2_rgrpd_get_first(9), gfs2_rgrpd_get_next(9), __rs_deltree(9), gfs2_rs_deltree(9), gfs2_rs_delete(9), return_all_reservations(9), compute_bitstructs(9), gfs2_ri_total(9), read_rindex_entry(9), set_rgrp_preferences(9), gfs2_ri_update(9), gfs2_rindex_update(9), gfs2_rgrp_go_instantiate(9), gfs2_rgrp_brelse(9), gfs2_fitrim(9), rs_insert(9), rgd_free(9), rg_mblk_search(9), gfs2_next_unreserved_block(9), gfs2_reservation_check_and_update(9), gfs2_rbm_find(9), try_rgrp_unlink(9), gfs2_rgrp_congested(9), gfs2_rgrp_used_recently(9), fast_to_acquire(9), gfs2_inplace_reserve(9), gfs2_inplace_release(9), gfs2_alloc_extent(9), rgblk_free(9), gfs2_adjust_reservation(9), gfs2_set_alloc_start(9), gfs2_alloc_blocks(9), __gfs2_free_blocks(9), gfs2_free_meta(9), gfs2_check_blk_type(9), gfs2_rlist_add(9), gfs2_rlist_alloc(9), gfs2_rlist_free(9)

Fifty of them. FIFTY. and yes I listed every single one because we don't do half-finished here πŸ’… go read them, they're literally all in rgrp.c's orbit, iykyk.


ngl there's no exit status, no env vars, no flags to remember here β€” it's a void function, it returns nothing, it just vibes and prints. sometimes that's enough 🧚

and that's the whole page!! this one came from the Kernel API Manual, dated October 2026, out of ./fs/gfs2 β€” and it's signed off as gfs2_rgrp_dump(9). slay, periodt, go dump some rgrps πŸ“πŸ’œ

πŸ“¦ where this page comes from