diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-02-01 19:02:49 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-03-08 10:12:49 +0200 |
commit | 3c89f396dc78671cfbc1eb20ef1d5be6a9a02780 (patch) | |
tree | 6ed2ba3d484f8b92eed00b619128a79ecd094f4d /fs/btrfs/zlib.c | |
parent | ca2ec61d157f23ec24aaa200f8016ea0a8aeb617 (diff) | |
download | linux-stable-3c89f396dc78671cfbc1eb20ef1d5be6a9a02780.tar.gz linux-stable-3c89f396dc78671cfbc1eb20ef1d5be6a9a02780.tar.bz2 linux-stable-3c89f396dc78671cfbc1eb20ef1d5be6a9a02780.zip |
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>
Diffstat (limited to 'fs/btrfs/zlib.c')
0 files changed, 0 insertions, 0 deletions