ubifs_wbuf_sync_nolock(9)
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:
ubifs_ro_mode(9)ubifs_check_node(9)ubifs_pad(9)next_sqnum(9)ubifs_prepare_node_hmac(9)ubifs_prepare_node(9)ubifs_prep_grp_node(9)wbuf_timer_callback_nolock(9)new_wbuf_timer_nolock(9)cancel_wbuf_timer_nolock(9)ubifs_wbuf_seek_nolock(9)ubifs_bg_wbufs_sync(9)ubifs_wbuf_write_nolock(9)ubifs_write_node_hmac(9)ubifs_write_node(9)ubifs_read_node_wbuf(9)ubifs_read_node(9)ubifs_wbuf_init(9)ubifs_wbuf_add_ino_nolock(9)wbuf_has_ino(9)ubifs_sync_wbufs_by_inode(9)
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
- 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