• Artem Bityutskiy's avatar
    UBIFS: introduce write-buffer size field · 3c89f396
    Artem Bityutskiy authored
    Currently we assume write-buffer size is always min_io_size. But
    this is about to change and write-buffers may be of variable size.
    Namely, they will be of max_write_size at the beginning, but will
    get smaller when we are approaching the end of LEB.
    
    This is a preparation patch which introduces 'size' field in
    the write-buffer structure which carries the current write-buffer
    size.
    Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
    3c89f396
io.c 27.5 KB