ubifs_wbuf_sync_nolock(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to ubifs_wbuf_sync_nolock(9) from the Kernel API Manual β€” yes, the manual name is literally in the title, we're doing this right πŸ’…βœ¨

🌸 NAME 🌸

ubifs_wbuf_sync_nolock β€” synchronize write-buffer. That's the whole assignment, and it ate. πŸ’–


✨ SYNOPSIS ✨

int ubifs_wbuf_sync_nolock (struct ubifs_wbuf *wbuf );

πŸŽ€ ARGUMENTS πŸŽ€

  • wbuf β€” write-buffer to synchronize. that's the one, bestie 🫢

πŸ’– DESCRIPTION πŸ’–

So this function synchronizes write-buffer buf and returns zero in case of success or a negative error code in case of failure. slay behavior, honestly ✨

Note, although write-buffers are of c->max_write_size, this function does not necessarily write all c->max_write_size bytes to the flash. not me doing less work on purpose πŸ‘‘ Instead, if the write-buffer is only partially filled with data, only the used part of the write-buffer (aligned on c->min_io_size boundary) is synchronized. This way we waste less space. eco-friendly queen πŸŒ±πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./fs/ubifs/io.c and the whole crew, no cap:


mwah πŸ’‹ this page comes from ./fs/ubifs, dated October 2026, and it is literally ubifs_wbuf_sync_nolock(9) β€” periodt 🫢🌈

πŸ“¦ where this page comes from