diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-02-06 13:45:26 +0100 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-03-08 09:12:49 +0100 |
commit | 6c7f74f703cc4baf053270a6e78a32f832f03445 (patch) | |
tree | 3674246ea035096e5ab7536e7c6fdad8899c6d3a /fs/ubifs/recovery.c | |
parent | UBIFS: introduce write-buffer size field (diff) | |
download | linux-6c7f74f703cc4baf053270a6e78a32f832f03445.tar.xz linux-6c7f74f703cc4baf053270a6e78a32f832f03445.zip |
UBIFS: use max_write_size for write-buffers
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: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/recovery.c')
0 files changed, 0 insertions, 0 deletions