• Kent Overstreet's avatar
    bcachefs: Heap allocate printbufs · fa8e94fa
    Kent Overstreet authored
    This patch changes printbufs dynamically allocate and reallocate a
    buffer as needed. Stack usage has become a bit of a problem, and a major
    cause of that has been static size string buffers on the stack.
    
    The most involved part of this refactoring is that printbufs must now be
    exited with printbuf_exit().
    Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
    fa8e94fa
io.c 62.6 KB