gfs2_end_log_write_bh(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay so bestie, this is gfs2_end_log_write_bh(9) from the Kernel API Manual ✨ β€” and it’s literally the function that ends the log write of pagecache data with buffers. Periodt. πŸŽ€

✨ SYNOPSIS ✨

       void gfs2_end_log_write_bh (struct gfs2_sbd *sdp , struct folio *folio ,
       size_t offset , size_t size , blk_status_t error );

πŸŽ€ ARGUMENTS πŸŽ€

  • sdp β€” The superblock 🫢
  • folio β€” The folio 🌸
  • offset β€” The first byte within the folio that completed ✨
  • size β€” The number of bytes that completed πŸ’«
  • error β€” The i/o status πŸ’€

πŸ¦‹ DESCRIPTION πŸ¦‹

So what it does is find the relevant buffers, unlock them, and set the error flag according to the status of the i/o request. No cap. πŸ”₯

You’ll see this used when the log is writing data that has an in-place version pinned in the pagecache. That’s the whole vibe check. 🧚

🌈 SEE ALSO 🌈


mwah πŸ’‹ β€” source/version: ./fs/gfs2, dated October 2026. Your kernel bestie is signing off πŸ«ΆπŸ’–

πŸ“¦ where this page comes from