From: Artem Bityutskiy Date: Sun, 6 Feb 2011 12:45:26 +0000 (+0200) Subject: UBIFS: use max_write_size for write-buffers X-Git-Tag: v2.6.39-rc1~421^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c7f74f703cc4baf053270a6e78a32f832f03445;p=pandora-kernel.git 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 --- Reading git-diff-tree failed