Home
last modified time | relevance | path

Searched hist:"6 c7f74f7" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/ubifs/
H A Dio.c6c7f74f7 Sun Feb 06 06:45:26 CST 2011 Artem Bityutskiy <Artem.Bityutskiy@nokia.com> 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>
6c7f74f7 Sun Feb 06 06:45:26 CST 2011 Artem Bityutskiy <Artem.Bityutskiy@nokia.com> 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>