commit | 3c89f396dc78671cfbc1eb20ef1d5be6a9a02780 | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Tue Feb 01 19:02:49 2011 +0200 |
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Tue Mar 08 10:12:49 2011 +0200 |
tree | 6ed2ba3d484f8b92eed00b619128a79ecd094f4d | |
parent | ca2ec61d157f23ec24aaa200f8016ea0a8aeb617 [diff] |
UBIFS: introduce write-buffer size field 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: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>