Skip to content
  • Artem Bityutskiy's avatar
    UBIFS: use max_write_size for write-buffers · 6c7f74f7
    Artem Bityutskiy authored
    
    
    Switch write-buffers from 'c->min_io_size' to 'c->max_write_size' which
    presumably has to be more write speed-efficient. However, when write-buffer
    is synchronized, write only the the min. I/O units which contain the
    data, do not write whole write-buffer. This is more space-efficient.
    
    Additionally, this patch takes into account that the LEB might not start
    from the max. write unit-aligned address.
    
    Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
    6c7f74f7